[Webkit-unassigned] [Bug 245901] New: Shrink shorthandPropertyUsed and shorthandPropertyAppeared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 30 15:10:11 PDT 2022


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

            Bug ID: 245901
           Summary: Shrink shorthandPropertyUsed and
                    shorthandPropertyAppeared
           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
        Depends on: 238888

StyleProperties::asTextInternal uses these 2 bitsets of size numCSSProperties.
But as the name implies, they are only used for shorthand properties, which since bug 238888 are sorted together.
So the bitset size could actually be lastShorthandProperty - firstShorthandProperty + 1.
The change would be from 505 to 88 according to https://searchfox.org/wubkat/source/__GENERATED__/WebCore/DerivedSources/CSSPropertyNames.h#525,536-537


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=238888
[Bug 238888] [css-cascade] makeprop.pl could sort shorthands properties at the end, and ignore them during the cascade
-- 
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/20220930/a6e89851/attachment-0001.htm>


More information about the webkit-unassigned mailing list