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

Regarding these two options:
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](, 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 using your GitHub account

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