@@ -48,10 +48,19 @@ Introduction {#intro}
4848 'border' and its longhands,
4949 and 'margin' and its longhands--
5050 define the sizes of these other areas.
51- Margins and padding are defined in this module;
52- borders are defined in [[css-backgrounds-3]] .
5351
54- Note: This module <a href="https://www.w3.org/TR/2018/WD-css3-box-20180731/">originally contained</a>
52+ [=Margins=] and [=padding=] are defined in this module.
53+ [=Borders=] are similarly defined in [[css-backgrounds-3]] .
54+
55+ Note: This module only defines the [=physical=] per-side [=longhand=] properties.
56+ Additional, [=flow-relative=] [=longhand=] properties
57+ are defined in [[css-logical-1]] .
58+ Note that both sets of [=longhand=] properties control the same [=margins=] /[=padding=] :
59+ they are just different ways of indexing each side.
60+
61+ <details class="note">
62+ <summary> History of CSS Box module and the definition of Block Layout</summary>
63+ <p> This module <a href="https://www.w3.org/TR/2018/WD-css3-box-20180731/">originally contained</a>
5564 the CSS Level 3 specification prose relating to
5665 box generation (now defined in [[css-display-3]] ),
5766 the box model (defined here),
@@ -72,6 +81,7 @@ Introduction {#intro}
7281 and <a href="https://www.w3.org/TR/css-tables/">Table Layout</a> ,
7382 in addition to Block Layout)
7483 which each deserve their own parallel module.
84+ </details>
7585
7686<h3 id="values">
7787Value Definitions</h3>
@@ -270,13 +280,11 @@ Margins {#margins}
270280 The 'margin' <a>shorthand property</a>
271281 sets the margin for all four sides
272282 while the margin <a>longhand properties</a> only set their respective side.
273- This specification defines the <a>physical</a> 'margin' <a>longhands</a> ;
274- [[css-logical-1#margin-properties]] additionally
275- defines <a>flow-relative</a> 'margin' <a>longhands</a> .
276- Both sets of properties control the same set of margins:
277- they are just different ways of indexing each side.
283+ This section defines the <a>physical</a> 'margin' <a>longhands</a> .
284+ (Additional <a>flow-relative</a> 'margin' <a>longhands</a>
285+ are defined in [[css-logical-1]] .)
278286
279- Note: Adjoining margins in <a>block layout</a> <em> collapse</em> .
287+ Note: Adjoining margins in <a>block layout</a> can <em> collapse</em> .
280288 See <a href="https://www.w3.org/TR/CSS2/box.html#collapsing-margins">CSS2§8.3.1 Collapsing Margins</a>
281289 for details.
282290 Also, margins adjoining a <a>fragmentation break</a> are sometimes truncated.
@@ -363,11 +371,9 @@ Padding {#paddings}
363371 The 'padding' <a>shorthand property</a>
364372 sets the padding for all four sides
365373 while the padding <a>longhand properties</a> only set their respective side.
366- This specification defines the <a>physical</a> 'padding' <a>longhands</a> ;
367- [[css-logical-1#padding-properties]] additionally
368- defines <a>flow-relative</a> 'padding' <a>longhands</a> .
369- Both sets of properties control the same set of padding:
370- they are just different ways of indexing each side.
374+ This section defines the <a>physical</a> 'padding' <a>longhands</a> .
375+ (Additional <a>flow-relative</a> 'padding' <a>longhands</a>
376+ are defined in [[css-logical-1]] .)
371377
372378 Note: Backgrounds specified on the box
373379 are by default laid out and painted within the padding edges.
@@ -451,12 +457,10 @@ Borders {#borders}
451457 The <dfn export>border properties</dfn> specify the thickness
452458 of the <a>border area</a> of a box,
453459 as well as its drawing style and color.
454- See [[css-backgrounds-3#borders]] for the definition
455- of the physical variants of these properties;
456- [[css-logical-1#border-properties]] additionally
457- defines <a>flow-relative</a> border <a>longhands</a> .
458- Both sets of properties control the same set of borders:
459- they are just different ways of indexing each side.
460+ See [[css-backgrounds-3]] for the definition of these properties,
461+ including their [=physical=] longhands.
462+ (Additional [=flow-relative=] border longhands
463+ are defined in [[css-logical-1]] .)
460464
461465Changes Since CSS Level 2 {#changes}
462466=========================
0 commit comments