browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

css.properties.background-repeat-x/y - Safari 11.1 removed support

Open estelle opened this issue 1 month ago • 2 comments

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

According to BCD, background-repeat-x and background-repeat-y are both supported in Safari.

in my tests, i have it supported from 5 to 10.1, but no longer supported from 11.1 (didn't test all versions, but did test 11.1, 13.X and latest)

https://github.com/mdn/content/pull/42184

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

bcd being 100% accurate ;)

Did you test this? If so, how?

in dev tools in safari, i tried setting a background-repeat-x on an element, and the auto-complete stopped working at 11.1, and got a line through in the dev tools when set

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://github.com/mdn/content/pull/42184

Do you have anything more you want to share?

https://github.com/mdn/browser-compat-data/blob/main/css/properties/background-repeat-x.json https://github.com/mdn/browser-compat-data/blob/main/css/properties/background-repeat-y.json

MDN URL

No response

MDN metadata

No response

estelle avatar Dec 01 '25 13:12 estelle

This collector test is passing for me in Safari 6.2, 9.1, 10.1, 11.1., 12.1, 13.1, 14.1, but failing from 15.6 through 26. The explanation is this WebKit commit, which landed in WebKit 612.1.20 (before Safari 15). Apparently CSS.supports("background-repeat-x", "inherit") returned true, even though the property was only internal, and therefore not supported.

in dev tools in safari, i tried setting a background-repeat-x on an element, and the auto-complete stopped working at 11.1, and got a line through in the dev tools when set

@estelle Can you confirm whether setting background-repeat-x had an actual effect in Safari 5 to 10.1, beyond being auto-completed in DevTools?

caugner avatar Dec 02 '25 09:12 caugner

I used to do "BCD" before there was BCD, but I only tested up to Safari 3. (which was before the alleged support) https://web.archive.org/web/20210109022354/http://www.evotech.net/blog/2008/08/css-background-properties/ That took me back.

I took a look at spacejam.com in Safari 5 and 10.1, and a few in between, and tried to make the background repeate in only one direction. I was only able to do so using the longhand background-repeat property, not with either of the component longhands, so these two properties seem to have never worked.

estelle avatar Dec 04 '25 11:12 estelle