Skip to content

It is unclear why background-attachment: fixed is said to be incompatible with background-clip: text #26445

Closed
@Kaiido

Description

@Kaiido

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment

What specific section or headline is this issue about?

https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment#values

What information was incorrect, unhelpful, or incomplete?

The fixed section says

(This is not compatible with background-clip: text.)

However, by looking at the linked specs, there doesn't seem to be anything suggesting so. Even MDN's background-clip article doesn't mention this.

And when testing it seems that both Safari and Chrome do handle it correctly, but it's true that apparently Firefox is buggy here (we need to force a recalc when scrolling). But that sounds just like a Firefox bug, and not a true -by design- limitation of the API.

What did you expect to see?

Either a note in the compatibility table stating that Firefox has this bug, if it's indeed a known bug, and a link to the bugzilla issue, or a clear pointer to the specs that states that this combination is indeed not supposed to work, and in that case the same note in the background-clip article.

Do you have any supporting links, references, or citations?

I don't but that's kind of the point, I am requesting for such links, references, or citations to support the current claim.

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docshelp wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions