Re: [csswg-drafts] [cssom] getComputedStyle only supports ::before/::after

Edge supports a broad range of them, and like Chrome we fallback to returning the style of the element if we are not able to return the pseudo element style. We are supposed to support -webkit-input-placeholder but I am not sure it's actually working in the end, this could be just a bug. 

I believe the advantage of returning a functioning style object when asked about a pseudo-element you don't support is that you don't crash, with a bit of chance the script will do just fine with slighly wrong values.

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

Received on Saturday, 20 January 2018 00:12:47 UTC