WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
243562
Make '-webkit-background-size' a legacy shorthand
https://bugs.webkit.org/show_bug.cgi?id=243562
Summary
Make '-webkit-background-size' a legacy shorthand
Tim Nguyen (:ntim)
Reported
2022-08-04 15:24:15 PDT
This test checks that setting various properties to the same value as the user agent stylesheet does not change the appearance. We fail this check, potentially because our borderAndBackgroundEquals check does not cover enough properties.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-08-04 15:24:25 PDT
<
rdar://problem/98151497
>
Aditya Keerthi
Comment 2
2022-08-07 22:23:46 PDT
One of the issues is:
https://github.com/web-platform-tests/wpt/issues/35333
. The other issue is that the list of "fallback-props" in
https://github.com/web-platform-tests/wpt/blob/19d452e70a/css/css-ui/compute-kind-widget-no-fallback-props-001.html
, does not include `-webkit-background-size`, in addition to `background-size`, causing the `borderAndBackgroundEquals` check to fail, dropping native appearance. The test and the spec likely need to be updated.
Tim Nguyen (:ntim)
Comment 3
2022-08-08 21:37:41 PDT
(In reply to Aditya Keerthi from
comment #2
)
> The other issue is that the list of "fallback-props" in >
https://github.com/web-platform-tests/wpt/blob/19d452e70a/css/css-ui/compute
- > kind-widget-no-fallback-props-001.html, does not include > `-webkit-background-size`, in addition to `background-size`, causing the > `borderAndBackgroundEquals` check to fail, dropping native appearance.
The proper way to fix this would be making `-webkit-background-size` a legacy shorthand of `background-size` rather than implementing it as a related property. An example of this is
bug 104805
.
Tim Nguyen (:ntim)
Comment 4
2022-08-09 14:02:24 PDT
Comment hidden (obsolete)
WPT PR:
https://github.com/web-platform-tests/wpt/pull/35408
Aditya Keerthi
Comment 5
2022-08-12 17:24:23 PDT
I have a patch in progress to make `-webkit-background-size` a legacy shorthand. This actually makes appearance behave correctly, however, the test still fails. We will also need to fix the intrinsic margins issue (
https://bugs.webkit.org/show_bug.cgi?id=107380
) in order to get this test passing. I confirmed that with my background-size patch, and with Chris' patch in
https://bugs.webkit.org/show_bug.cgi?id=107380
, this test finally passes.
Aditya Keerthi
Comment 6
2022-08-16 13:26:25 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/3372
EWS
Comment 7
2022-09-27 11:16:29 PDT
Committed
254925@main
(856140e9a06f): <
https://commits.webkit.org/254925@main
> Reviewed commits have been landed. Closing PR #3372 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