Open Bug 1883979 Opened 1 year ago Updated 1 year ago

@property registrations should work from shadow dom

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 125
defect

Tracking

()

UNCONFIRMED

People

(Reporter: stearns, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0

Steps to reproduce:

There was a spec change to have @property registrations in shadow dom be globally registered:

https://drafts.css-houdini.org/css-properties-values-api-1/#shadow-dom

I have changed the one WPT test that covered this to match the updated spec:

https://github.com/web-platform-tests/wpt/blob/master/css/css-properties-values-api/at-property-shadow.html

https://issues.chromium.org/issues/40066407#comment1 has one example of the motivation behind the spec change. Emilio here said the change was sensible: https://github.com/web-platform-tests/interop/issues/212#issuecomment-1302427540

Actual results:

https://github.com/web-platform-tests/wpt/blob/master/css/css-properties-values-api/at-property-shadow.html fails in Firefox nightly 125.0a1 (the first assertion succeeds, because that is testing a property registration in light dom)

Expected results:

https://github.com/web-platform-tests/wpt/blob/master/css/css-properties-values-api/at-property-shadow.html should pass

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.