- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Jul 2020 15:33:07 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Change appearance: button to apply only to buttons`, and agreed to the following: * `RESOLVED: Limit 'appearance: button' to buttons once we figure out what buttons are` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: Change appearance: button to apply only to buttons<br> <Rossen_> github: https://github.com/w3c/csswg-drafts/issues/5174<br> <fantasai> florian: General principle that 'auto' does magic by tag, and 'none' turns of magic<br> <fantasai> florian: But we have some legacy stuff<br> <fantasai> florian: As specified, appearance: button makes things look like buttons<br> <fantasai> florian: even when not actually buttons<br> <fantasai> florian: We could reduce magic of button by only applying 'appearance: button' to buttons<br> <fantasai> florian: Mozilla was a bit skeptical<br> <tantek> q-<br> <emilio> scribenick: emiliop<br> <emilio> scribenick: emilio<br> <emilio> fantasai: I think this is one of the things that may be useful to do on things that are not buttons<br> <emilio> ... for visual reasons it may be useful. In a lot of cases they style it so that they look like their buttons, but if they weren't it would be useful<br> <iank_> q+<br> <emilio> ... I don't see a huge benefit from restricting this if we need to make it work for everything else so I'd lean towards not doing that<br> <fantasai> florian: Current definition allows to turn link into button ...<br> <emilio> florian: the current definition would allow you to turn stuff into buttons, but also weird cases where they should not<br> <emilio> q+<br> <tantek> not sure about the compat details, however I'm in favor of less magic here<br> <emilio> ack fantasai<br> <fantasai> florian: but do we reduce this to only compat necessity or do we let people make things into buttons when possible?<br> <Rossen_> ack iank_<br> <fantasai> iank_: I think part of the work with the simplifying making appearance sane was to limit the magic in scope<br> <fantasai> iank_: It seems like a bit of a reversal if we say, actually, we do want these to apply to everything<br> <fantasai> iank_: so prefer to restrict this down as much as possible<br> <Rossen_> ack emilio<br> <fantasai> emilio: If compat allows it, prefer to put less magic here<br> <fantasai> emilio: We have prefixed appearance, and hacky internal property to support 'appearance: button'<br> <emilio> s/prefixed/unprefixed, heycam|away implemented it<br> <fantasai> fantasai: wanted clarification...<br> <Rossen_> fantasai: are links explicitly called out? can they be used as btn?<br> <fantasai> florian: Current spec allows any element to look like a button<br> <fantasai> florian: Chrome says not many people use it, not even on links<br> <emilio> q+<br> <Rossen_> ack emilio<br> <fantasai> emilio: To be clear, magic of 'appearance: button' applies to everything except ? and ?<br> <emilio> input, textarea and non-listbox selects<br> <fantasai> iank_: I believe we've already shipped this in 80 which is quite a few releases ago<br> <fantasai> florian: by this you mean the simplification you proposed?<br> <fantasai> Rossen_: That means you're not breaking anyone who depends on this?<br> <fantasai> iank_: Got a few minor reports<br> <fantasai> iank_: no large-scale breakage<br> <fantasai> Rossen_: Based on data, we can live with scoping 'appearance: button' to buttons only, is this something we can resolve on?<br> <fantasai> Rossen_: Proposed resolution is scope 'appearance: button' to buttons only<br> <fantasai> Rossen_: Hearing no objections. Call it resolved. If there's issue wrt links, I'm sure we can re-oepn<br> <fantasai> smfr: Are we saying that 'appearance: button' only applies to the BUTTON element?<br> <fantasai> hober: <input type=button> ?<br> <fantasai> smfr: file input button?<br> <fantasai> florian: I guess it's BUTTON and <INPUT type=button><br> <tantek> and reset<br> <fantasai> smfr: <input type=submit> ?<br> <fantasai> florian: Chrome folks can you clarify?<br> <tantek> Blink folks, what was implemented? <button> <input type=button|submit|reset>?<br> <fantasai> RESOLVED: Limit 'appearance: button' to buttons once we figure out what buttons are<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5174#issuecomment-666462419 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 30 July 2020 15:33:09 UTC