browser-compat-data
browser-compat-data copied to clipboard
css.properties.white-space - No support in Chrome on SVG elements
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
white-space doesn't seem to work with chrome
What browsers does this problem apply to, if applicable?
No response
What did you expect to see?
line breaks
Did you test this? If so, how?
no line breaks visible
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#multiple_lines_in_svg_text_element:~:text=Result-,Play,-Specifications
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
MDN metadata
MDN page report details
- Query:
css.properties.white-space - Report started: 2025-06-17T07:41:51.241Z
Chrome and Safari don't support the white-space CSS property on SVG elements yet, as already covered by the BCD table.
But while we're here, we could probably add impl_urls in the following places:
- Chrome: bug 40362378 https://github.com/mdn/browser-compat-data/blob/a7a0e3754b87d53dd54458a056a67d350c5717b4/css/properties/white-space.json#L354-L356
- Safari: bug 293213 https://github.com/mdn/browser-compat-data/blob/a7a0e3754b87d53dd54458a056a67d350c5717b4/css/properties/white-space.json#L372-L374
@Danielmlubin Would you like to open a PR with these changes? 🙏