Re: [csswg-drafts] [css-sizing-3] border-collapse: padding-box (#7770)

The CSS Working Group just discussed `[css-sizing-3] border-collapse: padding-box`, and agreed to the following:

* `RESOLVED: Add a control for making padding size include border-width (and scrollbar width); ask for feedback on its relationship to box-sizing`

<details><summary>The full IRC log of that discussion</summary>
&lt;jarhar> fantasai: this was a suggestion from a designer develoepr to be able to use simplify the amoutn that they have to track for sizing padding because frequenstly they want to have a constant amoutn for th epadding plus border and then be ???<br>
&lt;TabAtkins> Growing the border on hover without causing layout jitter, etc, is the use-case<br>
&lt;jarhar> fantasai: so the question is then do we want to have the ability to say that box sizing has the ability to say it includes the width of the padding and the borders to have the padding amount be both the padding and the border<br>
&lt;florian> q+<br>
&lt;jarhar> fantasai: two questions are do we want to add this feature where the number that the author specifies for the padding is the padding and the border, and the seconde question is do wwe want to do that by adding a keyword to box sizing or creating a new property<br>
&lt;iank_> q+<br>
&lt;miriam> ack florian<br>
&lt;jarhar> florian: third question is if we do that and the author specifies a border bigger than the padding, then what?<br>
&lt;jarhar> fantasai: then you take the max<br>
&lt;jarhar> TabAtkins: outside the use case, so do the obvious thing<br>
&lt;miriam> ack iank_<br>
&lt;jarhar> iank_: i think this is fine. the only question is how do scrollbars interact with this property and because they ? between the padding and the border, i agree that this should be in proper sizing<br>
&lt;emilio> q+<br>
&lt;fantasai> s/proper sizing/box-sizing/<br>
&lt;emilio> q- (fantasai had of course answered my question)<br>
&lt;emilio> q-<br>
&lt;miriam> ack dbaron<br>
&lt;jarhar> dbaron: i was gonna ask we probably do need to say no it interacts with the border collapse property but it sa proeprty where the interaction is messy, maybe if you use border collapse tables then you can tuse this feature<br>
&lt;lea> q?<br>
&lt;jarhar> iank_: you cant use box sizing in both<br>
&lt;jarhar> fantasai: dont we just not even ? the border when ?<br>
&lt;jarhar> iank_: no we do<br>
&lt;jarhar> dbaron: they still have padding<br>
&lt;florian> q+<br>
&lt;jarhar> iank_: i dont know that box sizing ...<br>
&lt;jarhar> dbaron: im also in the camp of ? reusing box sizing but making this distinct<br>
&lt;miriam> ack florian<br>
&lt;dbaron> s/? reusing/not reusing/<br>
&lt;jarhar> florian: for the scrollbar gugtter part of the problem ? if tyour padding is not enough to cinlude then you just increase the whole thing<br>
&lt;jarhar> fantasai: thats probably what people would expect<br>
&lt;dbaron> s/can tuse/can't use/<br>
&lt;jarhar> miriam: is there syntax here? are we resolving to do this then take it back to the issue for<br>
&lt;jarhar> fantasai: its a certain amount of bikeshedding. we need more clarity from usecases should this be a keyword as part of box sizing a separate property or should we split box sizing into two longhands, box sizing size and box sizing padding or something<br>
&lt;jarhar> florian: yeah we need more info about use cases which things need to cascade separately or not<br>
&lt;jarhar> florian: maybe all the info we need is already in the github issue but it hasnt been digested yet so we can resolve on what we have so far<br>
&lt;jarhar> fantasai: then we cna say heres the 3 options, tell us your thoughts on the pros and cons<br>
&lt;fantasai> PROPOSED: Add a control for making padding size include border-width; ask for feedback on its relationship to box-sizing<br>
&lt;jarhar> miriam: any objections to that proposal?<br>
&lt;jarhar> florian: do we need followup resolutions?<br>
&lt;jarhar> fantasai: the minutes are good enough<br>
&lt;fantasai> RESOLVED: Add a control for making padding size include border-width (and scrollbar width); ask for feedback on its relationship to box-sizing<br>
&lt;jarhar> dbaron: does anybody object to my retitling of the issue?<br>
&lt;jarhar> fantasai: go ahead<br>
</details>


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 11 June 2024 15:23:46 UTC