Bug 139029

Summary: background-size should not accept unitless lengths
Product: WebKit Reporter: Simon Pieters (:zcorpan) <zcorpan>
Component: CSSAssignee: Anne van Kesteren <annevk>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, benjamin, bfulgham, cdumez, gsnedders, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar, WPTImpact
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.