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.paint-order - Is not supported by Chrome for HTML text #19154

Closed
webstrand opened this issue Mar 16, 2023 · 2 comments · Fixed by #21426
Closed

css.properties.paint-order - Is not supported by Chrome for HTML text #19154

webstrand opened this issue Mar 16, 2023 · 2 comments · Fixed by #21426
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@webstrand
Copy link

What type of issue is this?

Browser bug (a bug with a feature that may impact site compatibility)

What information was incorrect, unhelpful, or incomplete?

Chrome does not fully support paint-order, it doesn't not apply to HTML text rendering.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet)

What did you expect to see?

A note that Chrome has a bug or is not fully compatible.

Did you test this? If so, how?

Go to https://codepen.io/webstrand/pen/WNgyjGG

In Firefox this renders the stroke behind the text as specified by paint-order.
In Chrome this renders the stroke in front of the text.

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

https://bugs.chromium.org/p/chromium/issues/detail?id=815111

Do you have anything more you want to share?

Rendered correctly in Firefox
Firefox
Rendered incorrectly in Chrome
Chrome

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/paint-order

MDN metadata

MDN page report details
  • Query: css.properties.paint-order
  • Report started: 2023-03-16T19:17:49.546Z
@webstrand
Copy link
Author

It does render correctly (for paint-order anyway) in Safari 16.0

@queengooborg queengooborg added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Mar 17, 2023
@kepstin
Copy link
Contributor

kepstin commented Dec 2, 2023

This looks like a duplicate of #17951

kepstin added a commit to kepstin/browser-compat-data that referenced this issue Dec 2, 2023
Browser support for CSS `paint-order` on HTML text differs between
browsers. This is because as originally specified, the property had a
restriction saying that it should only apply to SVG. That restriction
has since been removed, see w3c/fxtf-drafts#107

Support for `paint-order` on HTML text was included along with the
initial support for `paint-order` in Firefox 60, see
https://bugs.webkit.org/show_bug.cgi?id=168601

Support for `paint-order` on HTML text was added to WebKit in
WebKit/WebKit@73a116f
which was included in WebKit 604. According to browsers/safari.json,
this corresponds to Safari 11.

Support for `paint-order` on HTML text in Chromium is still pending:
https://bugs.chromium.org/p/chromium/issues/detail?id=815111

Fixes mdn#17951
Fixes mdn#19154
kepstin added a commit to kepstin/browser-compat-data that referenced this issue Dec 2, 2023
Browser support for CSS `paint-order` on HTML text differs between
browsers. This is because as originally specified, the property had a
restriction saying that it should only apply to SVG. That restriction
has since been removed, see w3c/fxtf-drafts#107

Support for `paint-order` on HTML text was included along with the
initial support for `paint-order` in Firefox 60, see
https://bugs.webkit.org/show_bug.cgi?id=168601

Support for `paint-order` on HTML text was added to WebKit in
WebKit/WebKit@73a116f
which was included in WebKit 604. According to browsers/safari.json,
this corresponds to Safari 11.

Support for `paint-order` on HTML text in Chromium is still pending:
https://bugs.chromium.org/p/chromium/issues/detail?id=815111

Fixes mdn#17951
Fixes mdn#19154
Elchi3 pushed a commit that referenced this issue Dec 8, 2023
…ty (#21426)

Browser support for CSS `paint-order` on HTML text differs between
browsers. This is because as originally specified, the property had a
restriction saying that it should only apply to SVG. That restriction
has since been removed, see w3c/fxtf-drafts#107

Support for `paint-order` on HTML text was included along with the
initial support for `paint-order` in Firefox 60, see
https://bugs.webkit.org/show_bug.cgi?id=168601

Support for `paint-order` on HTML text was added to WebKit in
WebKit/WebKit@73a116f
which was included in WebKit 604. According to browsers/safari.json,
this corresponds to Safari 11.

Support for `paint-order` on HTML text in Chromium is still pending:
https://bugs.chromium.org/p/chromium/issues/detail?id=815111

Fixes #17951
Fixes #19154
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

Successfully merging a pull request may close this issue.

3 participants