[csswg-drafts] Pull Request: [css-ui] Disallow internal pseudo-elements and 'appearance' values

frivoal has just labeled a pull request from zcorpan for https://github.com/w3c/csswg-drafts as "css-ui-4":

== [css-ui] Disallow internal pseudo-elements and 'appearance' values ==
Pseudo-elements for internal parts of controls (e.g., `::-webkit-search-cancel-button`)
and related 'appearance' values (e.g., `searchfield-cancel-button`)
must not be exposed to author origin CSS or in `getComputedStyle()`.

If user agents find that they can't remove support for something,
the pseudo-element and the appearance value should both be specified.

Tests:
- 'appearance' values: already covered by css/css-ui/appearance-cssom-001.html
- pseudo-elements & getComputedStyle: https://github.com/web-platform-tests/wpt/pull/17008

Part of #3024.

---

cc @tkent-google @foolip @MatsPalmgren @emilio @jwatt

See https://github.com/w3c/csswg-drafts/pull/3968

Received on Sunday, 29 December 2019 15:01:31 UTC