Bug 66270
Summary: | WebKit returns false positive when detecting 'space' and 'round' values for background-repeat | ||
---|---|---|---|
Product: | WebKit | Reporter: | Louis Lazaris <freelanceb> |
Component: | New Bugs | Assignee: | 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/ |
Louis Lazaris
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
fantasai
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.
Simon Fraser (smfr)
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.
Louis Lazaris
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.
Andrei Parvu
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.
Simon Fraser (smfr)
`space` and `round` are correctly supported now.