Bug 270586

Summary: @property registrations should work from shadow dom
Product: WebKit Reporter: Alan Stearns <stearns>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, emilio, koivisto, mike, nathan, rniwa, steveorvell, webkit-bug-importer, westbrook.johnson
Priority: P2 Keywords: InRadar, WPTImpact
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   
URL: http://wpt.live/css/css-properties-values-api/at-property-shadow.html
Bug Depends on:    
Bug Blocks: 148695    

Alan Stearns
Reported 2024-03-06 11:17:32 PST
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-03-07 22:00:49 PST
Emilio Cobos Álvarez (:emilio)
Comment 2 2024-03-15 04:03:56 PDT
See https://github.com/w3c/css-houdini-drafts/pull/1085, I think this probably needs more details about how it works.
Note You need to log in before you can comment on or make changes to this bug.