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.glyph-orientation-horizontal - missing #24052

Open
Josh-Cena opened this issue Aug 6, 2024 · 4 comments
Open

css.properties.glyph-orientation-horizontal - missing #24052

Josh-Cena opened this issue Aug 6, 2024 · 4 comments
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@Josh-Cena
Copy link
Member

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

glyph-orientation-vertical was added in #21052, but looks like the horizontal counterpart is missing.

Discovered while working on mdn/content#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

@queengooborg queengooborg added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Aug 6, 2024
@queengooborg
Copy link
Contributor

There's actually no "horizontal" counterpart, surprisingly enough! The spec says:

UAs must [...] treat as invalid the glyph-orientation-horizontal property in its entirety.

@queengooborg queengooborg closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2024
@Josh-Cena
Copy link
Member Author

Josh-Cena commented Sep 9, 2024

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.

@queengooborg
Copy link
Contributor

This is the spec I'm looking at: https://drafts.csswg.org/css-writing-modes-4/#glyph-orientation

@Josh-Cena
Copy link
Member Author

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?

@queengooborg queengooborg reopened this Sep 9, 2024
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

3 participants
@queengooborg @Josh-Cena and others