Bug 139029 - background-size should not accept unitless lengths
Summary: background-size should not accept unitless lengths
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anne van Kesteren
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2014-11-24 11:56 PST by Simon Pieters (:zcorpan)
Modified: 2023-04-12 10:19 PDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters (:zcorpan) 2014-11-24 11:56:22 PST
We should limit the hashless hex color and unitless length quirks to the set of properties listed in the quirks spec:

https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk
https://quirks.spec.whatwg.org/#the-unitless-length-quirk

Why: https://quirks.spec.whatwg.org/#goals

Gecko fixed this in 2012 https://bugzilla.mozilla.org/show_bug.cgi?id=774122
Comment 2 Radar WebKit Bug Importer 2022-07-14 15:50:18 PDT
<rdar://problem/97039770>
Comment 3 Ahmad Saleem 2022-10-02 00:45:30 PDT
Safari Technology Preview 154 is still failing one case:

http://wpt.live/quirks/unitless-length/excluded-properties-002.html

> Property background-size does not support quirky length
Comment 4 Anne van Kesteren 2023-04-12 00:25:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12644
Comment 5 EWS 2023-04-12 10:19:57 PDT
Committed 262873@main (0b6c4aa962f5): <https://commits.webkit.org/262873@main>

Reviewed commits have been landed. Closing PR #12644 and removing active labels.