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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 2 08:34:18 PDT 2022


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

            Bug ID: 239965
           Summary: CSS "size" should be a descriptor for @page, not a CSS
                    property
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: obrufau at igalia.com

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

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

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

-- 
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/20220502/ef1da758/attachment-0001.htm>


More information about the webkit-unassigned mailing list