Bug 66270 - WebKit returns false positive when detecting 'space' and 'round' values for background-repeat
Summary: WebKit returns false positive when detecting 'space' and 'round' values for b...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://jsbin.com/uzesun/3/
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 18:28 PDT by Louis Lazaris
Modified: 2022-08-14 20:55 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.