Bug 265368 - [css-scoping][css-nesting] Implement @scope nested inside style rule
Summary: [css-scoping][css-nesting] Implement @scope nested inside style rule
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 229520
  Show dependency treegraph
 
Reported: 2023-11-27 02:11 PST by Matthieu Dubet
Modified: 2024-01-30 04:09 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Dubet 2023-11-27 02:11:06 PST
Inside a style rule, the scope rule acts as the parent style rule.

https://drafts.csswg.org/css-nesting/#nesting-at-scope
Comment 1 Matthieu Dubet 2023-11-27 02:11:20 PST
rdar://103147385
Comment 2 Matthieu Dubet 2023-12-05 03:06:45 PST
Pull request: https://github.com/WebKit/WebKit/pull/21325
Comment 3 EWS 2023-12-06 13:59:12 PST
Committed 271632@main (ef4eef3a7abb): <https://commits.webkit.org/271632@main>

Reviewed commits have been landed. Closing PR #21325 and removing active labels.