Re: [csswg-drafts] [css-ui] Unprefix 'appearance' and/or make the spec web-compatible

> In any case, per CSSOM you can't ask for computed style on pseudo-elements other than ::before and ::after.

Is that true?  I don't see anything in CSSOM that restricts the pseudo-element you can pass in to `getComputedStyle`, apart from disallowing `::slotted`.  And this example does expose the `-moz-appearance` value from the UA style sheet in Firefox:

```html
<!DOCTYPE html>
<meter id=m></meter>
<script>
document.write(getComputedStyle(m, "::-moz-meter-bar").MozAppearance);
</script>
```

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

Received on Monday, 29 October 2018 20:18:49 UTC