Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css.properties.box-shadow - Mismatch between implementations and the updated spec #18897

Open
yarusome opened this issue Feb 13, 2023 · 0 comments
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@yarusome
Copy link
Contributor

What type of issue is this?

Incorrect support data (ex. Chrome says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

The BCD show that all major browsers fully support box-shadow since ~2011, but the spec has updated the spread algorithm several times since 2014. Chrome aligns its implementation with the spec now, and there's perceivable difference between the new and the old algorithm, see e.g. this Chrome Bug.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

A new entry for box-shadow reflecting the support statuses for the new algorithm.

Did you test this? If so, how?

No response

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

The spec: https://w3c.github.io/csswg-drafts/css-backgrounds/
In particular, the spread algorithm: https://w3c.github.io/csswg-drafts/css-backgrounds/#shadow-shape
Chrome Bug: https://crbug.com/1322942

Do you have anything more you want to share?

There's an open issue in CSSWG about the status quo and further proposals of the spread algprithm: w3c/csswg-drafts#7103.

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow

MDN metadata

MDN page report details
  • Query: css.properties.box-shadow
  • Report started: 2023-02-13T02:19:45.591Z
@queengooborg queengooborg added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

No branches or pull requests

2 participants