W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Sun, 29 Dec 2019 15:01:30 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.labeled-282174424-None-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:06 UTC