browser-compat-data
browser-compat-data copied to clipboard
css.properties.glyph-orientation-horizontal - missing
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
glyph-orientation-vertical was added in https://github.com/mdn/browser-compat-data/pull/21052, but looks like the horizontal counterpart is missing.
Discovered while working on https://github.com/mdn/content/pull/35108.
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
css.properties.glyph-orientation-horizontal documented.
Did you test this? If so, how?
Run [...getComputedStyle(document.documentElement)].indexOf("glyph-orientation-horizontal") in Safari
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
No response
MDN metadata
No response
There's actually no "horizontal" counterpart, surprisingly enough! The spec says:
UAs must [...] treat as invalid the glyph-orientation-horizontal property in its entirety.
Which spec are you looking at @queengooborg? This is a deprecated SVG attribute that can be written in CSS. It's only supported by Safari.
This is the spec I'm looking at: https://drafts.csswg.org/css-writing-modes-4/#glyph-orientation
The spec says it should be invalid, but Safari obviously supports it to the full extent both based on the getComputedStyle test and from the table in https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/glyph-orientation-horizontal. In this case doesn't mean it's still a (possibly non-standard) part of the web?