standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

CSSPageRule to inherit from CSSGroupingRule

Open mstensho opened this issue 9 months ago • 4 comments

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?

mstensho avatar May 09 '24 10:05 mstensho

This seems fine. @mdubet thoughts?

annevk avatar May 13 '24 09:05 annevk

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

Ahmad-S792 avatar May 18 '24 01:05 Ahmad-S792

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 ?

mdubet avatar May 22 '24 23:05 mdubet

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

mstensho avatar May 23 '24 06:05 mstensho