@@ -11,7 +11,6 @@ Previous Version: https://www.w3.org/TR/2020/WD-css-box-3-20201028/
1111Abstract : This specification describes the margin and padding properties, which create spacing in and around a CSS box.
1212Editor : Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
1313Ignored Terms : internal table elements, block layout
14- At risk : applicability of 'margin', 'padding' and their longhands to [=ruby base containers=] and [=ruby annotation containers=]
1514Issue Tracking : CSSWG GitHub https://github.com/w3c/csswg-drafts/issues
1615</pre>
1716<pre class='link-defaults'>
@@ -297,7 +296,7 @@ Page-relative (Physical) Margin Properties: the 'margin-top', 'margin-right', 'm
297296 Name : margin-top, margin-right, margin-bottom, margin-left
298297 Value : <<length-percentage>> | auto
299298 Initial : 0
300- Applies to : all elements except <a>internal table elements</a>, [=ruby base containers=], and [=ruby annotation containers=]
299+ Applies to : all elements except <a>internal table elements</a>
301300 Inherited : no
302301 Percentages : refer to <a>logical width</a> of containing block
303302 Computed value : the keyword ''margin/auto'' or a computed <<length-percentage>> value
@@ -310,14 +309,17 @@ Page-relative (Physical) Margin Properties: the 'margin-top', 'margin-right', 'm
310309 Negative values for margin properties are allowed,
311310 but there may be implementation-specific limits.
312311
312+ Note: Application to [=internal ruby boxes=] [[CSS-RUBY-1]]
313+ is not defined in this specification.
314+
313315Margin Shorthand: the 'margin' property {#margin-shorthand}
314316-----------------
315317
316318 <pre class="propdef">
317319 Name : margin
318320 Value : <<'margin-top'>>{1,4}
319321 Initial : 0
320- Applies to : all elements except <a>internal table elements</a>, [=ruby base containers=], and [=ruby annotation containers=]
322+ Applies to : see individual properties
321323 Inherited : no
322324 Percentages : refer to <a>logical width</a> of containing block
323325 Computed value : see individual properties
@@ -389,7 +391,7 @@ Page-relative (Physical) Padding Properties: the 'padding-top', 'padding-right',
389391 Name : padding-top, padding-right, padding-bottom, padding-left
390392 Value : <<length-percentage [0,∞]>>
391393 Initial : 0
392- Applies to : all elements except: <a>internal table elements</a> other than table cells, [=ruby base containers=], and [=ruby annotation containers=]
394+ Applies to : all elements except: <a>internal table elements</a> other than table cells
393395 Inherited : no
394396 Percentages : refer to <a>logical width</a> of containing block
395397 Computed value : a computed <<length-percentage>> value
@@ -401,14 +403,17 @@ Page-relative (Physical) Padding Properties: the 'padding-top', 'padding-right',
401403
402404 Negative values for padding properties are invalid.
403405
406+ Note: Application to [=internal ruby boxes=] [[CSS-RUBY-1]]
407+ is not defined in this specification.
408+
404409Padding Shorthand: the 'padding' property {#padding-shorthand}
405410-----------------
406411
407412 <pre class="propdef">
408413 Name : padding
409414 Value : <<'padding-top'>>{1,4}
410415 Initial : 0
411- Applies to : all elements except: <a>internal table elements</a> other than table cells, [=ruby base containers=], and [=ruby annotation containers=]
416+ Applies to : see individual properties
412417 Inherited : no
413418 Percentages : refer to <a>logical width</a> of containing block
414419 Computed value : see individual properties
@@ -470,8 +475,6 @@ Changes Since CSS Level 2 {#changes}
470475 <ul>
471476 <li> Adapting the prose slightly to account for vertical <a>writing modes</a> .
472477 <li> Cross-linking to relevant concepts in [[css-break-3]] and [[css-backgrounds-3]] .
473- <li> Defining the non-applicability of 'margin' , 'padding' and their longhands
474- to [=ruby base containers=] and [=ruby annotation containers=] (at risk).
475478 <li> Providing a [[#keywords|centralized common definition]]
476479 of keywords that reference the various box edges
477480 for use in properties defined outside this spec
0 commit comments