[Webkit-unassigned] [Bug 239965] CSS "size" should be a descriptor for @page, not a CSS property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 7 15:57:10 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239965

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gsnedders at apple.com

--- Comment #2 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
(In reply to Oriol Brufau from comment #0)
> https://drafts.csswg.org/css-page-3/#page-size-prop says that "size" is a
> property but it's clearly wrong, it's a descriptor, see
> https://github.com/w3c/csswg-drafts/issues/5969
> 
> Then,
> 
>     CSS.supports("size: initial");
>     // Expected: false
>     // Webkit: true
>     // Blink: true
>     // Gecko: false

Bug 217802 fixes this (as it's needed to avoid various asserts).

> 
>     [...getComputedStyle(document.documentElement)].includes("size");
>     // Expected: false
>     // Webkit: true
>     // Blink: false
>     // Gecko: false

This is a much broader issue, see https://github.com/w3c/csswg-drafts/issues/5649.

> Note "system" for @counter-style works well everywhere:
> https://drafts.csswg.org/css-counter-styles-3/#counter-style-system
> 
>     CSS.supports("system: initial"); // false
>     [...getComputedStyle(document.documentElement)].includes("system"); //
> false

Is that just because @counter-style is disabled by default? If you try "unicode-range" (of @font-face) you should see the same as with "size".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220707/31613d08/attachment.htm>


More information about the webkit-unassigned mailing list