Bug 66270

Summary: WebKit returns false positive when detecting 'space' and 'round' values for background-repeat
Product: WebKit Reporter: Louis Lazaris <freelanceb>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achicu, eoconnor, fantasai.bugs, mathias, morrita, parvu, paulirish, simon.fraser, syoichi, tabatkins
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://jsbin.com/uzesun/3/

Description Louis Lazaris 2011-08-15 18:28:58 PDT
It seems that no WebKit browser supports the values "space" and "round" for "background-repeat", yet when testing for these values using JavaScript, WebKit gives a false positive.

The URL (http://jsbin.com/uzesun/3/) is a test page using an extention to Modernizr to add support. Only Opera and IE9/10 should return 'true', but WebKit does as well. Safari 4 does not return true, so it seems that this is a problem in later versions of WebKit. Chrome 8 returns true, but I did not test in anything earlier than that.
Comment 1 fantasai 2011-08-16 08:58:53 PDT
This is a spec violation:
  http://www.w3.org/TR/CSS/#partial

Simon, can you inform the layout reviewers to check for this kind of issue when reviewing patches for CSS support, in general? This kind of bug creates a pretty serious forwards/backwards compatibility problem since it prevents the use of the forwards-compat parsing rules to give fallback.
Comment 2 Simon Fraser (smfr) 2011-08-16 09:56:57 PDT
This is work in progress via bug 27570. We can't guarantee that WebKit nighties won't be in this state, but a shipping browser should never be.
Comment 3 Louis Lazaris 2012-04-15 22:17:18 PDT
Is anyone dealing with this bug? Chrome 18.x and Canary (20.x) are still spitting out a false positive when these values are feature detected. This is a major roadblock to using this feature because it prevents Chrome from properly displaying a fallback or polyfill since it thinks it works.
Comment 4 Andrei Parvu 2013-09-24 02:08:34 PDT
The repeat round and space were fixed here: https://bugs.webkit.org/show_bug.cgi?id=119080 and here: https://bugs.webkit.org/show_bug.cgi?id=119324.
Comment 5 Simon Fraser (smfr) 2022-08-14 20:55:48 PDT
`space` and `round` are correctly supported now.