Re: [csswg-drafts] [css-ui-4][css-sizing-3] Who defines box-sizing?

The Working Group just discussed `definition of box-sizing in css-sizing`, and agreed to the following resolutions:

* `RESOLVED: Add an issue and a fix for 2.1 to disambiguate width for inner and outer width.`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: definition of box-sizing in css-sizing<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/2458<br>
&lt;dael> florian: Had resolution to move the definition to css sizing<br>
&lt;dael> florian: There was a large re-write while it happened. I filed this to disagree with some of it.<br>
&lt;dael> fantasai: We want to add a normative reference to UI 3.  2.1 refers to width and height but doesn't say if it's inner. UI 3 has a diff written in English to figure out how it works. It's an awful bit of spec writing we shouldn't add.<br>
&lt;dael> fantasai: Proposal is add a normative reference from CSS Sizing to UI 3. Also maybe fold the edits into 2.1 so it's not necessary to have this.<br>
&lt;dael> florian: And this monkey patch once written is mostly obvious, but when unwritten it's not clear.<br>
&lt;dael> florian: For referring to the monkey patch sounds good.<br>
&lt;dael> florian: Other part I raised is that you defined normatively width to mean inner-width and we haven't checked all our specs.<br>
&lt;dael> fantasai: In 2.1 any instance where it's ambig it's the inner width<br>
&lt;tantek> tantek: and test cases revealed bugs in the definition as well that we had to fix in css-3-ui<br>
&lt;dael> florian: Sometimes it means the value of the property.<br>
&lt;dael> fantasai: In those cases it's the value minus borders and padding. THat enture monkey patch it's the inner width. The fundimental concept of 2.1 is it's inner width. There might be cases outside of CSS 2 where we were less careful, but those are bugs in the spec.<br>
&lt;dael> florian: What I was thinking about is in practce in practical speech they're unavoidable. I'd rather normatively define and anchor term that's non-ambig so if you run into width you don't have to wonder if they meant innor or forgot to be careful<br>
&lt;dael> tantek: Aslo dimensial width vs [missed] It's not just inner vs outer, but also the width as a property in cascade. There's multi levels of ambig going on.<br>
&lt;dael> florian: To solve that I'd like the inner to be an anchor term which you can link the in bikeshed.<br>
&lt;dael> dbaron: Are the places where we say width and mean inline size?<br>
&lt;dael> florian: That too. In enough cases it's ambig but obvious enough and in those cases we should fix.<br>
&lt;tantek> s/Aslo dimensial/Also dimensional<br>
&lt;tantek> s/vs [missed]/vs property width, computed, cascaded etc.<br>
&lt;dael> dbaron: I think the fact that there is a second thing we ought to audit for maybe we should not assume here.<br>
&lt;dael> fantasai: CSS L3 I haven't looke dat position, but the rest are careful to use block size.<br>
&lt;dael> dbaron: But non-layout.<br>
&lt;dael> fantasai: Any spec TabAtkins or I worked on is being careful. Anyone else editing might want to look.<br>
&lt;dael> tantek: I think we're not focusing on the issue. I think we should resolve this that CSS UI defines box sizing. And then the plan moving forward is separate.<br>
&lt;dael> fantasai: Box sizing moved tot he sizing module. florian opened asking for the monkey path to be copied into box sizing. I think it's better to nromaive reference CSS UI from Sizing. Box sizing should have been in the sizing spec so it was in CSS UI.<br>
&lt;dael> gsnedders: CSS UI 3 have a normative reference?<br>
&lt;dael> tantek: No. It's fine in CSS3 UI and it's because form element behave that way. For external specs I'm not sure why we're talking double direction here.<br>
&lt;tantek> s/form element/form elements<br>
&lt;dael> florian: Prop is keep the box sizing definition out of UI 4 and into Sizing with a reference to the monkey patch in sizing and refer to sizing where it has better sizing. Mostly defined in sizing and refer to the monkey patch to CSS UI 3<br>
&lt;dael> florian: To be able to apply the monkey patch to 2.1...the other thing you dropped from UI to sizing is that i normatively defined width and the like.<br>
&lt;dael> fantasai: Box sizing has the terms defined but in pieces. Inner is separate from min/max size. But the terms to exist in sizing. I didn't feel like duplicating your version.<br>
&lt;dael> florian: I felt you underfined them.<br>
&lt;dael> fantasai: Inner is defined in sizing. In CSS 2.1 the spec is written witht he understanding that width means inner-width. If you want to read it with the context of width existing you need to know that. MOnkey patch can be compressed to a sentence saying it's referring to ineer-width/height. All your changes were about that.<br>
&lt;dael> fantasai: I think we should resolve on having 2.1 so that the potentially ambig references to width are corrected so we don't need awk patch.<br>
&lt;dael> tantek: We need to open an issue. This issue is multi spec.<br>
&lt;dael> fantasai: That's fine.<br>
&lt;gsnedders> I am strongly in favour of fixing 2.1 here.<br>
&lt;dael> Rossen: Let's take resolution to 2.1<br>
&lt;tantek> s/open an issue/open an issue on 21<br>
&lt;tantek> s/21/2.1<br>
&lt;dael> florian: Can we normatively reference the monkey patch from sizing?<br>
&lt;dael> fantasai: Yes<br>
&lt;fantasai> s/width existing/box-sizing existing/<br>
&lt;dael> Rossen: We need to update CSS 2.1 by normatively pointing UI 3?<br>
&lt;dael> fantasai: 2.1 to be edited.<br>
&lt;dael> tantek: That's why I'm suggesting a separate new issue.<br>
&lt;dael> Rossen: What's the 2.1 fix?<br>
&lt;fantasai> https://www.w3.org/TR/css-ui-3/#box-sizing<br>
&lt;dael> tantek: In florian's long comment on 2458.  Errata CSS 2.1 bullet point.<br>
&lt;dael> florian: Trying to craft the wording isn't group. We should open the issue and until we fix 2.1<br>
&lt;dael> Rossen: Prop: Add an issue and a fix for 2.1 to disambiguate width for inner and outer width.<br>
&lt;dael> Rossen: Obj?<br>
&lt;dael> RESOLVED: Add an issue and a fix for 2.1 to disambiguate width for inner and outer width.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2458#issuecomment-380016780 using your GitHub account

Received on Tuesday, 10 April 2018 08:24:22 UTC