Bug 183990

Summary: background-size should not accept negative values
Product: WebKit Reporter: Eric Willigers <ericwilligers>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, koivisto, macpherson, menard, sabouhallawa, sam, simon.fraser, twilco.o, webkit-bug-importer
Priority: P2 Keywords: FromImplementor, InRadar
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Eric Willigers 2018-03-24 21:15:09 PDT
WebKit (and Blink) currently accepts negative background-size.
https://jsfiddle.net/ericwilligers/2wzwt55t/

Spec: Negative values are not allowed.
https://drafts.csswg.org/css-backgrounds/#background-size
Comment 1 Radar WebKit Bug Importer 2018-03-27 14:39:55 PDT
<rdar://problem/38928257>
Comment 2 Eric Willigers 2018-08-03 22:12:46 PDT
Blink (like Edge and Firefox) now rejects negative background-size.
https://chromium-review.googlesource.com/c/chromium/src/+/989529
Comment 3 Tyler Wilcock 2020-11-01 10:08:37 PST
Created attachment 412863 [details]
Patch
Comment 4 EWS 2020-11-01 12:14:23 PST
Committed r269237: <https://trac.webkit.org/changeset/269237>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 412863 [details].