W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] Need spec for margin/padding and box-styling terminolgy

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Jul 2018 03:50:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402005178-1530589846-sysbot+gh@w3.org>
The Working Group just discussed `need spec for margin padding and box styling terminology`, and agreed to the following:

* `RESOLVED: New module CSS Box Styling (css-box) to hold margin and padding definitions.`

<details><summary>The full IRC log of that discussion</summary>
&lt;heycam> Topic: need spec for margin padding and box styling terminology<br>
&lt;astearns> github: https://github.com/w3c/csswg-drafts/issues/2851<br>
&lt;heycam> Rossen: this is something put forward by Elika and Tab<br>
&lt;heycam> fantasai: basically we ported a long of CSS 2.1 props to Level 3 spec<br>
&lt;heycam> ... margin and padding properties havent' been copied over, don't really have a home in our new specs<br>
&lt;heycam> ... it would be useful if we had a spec to put these in<br>
&lt;heycam> ... I don't think any particular layut model spec makes sense, since tehy affect every type of box<br>
&lt;heycam> ... suggestion is to create a short spec just about margins, paddings, what they are, and definintg the terms margin box, padding box<br>
&lt;heycam> florian: and content box?<br>
&lt;heycam> fantasai: yes<br>
&lt;heycam> TabAtkins: sizing maybe<br>
&lt;heycam> Rossen: maybe that's in box model<br>
&lt;heycam> dbaron: in Backrounds and Borders?<br>
&lt;heycam> fantasai: yes but margin and padding aren't defined there<br>
&lt;heycam> ... could make taht Backgrounds, Borders, Margin and Padding!<br>
&lt;heycam> ... or a new Box Styling module, which is padding, margins, and maybe pull borders into there<br>
&lt;heycam> florian: I think it would make sense to be in a standalone module<br>
&lt;heycam> ... to ease advancement<br>
&lt;heycam> ... maybe we pull in border related props in general<br>
&lt;heycam> ... if not, we should have some anchoring terms like corner shaping<br>
&lt;heycam> ... somodules that wnat to affect these kinds of boxes<br>
&lt;heycam> fantasai: with no historical precedent, I would suggest Borders, Margin and Padding in one spec<br>
&lt;heycam> ... but since Borders already live in B &amp; B...<br>
&lt;heycam> ... I don't think it will take long, just going to copy over definitions, make sure they're in a Bikeshedded spec<br>
&lt;heycam> ... and keep gradually replacing CSS 2.1<br>
&lt;heycam> florian: so all the boxes, and the margin and padding props?<br>
&lt;heycam> ... margin collapsing?<br>
&lt;heycam> fantasai: no, margin collapsing goes in the block layout spec<br>
&lt;heycam> florian: sure<br>
&lt;heycam> astearns: if not planning on adding anything new, the only purpose is to make it eeasier to write newer specs?<br>
&lt;fantasai> https://www.w3.org/TR/CSS2/box.html<br>
&lt;heycam> TabAtkins: and continue on our slow grind to obsolete CSS 2.1<br>
&lt;heycam> fantasai: [mentions section numbers in CSS 2 for these definitions]<br>
&lt;heycam> ericwilligers: what happens to CSS Box 3?<br>
&lt;heycam> fantasai: kill it<br>
&lt;heycam> ... part of my proposal is to name this new spec css-box, so we can overwrite that dangerously outdated spec<br>
&lt;heycam> Rossen: sounds like a good proposal<br>
&lt;heycam> ... so CSS Box Styling, overriding css-box<br>
&lt;heycam> Rossen: alternate proposals or objections?<br>
&lt;heycam> RESOLVED: New module CSS Box Styling (css-box) to hold margin and padding definitions.<br>
&lt;heycam> TabAtkins: we should re-tag all the old tests to the new spec<br>
&lt;heycam> fantasai: might want to also consider splitting the Borders out of B&amp;B to move into here<br>
&lt;heycam> florian: definition of border box should go in there immediately<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2851#issuecomment-402005178 using your GitHub account
Received on Tuesday, 3 July 2018 03:50:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:53 UTC