Re: [csswg-drafts] [cssom] getComputedStyle for ::before::marker or ::after::marker (#4456)

Regarding these two options:
```js
getComputedStyle(elt, "::before::marker")
getComputedStyle(elt, "::before", "::marker")
```

My first concern for the second case is that it is bad for compatibility/progressive enhancement: existing browsers will silently ignore the final parameter & just return the `::before` styles, with no way to catch the difference.

However, now that I actually [test it](https://codepen.io/AmeliaBR/pen/ZEEJeWm), it seems like the results for unrecognized selector strings aren't actually useful for catching the difference, either! See discussion in #3980.

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

Received on Monday, 28 October 2019 16:59:27 UTC