We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testcase
<style> :root { counter-reset: c 0; } :root::before { content: "[:root::before=" counter(c) "]"; } :root::after { content: "[:root::after=" counter(c) "]"; } input::before { content: "[input::before=" counter(c) "]"; } input::after { content: "[input::after=" counter(c) "]"; } input::file-selector-button { counter-increment: c 1; } </style> <input type="file">
Gecko:
:root::before
input::before
input::after
:root::after
Blink and WebKit:
So, should ::file-selector-button obey counter-increment as Gecko does? If so, this would presumably happen between input::before and input::after?
::file-selector-button
counter-increment
https://drafts.csswg.org/css-lists-3/#auto-numbering defines counter properties as applying to
all elements (includes ::before and ::after pseudo-elements)
This doesn't mention ::file-selector-button, but https://drafts.csswg.org/css-pseudo-4/#file-selector-button-pseudo says
There is no restriction on which properties apply to the ::file-selector-button pseudo-element.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Testcase
Gecko:
:root::before
input::before
andinput::after
do not generate boxes:root::after
Blink and WebKit:
:root::before
,input::before
,input::after
and:root::after
So, should
::file-selector-button
obeycounter-increment
as Gecko does?If so, this would presumably happen between
input::before
andinput::after
?https://drafts.csswg.org/css-lists-3/#auto-numbering defines counter properties as applying to
This doesn't mention
::file-selector-button
, but https://drafts.csswg.org/css-pseudo-4/#file-selector-button-pseudo saysThe text was updated successfully, but these errors were encountered: