WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
266399
[css-scoping] Implement implicit scoping root when no <scope-start>
https://bugs.webkit.org/show_bug.cgi?id=266399
Summary
[css-scoping] Implement implicit scoping root when no <scope-start>
Matthieu Dubet
Reported
2023-12-14 03:41:48 PST
When the @scope rule doesn't have a <scope-start> prelude, the declaration node is the scoping root. We should implement this. "For each element matched by <scope-start>, create a scope using that element as the scoping root. If no <scope-start> is specified, the scoping root is the parent element of the owner node of the stylesheet where the @scope rule is defined. (If no such element exists, then the scoping root is the root of the containing node tree.)"
https://drafts.csswg.org/css-cascade-6/#scope-limits
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-12-14 03:42:02 PST
<
rdar://problem/119659940
>
Matthieu Dubet
Comment 2
2023-12-15 08:59:08 PST
Pull request:
https://github.com/WebKit/WebKit/pull/21868
EWS
Comment 3
2023-12-20 16:34:05 PST
Committed
272390@main
(cee867893141): <
https://commits.webkit.org/272390@main
> Reviewed commits have been landed. Closing PR #21868 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug