- From: Mateusz Franik via GitHub <sysbot+gh@w3.org>
- Date: Sun, 06 Aug 2023 17:04:09 +0000
- To: public-css-archive@w3.org
Im-Beast has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-ui] appearance-disabling-properties should contain pseudoelements ==
Spec should include pseudoelements (`::before` and `::after`) as properties that disable native appearance.
Current behaviour is not coherent:
- Chrome/Chromium already does that
- Webkit does too
- Firefox however doesn't, it requires `appearance: none;` to be set to allow pseudoelements to exist.
Sample code:
```html
<html>
<head>
<style>
.style-me::before {
content: "Hello";
}
</style>
</head>
<body>
<input type="checkbox" class="style-me" />
</body>
</html>
```
Result:
Left – Chromium 115.0.5790.110
Center – Epiphany 44.2
Right - Firefox 115.0.2

Expected result:
Firefox has pseudoelement with content `"Hello"`.
Spec section:
https://drafts.csswg.org/css-ui-4/#appearance-disabling-properties
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9168 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 6 August 2023 17:04:10 UTC