You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.
Currently, this ignores CSS rules due to the cost of computing styles. I think I can use getComputedStyle or the inline style and inspect emphasis-related properties. Also, if I use getComputed then maybe that takes into account the attribute values and element types so maybe the logic all becomes much simpler (e.g. a bold element means that text-weight inits to strong so there is no need to check against b/strong, just against the text-weight).
The text was updated successfully, but these errors were encountered:
Currently, this ignores CSS rules due to the cost of computing styles. I think I can use getComputedStyle or the inline style and inspect emphasis-related properties. Also, if I use getComputed then maybe that takes into account the attribute values and element types so maybe the logic all becomes much simpler (e.g. a bold element means that text-weight inits to strong so there is no need to check against b/strong, just against the text-weight).
The text was updated successfully, but these errors were encountered: