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

The xml:space attribute #2219

Open
Llbe opened this issue Jan 19, 2016 · 2 comments
Open

The xml:space attribute #2219

Llbe opened this issue Jan 19, 2016 · 2 comments

Comments

@Llbe
Copy link

Llbe commented Jan 19, 2016

This simple attribute can be used to preserve spaces in SVG text. It's supported by Chrome, Firefox, Safari 5.1+, Android Browser, Opera but not IE and not Edge (yet).

More info: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xml:space

Demo: https://jsfiddle.net/0330e0x2/1/

@Llbe
Copy link
Author

Llbe commented Jan 19, 2016

@GPHemsley
Copy link

Looks like this is now covered by MDN data:
https://caniuse.com/mdn-svg_attributes_core_xml_space

(via mdn/browser-compat-data#1623)

Though the attribute is marked as deprecated and the data doesn't match OP's claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants