argyleink / open-props

CSS custom properties to help accelerate adaptive and consistent design.
https://open-props.style
MIT License
4.77k stars 192 forks source link

Add `field-sizing: content` to `<textarea>` in normalize.css #416

Open argyleink opened 1 year ago

AlexVCS commented 1 year ago

hi there, I was working on this but in looking it up can't find a css property called form-sizing. Is this a tool you're using that allows for this property? Or did you mean something else? Would love to know, thanks

argyleink commented 1 year ago

not a tool, just some CSS! here's the WG resolution and history https://github.com/w3c/csswg-drafts/issues/7542#issuecomment-1542505774

argyleink commented 1 year ago

here's a demo for preview of what I'm thinking of (use Canary with web experiments enabled): https://codepen.io/argyleink/pen/WNLzyJK

zcorpan commented 1 year ago

This seems premature to start using before it has shipped in browsers.

argyleink commented 11 months ago

new name field-sizing: content and intent to ship looking to ship in Chrome 122 https://github.com/w3ctag/design-reviews/issues/890

argyleink commented 11 months ago

add it to the select element too!