WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
240 stars 18 forks source link

CSSPageRule to inherit from CSSGroupingRule #346

Open mstensho opened 1 month ago

mstensho commented 1 month ago

WebKittens

No response

Title of the spec

CSSOM: CSSPageRule to inherit from CSSGroupingRule

URL to the spec

https://www.w3.org/TR/cssom-1/#the-csspagerule-interface

URL to the spec's repository

No response

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

No response

WebKit Bugzilla URL

No response

Radar URL

No response

Description

This is what the spec says. CSSPageRule should inherit from CSSGroupingRule, not directly from CSSRule - in order to support CSSMarginRule children. Mozilla is about to ship this change: https://bugzilla.mozilla.org/show_bug.cgi?id=1868215 We want to do this in Chromum: https://groups.google.com/a/chromium.org/g/blink-dev/c/GcVSUIG9BGk

How about WebKit?

annevk commented 1 month ago

This seems fine. @mdubet thoughts?

Ahmad-S792 commented 1 month ago

WebKit bug - https://bugs.webkit.org/show_bug.cgi?id=216940

mdubet commented 1 month ago

Seems reasonable. Note that this will be the first example of a class inheritingCSSGroupingRule which doesn't accept a style rule as a child it seems ?

mstensho commented 1 month ago

Matthieu Dubet @.***> writes:

Seems reasonable. Note that this will be the first example of a class inheritingCSSGroupingRule which doesn't accept a style rule as a child it seems ?

Yes, seems correct.

-- Morten Stenshorne, Software developer, Blink/Layout, Google, Oslo, Norway