mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Test that slotted elements correctly inherit styles from their assigned slot in various scenarios: inline styles, CSS rules, named slots, nested shadow hosts, own style overrides, deep inheritance chains, dynamic slot reassignment, JS-created shadow DOM, class toggles on slots, and moving elements between hosts.
24 lines
493 B
Plaintext
24 lines
493 B
Plaintext
1: rgb(255, 0, 0)
|
|
2: rgb(0, 128, 0)
|
|
3a: rgb(255, 0, 0)
|
|
3b: rgb(0, 0, 255)
|
|
4: rgb(255, 0, 0)
|
|
5: rgb(0, 0, 255)
|
|
6-color: rgb(0, 128, 0)
|
|
6-font: italic
|
|
7-before: rgb(0, 0, 0)
|
|
7-after: rgb(255, 0, 0)
|
|
8a: rgb(0, 128, 0)
|
|
8b: rgb(0, 128, 0)
|
|
8c: rgb(0, 128, 0)
|
|
9-before: rgb(0, 0, 0)
|
|
9-slot: rgb(0, 0, 0)
|
|
9-after: rgb(0, 0, 0)
|
|
10-before: rgb(0, 0, 0)
|
|
10-after: rgb(0, 128, 0)
|
|
11-before: rgb(0, 0, 0)
|
|
11-after: rgb(0, 128, 0)
|
|
11-removed: rgb(0, 0, 0)
|
|
12-before: rgb(255, 0, 0)
|
|
12-after: rgb(0, 0, 255)
|