Re: [csswg-drafts] [cssom] getComputedStyle and/or computedStyleMap to return authored value (#10002)

> `getSpecifiedStyle(Element elt, optional CSSOMString? pseudoElt)`

Would (or should) this also encompass pseudo states? I could imagine wanting to know the specified styles for hover and there's no way to trigger that state that I'm aware of. Focus, valid, invalid, disabled and most other states could be triggered programmatically but that might not be desired, since that would involve a change to the DOM.

-- 
GitHub Notification of comment by NickGard
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10002#issuecomment-1965350836 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 26 February 2024 21:45:33 UTC