[csswg-drafts] [css-ui] appearance-disabling-properties should contain pseudoelements (#9168)

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
![image](https://github.com/w3c/csswg-drafts/assets/47059999/b012e27a-98e4-44d7-a02c-075490d9af75)

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