[Webkit-unassigned] [Bug 240341] New: Turns legacy properties that share a computed style into aliases or shorthands

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 06:23:22 PDT 2022


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

            Bug ID: 240341
           Summary: Turns legacy properties that share a computed style
                    into aliases or shorthands
           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

Currently, there are 8 pairs of properties that share a computed style:

 * background-clip, -webkit-background-clip
 * background-origin, -webkit-background-origin
 * background-size, -webkit-background-size
 * box-shadow, -webkit-box-shadow
 * mask-clip, -webkit-mask-clip
 * mask-composite, -webkit-mask-composite
 * mask-mode, -webkit-mask-source-type
 * text-combine-upright, -webkit-text-combine

This is a non-standard hack. CSS Cascade defines 2 standard ways: https://www.w3.org/TR/css-cascade-5/#aliasing
 * legacy name aliases, for properties with the same exact syntax
 * legacy shorthands, for properties with different syntax

So the -webkit- properties above should be turned into aliases or shorthands.

The current hack is more likely to break things, e.g. revert-layer was broken before bug 238125, and CSSOM is still broken (bug 238874).

-- 
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/20220512/ffea766f/attachment.htm>


More information about the webkit-unassigned mailing list