-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
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
Define rendering rules for all widgets in their native appearance and primitive appearance + pseudo-elements #7050
Labels
Comments
4 tasks
zcorpan
added a commit
to bocoup/html
that referenced
this issue
Nov 19, 2021
Also: - Add appearance to the UA stylesheet - Document remaining issues (issue whatwg#7050) - Hook into CSS UI's 'native appearance' term
zcorpan
added a commit
to bocoup/html
that referenced
this issue
Mar 30, 2022
Also: - Add appearance to the UA stylesheet - Document remaining issues (issue whatwg#7050) - Hook into CSS UI's 'native appearance' term
zcorpan
changed the title
Define rendering rules for button, input, meter, progress for all possible "kinds of widgets"
Define rendering rules for all widgets in their native appearance and primitive appearance + pseudo-elements
May 18, 2022
This issue corresponds to the inline issues in the spec's rendering section saying
or
|
Filed an issue for the Selectors spec to consider adding a pseudo-class for |
zcorpan
added a commit
to web-platform-tests/wpt
that referenced
this issue
Sep 6, 2022
This was referenced Sep 6, 2022
zcorpan
added a commit
to web-platform-tests/wpt
that referenced
this issue
Oct 4, 2022
Tentative tests for the currently specified UA stylesheet for `select` as a listbox. See whatwg/html#7050
zcorpan
added a commit
to web-platform-tests/wpt
that referenced
this issue
Oct 4, 2022
Test various values of the size attribute and the expected rendering matching either a listbox or a drop-down. Also test different values for 'appearance': auto, none, menulist-button. See whatwg/html#7050
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Oct 21, 2022
…ltiple>, a=testonly Automatic update from web-platform-tests HTML: test default styles for <select multiple> Tentative tests for the currently specified UA stylesheet for `select` as a listbox. See whatwg/html#7050 -- wpt-commits: 1e9fdfb70943c03b7bbb3ceeac7e2a50471b88e4 wpt-pr: 35801
jamienicol
pushed a commit
to jamienicol/gecko
that referenced
this issue
Oct 26, 2022
…ltiple>, a=testonly Automatic update from web-platform-tests HTML: test default styles for <select multiple> Tentative tests for the currently specified UA stylesheet for `select` as a listbox. See whatwg/html#7050 -- wpt-commits: 1e9fdfb70943c03b7bbb3ceeac7e2a50471b88e4 wpt-pr: 35801
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow-up from #7839.
Define the expected rendering for the native appearance and the primitive appearance for:
button
,input type=button/reset/submit
input type=text/tel/url/email/search/password
+ pseudo-elementsinput type=date/month/week/time/datetime-local
+ pseudo-elementsinput type=number
+ pseudo-elementsinput type=range
+ pseudo-elementsinput type=color
+ pseudo-elementsinput type=checkbox/radio
+ pseudo-elementsinput type=file
+ pseudo-elementsmeter
+ pseudo-elementsprogress
+ pseudo-elementsselect
as a listbox +optgroup
+option
<select>
being a drop-down box vs a list box w3c/csswg-drafts#7422select
as a drop-down box + pseudo-elementstextarea
Also, define the expected rendering for:
select
as a drop-down box in the devolved state orappearance: menulist-button
I think various pseudo-elements that browsers support are necessary to specify the native appearance, but right now only a few are standardized.
The relevant pseudo-classes and pseudo-elements I see in Chromium's html.css are:
(Are
::webkit-media-slider-container
and::webkit-media-slider-thumb
used in the<video controls>
shadow tree?)The
::-internal-*
ones are not exposed to author CSS and so don't need to be standardized (but expected rendering can still be defined in prose). I think all of the others can be used by web developers.Gecko's forms.css:
::file-selector-button
and::placeholder
are defined in https://drafts.csswg.org/css-pseudo/:placeholder-shown
and:autofill
are defined in HTML.Gecko also has a
-moz-default-appearance
property, but I believe it's not exposed to author CSS.(Open issues for css-pseudo: https://github.com/w3c/csswg-drafts/issues?q=is%3Aopen+label%3Acss-pseudo-4%2Ccss-pseudo-5 )
cc @whatwg/css @whatwg/forms
The text was updated successfully, but these errors were encountered: