WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
245901
Shrink shorthandPropertyUsed and shorthandPropertyAppeared
https://bugs.webkit.org/show_bug.cgi?id=245901
Summary
Shrink shorthandPropertyUsed and shorthandPropertyAppeared
Oriol Brufau
Reported
2022-09-30 15:10:11 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Oriol Brufau
Comment 1
2022-09-30 15:23:24 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/4882
EWS
Comment 2
2022-10-01 08:22:40 PDT
Committed
255059@main
(6f687d430ca3): <
https://commits.webkit.org/255059@main
> Reviewed commits have been landed. Closing PR #4882 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2022-10-01 08:23:17 PDT
<
rdar://problem/100655929
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug