- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Apr 2018 13:55:45 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `Adding a 'size' shorthand for 'width'/'height'`, and agreed to the following resolutions: * `RESOLVED: Add a note to the spec explaining this problem and move this issue to level 4` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: Adding a 'size' shorthand for 'width'/'height'<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/820<br> <dael> fantasai: Shorthands are nice. We have them for many things, but not combo of width and height.<br> <dael> fantasai: We hadn't added that because there's a size property like thing that the app page has tht does not behave anything like this shorthand would. That sets the size of the writing box.<br> <dael> fantasai: Options are do something wierd where size doesn't work for @page. Other option is some other word then size. "box-size" is the current issue in the suggestion.<br> <dael> fantasai: It would be for block-size and inline-size. min-box-size would be the other.<br> <dael> florian: Naming conflict is that bad?<br> <dael> fantasai: It's a descriptor but operating on a box that accepts other boxes. It'll be weird forever.<br> <dael> TabAtkins: Weird because page takes width and height and size should be a property there. Conflict itself is weird but especially in the exact case.<br> <dael> TabAtkins: box-sizing is close.<br> <dael> dbaron: box and block might be confused by some.<br> <tantek> indeed<br> <dael> Rossen: What is the motivation here?<br> <dael> TabAtkins: People want to set width and height together.<br> <dael> florian: When people want to says omething different they repeat themselves.<br> <dael> fantasai: It's likely you'll want both to a keyword like auto or 100% or contain.<br> <dael> TabAtkins: Equal sizing is reasonable.<br> <dael> Rossen: The short shorthand is always going to give you squares.<br> <dael> florian: If you do % it will not.<br> <dael> TabAtkins: Unless box-size 50% is same for height and width.<br> <dael> fantasai: If we didn't have a naming conflict this would be in the spec.<br> <dael> florian: I'd ignore the naming conflict and say you can't use it in @page rule<br> <dael> astearns: I don't like that because if you don't know anything about @page it's surprising.<br> <dael> astearns: Here I've found I have to use it and the styles I set up perfectly are no longer good.<br> <dael> florian: It's the code you wrote to size the page that would be weird.<br> <fantasai> @page { size: 8.5in 11in; }<br> <dael> rune_: Page doesn't match any elements?<br> <dael> florian: no<br> <fantasai> @page { size: letter; }<br> <dael> astearns: I'm thinking copying from another container.<br> <dael> emilio: I think having a shorthand for page rule isn't worth it.<br> <dael> plinss: First comment TabAtkins said is people have been asking for this and it would be mildly useful. I'm not sure mildy is worth it.<br> <dael> fantasai: I've had people bug me for this. Those people are not sitting here.<br> <astearns> s/plinss/astearns/<br> <emilio> s/a shorthand/a special-case for @page rule/ above<br> <dael> astearns: I'm not hearing consensus on using size or another name. I'm not hearing huge enthusiasm for solving this<br> <dael> astearns: Might be worth a note in the spec saying we've considered a shorthand and have not found enough motivation for dealing witht he problems and outline what the problems are.<br> <dael> astearns: Objections?<br> <dael> RESOLVED: Add a note to the spec explaining this problem and move this issue to level 4<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/820#issuecomment-380107181 using your GitHub account
Received on Tuesday, 10 April 2018 13:55:57 UTC