Comments (2)
Related issue: #10332, I think it would be worth figuring out how to also bring the extended <select>
stylability to appearance: none
at least.
I don't think it's possible to make all form control elements have an interoperable and stylable appearance:base mode before we ship anything because it could take decades to do this for each element.
I don't think appearance: base
is about enabling stylability. If seen that way, it could indeed take a long time until appearance: base
is shippable for all elements in a stable manner. The way I see it at least,appearance: base
is only about providing interoperable base styles to controls that authors can work from, not about enabling new pseudo-elements / markup to be used from form controls. This would be a lot faster to do for all controls at once.
This doesn't seem to support the appearance:base-select-excluding-picker use case.
I'm not sure I agree with the design of this, but either way, it's not impossible to support this in the future through a longhand property:
appearance-picker: auto/base
or something. I don't see this as preventing the use of the base
keyword directly.
from csswg-drafts.
Recall that the discussion in the joint meeting was that we could always add base
later, after we'd gotten all the current controls figured out, and just define that it behaves as the appropriate value depending on the element (or none
or auto
, if there's no more specific value).
That way we get:
- the forward-compatibility benefits immediately, without delaying at all
- an established structure for other variants, like what Anne mentioned for a select-without-picker mode
- an easy way to verify that a given element's base styling exists (by doing a supports query for the specific value)
This isn't new ground we're treading; we used essentially the same reasoning to settle on reading-order-items
having layout-specific keywords, rather than a generic one that could work on everything.
from csswg-drafts.
Related Issues (20)
- [anchor-position] CSS anchor position gap HOT 6
- [cssom-view] Proposal: Document.elementsFromRect()
- @media queries on mobile + zoom and media queries don't re-evaluate on zoom
- Feature: Display:Grid: grid-temp-col*: repeat+[set](autofill, min-column-width, max-column-width , bias-change, max-repeat) = repeat(auto-fill, 30rem, 40rem, min, 5)
- CSS Attribute presence and value selectors - Numerical Comparison <,>,<=,>=,== bitflagsOps + inspect width, height HOT 1
- CSS [parent-element]:nth-[attrib/class]-child[attrb+op+val](nth [BitflagOps] [value] ) Selectors for Display:Grid
- Viewport Meta - Property => Max-Element-Width: 800px or 40rem or width=device-width+inflation
- CSS: element property : device-overflow-inflation-width + device-overflow-inflated-width HOT 1
- Feature: @Container support zoom and re-evaluation of queries on mobile
- Feature: Display:Grid -> grid-[auto/section]-[flow/align]: row-reverse, column-reverse (Right to Left) languages + Grid: Relative Plus Modifier
- [selectors] Add selector match custom element
- [css-anchor-position] could anchor()'s side argument be optional?
- [css-anchor-position] Ability to provide multiple anchor-elements to try for position-anchor property and other anchor functions
- [css-anchor-position] Should scroll-margin/padding have an effect on position-visibility: anchors-visible? HOT 1
- [css-anchor-position] An ability to have a transition for `position-visibility`'s hidden effect HOT 1
- [css-anchor-position] The containing block should be allowed as an acceptable anchor element
- [css-color-5] Should intermediate out of range values be preserved in color-mix?
- [css-color-5] Missing forms to use to serialize color-mix and relative color
- [css-cascade-6] Enable `revert-layer` layer limiting and fallback values
- Position of the text-overflow ellipsis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.