-
Notifications
You must be signed in to change notification settings - Fork 3
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
direction CSS property usage #38
Comments
I don’t think this is feasible to do without custom metrics since we don’t have access to the DOM and it would be too expensive to parse the HTML via |
@catalinred Do you think we should still pursue this by measuring |
If we can measure both ‘dir’ attr from the markup and ‘direction’ property from the CSS, and depending of the resulted numbers, then we could draw some interesting conclusions here. But if this is too cumbersome and expensive, sure, we can skip it :) |
@Tiggerito added a |
So we just measure usage of each dir value? |
Here's an example of the output for dirs:
So you can report on the values people use for the html dir attribute as well as how often it gets used within the body. |
One complication is that we don't really know what CSS selectors match. We can guess in certain cases (e.g.
Thoughts? |
I'd say this breakdown can be helpful. |
I'm interested to find out how many devs use a different
direction
in CSS compared to thedir
attribute from the markup?My guess is that the CSS
direction
property is often used for UX things like star rating or similar and has nothing to do with the actual direction of the text in the document.The text was updated successfully, but these errors were encountered: