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 190753
'all' shorthand not serialized in cssText
https://bugs.webkit.org/show_bug.cgi?id=190753
Summary
'all' shorthand not serialized in cssText
Oriol Brufau
Reported
2018-10-19 09:12:52 PDT
Run this code: document.body.style.cssText = "all: inherit"; document.body.style.cssText; Expected result: "all: inherit;" Actual result: "color: inherit; display: inherit; font-family: inherit; font-feature-settings: inherit; ..... Specifications:
https://drafts.csswg.org/cssom/#serialize-a-css-declaration-block
https://drafts.csswg.org/css-cascade/#all-shorthand
Works in Firefox and Chromium. This would be fixed by
bug 190496
.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-07-27 04:03:22 PDT
I am able to reproduce this bug in Safari 15.6 on macOS 12.5 and all other browsers (Chrome Canary 106 and Firefox Nightly 105) show expected output from
Comment 0
. While Safari show "Actual Result" from
Comment 0
. Just wanted to update latest results. Thanks!
Radar WebKit Bug Importer
Comment 2
2022-07-27 17:59:12 PDT
<
rdar://problem/97694235
>
Oriol Brufau
Comment 3
2022-10-03 09:38:55 PDT
I no longer think this needs
bug 190496
. Probably it's just a matter of adding CSSPropertyAll into the 'shorthands' vector in StyleProperties::asTextInternal.
https://searchfox.org/wubkat/rev/e8e9be7353991aee7df45aa62f0e0148f16e6f9f/Source/WebCore/css/StyleProperties.cpp#1616
Oriol Brufau
Comment 4
2022-10-05 07:38:28 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/5029
EWS
Comment 5
2022-10-09 14:15:57 PDT
Committed
255329@main
(4481e38af645): <
https://commits.webkit.org/255329@main
> Reviewed commits have been landed. Closing PR #5029 and removing active labels.
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