fune/testing/web-platform/tests/css/css-scoping
Emilio Cobos Álvarez bbda2f1225 Bug 1484690 - Move the enabled state to the sheet instead of sharing it. r=heycam
We share the inner object across sheets from the same URL, so what happens here
is that, once the sheet parses and loads, we call SetEnabled() on the first
sheet, which sets the inner bit, then calls ApplicableStateChanged.

That set actually turned the second sheet complete, so when inserting the sheet,
we think that the second sheet is already enabled, and thus in the author data,
and try to insert before it. Of course there's nothing there, so we panic.

We rely on calling SetEnabled() on all the sheets already to insert them in the
styleset / author data, so this makes it clearer and fixes the bug by moving the
state to each individual sheet.

Differential Revision: https://phabricator.services.mozilla.com/D3798

--HG--
extra : moz-landing-system : lando
2018-08-21 08:55:10 +00:00
..
reference
resources
css-scoping-shadow-assigned-node-with-before-after.html
css-scoping-shadow-assigned-node-with-rules.html
css-scoping-shadow-host-functional-rule.html
css-scoping-shadow-host-namespace.html
css-scoping-shadow-host-rule.html
css-scoping-shadow-host-with-before-after.html
css-scoping-shadow-invisible-slot.html
css-scoping-shadow-nested-slot-display-override.html
css-scoping-shadow-root-hides-children.html
css-scoping-shadow-slot-display-override.html
css-scoping-shadow-slot-fallback.html
css-scoping-shadow-slot-style.html
css-scoping-shadow-slot.html
css-scoping-shadow-slotted-nested.html
css-scoping-shadow-slotted-rule.html
css-scoping-shadow-with-outside-rules.html
css-scoping-shadow-with-rules-no-style-leak.html
css-scoping-shadow-with-rules.html
host-descendant-001.html
host-descendant-002.html
host-descendant-invalidation.html
host-dom-001.html
host-functional-descendant-invalidation.html
host-multiple-001.html
host-nested-001.html
host-slotted-001.html
host-specificity-002.html Bug 1454165 - Make :host() and ::slotted() account for the inner selector's specificity. r=xidorn 2018-06-28 10:58:06 +00:00
host-specificity.html Bug 1454165 - Make :host() and ::slotted() account for the inner selector's specificity. r=xidorn 2018-06-28 10:58:06 +00:00
keyframes-001.html
keyframes-002.html
META.yml Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
shadow-assign-dynamic-001.html
shadow-at-import.html
shadow-cascade-order-001.html
shadow-directionality-001.tentative.html Bug 1469108: Propagate directionality to the shadow tree. r=smaug 2018-06-18 18:26:23 +02:00
shadow-directionality-002.tentative.html Bug 1469108: Propagate directionality to the shadow tree. r=smaug 2018-06-18 18:26:23 +02:00
shadow-disabled-sheet-001.html
shadow-fallback-dynamic-001.html
shadow-fallback-dynamic-002.html
shadow-fallback-dynamic-003.html
shadow-fallback-dynamic-004.html
shadow-fallback-dynamic-005.html
shadow-host-with-before-after.html
shadow-link-rel-stylesheet-no-style-leak.html Bug 1410578: Make <link rel="stylesheet"> work in shadow trees. r=heycam 2018-06-22 04:15:56 +02:00
shadow-link-rel-stylesheet.html Bug 1410578: Make <link rel="stylesheet"> work in shadow trees. r=heycam 2018-06-22 04:15:56 +02:00
shadow-multiple-links.html Bug 1484690 - Move the enabled state to the sheet instead of sharing it. r=heycam 2018-08-21 08:55:10 +00:00
shadow-reassign-dynamic-001.html
shadow-reassign-dynamic-002.html Bug 1465572: Changing the slot name should properly invalidate layout. r=smaug 2018-06-02 09:17:17 +02:00
shadow-root-insert-into-document.html
slot-non-html-display-value.html Bug 1468127: Move slot UA rule to html.css. r=xidorn 2018-06-11 03:26:57 +02:00
slotted-invalidation.html
slotted-link.html
slotted-parsing.html
slotted-slot.html
slotted-specificity.html Bug 1454165 - Make :host() and ::slotted() account for the inner selector's specificity. r=xidorn 2018-06-28 10:58:06 +00:00
slotted-with-pseudo-element-ref.html
slotted-with-pseudo-element.html
stylesheet-title-001.html
stylesheet-title-002.html
whitespace-crash-001.html Bug 1465572: Ensure <slot> disables whitespace optimizations. r=bz 2018-06-02 09:35:19 +02:00