WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 247688
Automatically get shorthands in StyleProperties::asTextInternal()
https://bugs.webkit.org/show_bug.cgi?id=247688
Summary
Automatically get shorthands in StyleProperties::asTextInternal()
Oriol Brufau
Reported
2022-11-09 11:21:37 PST
StyleProperties::asTextInternal() tries to serialize declarations using shorthands when possible. The list of shorthand candidates for each longhand is written manually. This is a big and fragile bunch of code that's missing various shorthands. Other shorthands are only mapped to some of their longhands but not others, causing bugs. It would be better to use matchingShorthandsForLonghand() to find the list of shorthand candidates automatically.
Attachments
Add attachment
proposed patch, testcase, etc.
Oriol Brufau
Comment 1
2022-11-09 11:28:42 PST
Pull request:
https://github.com/WebKit/WebKit/pull/6307
EWS
Comment 2
2022-11-09 17:21:55 PST
Committed
256511@main
(07aea4888889): <
https://commits.webkit.org/256511@main
> Reviewed commits have been landed. Closing PR #6307 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2022-11-09 17:22:19 PST
<
rdar://problem/102169019
>
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