OLD | NEW |
(Empty) | |
| 1 Test having a <style scoped> element as a direct child of a ShadowRoot. |
| 2 |
| 3 --- Initial --- |
| 4 PASS internals.numberOfScopedHTMLStyleChildren(host) is 0 |
| 5 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 0 |
| 6 --- Attaching <style scoped> --- |
| 7 PASS internals.numberOfScopedHTMLStyleChildren(host) is 0 |
| 8 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 1 |
| 9 --- Removing host --- |
| 10 PASS internals.numberOfScopedHTMLStyleChildren(host) is 0 |
| 11 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 0 |
| 12 --- Inserting host --- |
| 13 PASS internals.numberOfScopedHTMLStyleChildren(host) is 0 |
| 14 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 1 |
| 15 --- Unsetting @scoped --- |
| 16 PASS internals.numberOfScopedHTMLStyleChildren(host) is 0 |
| 17 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 1 |
| 18 --- Setting @scoped --- |
| 19 PASS internals.numberOfScopedHTMLStyleChildren(host) is 0 |
| 20 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 1 |
| 21 --- Detaching <style scoped> --- |
| 22 PASS internals.numberOfScopedHTMLStyleChildren(host) is 0 |
| 23 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 0 |
| 24 --- Attaching <style scoped> under host --- |
| 25 PASS internals.numberOfScopedHTMLStyleChildren(host) is 1 |
| 26 PASS internals.numberOfScopedHTMLStyleChildren(sr) is 0 |
| 27 --- DONE --- |
| 28 PASS successfullyParsed is true |
| 29 |
| 30 TEST COMPLETE |
| 31 |
OLD | NEW |