@@ -1149,9 +1149,7 @@ <h4><a name="q7">1.4.2.1 Value</a></h4>
11491149
11501150<h4>1.4.2.2 <a name="initial-value">Initial</a></h4>
11511151
1152- <P>This part specifies the property's initial value. If the property
1153- is inherited, this is the value that is given to the root element of
1154- the <a href="conform.html#doctree">document tree</a>. Please consult
1152+ <P>This part specifies the property's initial value. Please consult
11551153the section on <a href="cascade.html">the cascade</a> for information
11561154about the interaction between style sheet-specified, inherited, and
11571155initial values.
@@ -5853,10 +5851,19 @@ <H2>7.3 <a name="media-types">Recognized media types</a></H2>
58535851type. The 'tv' media type, for example, is a multimodal media
58545852type that renders both visually and aurally to a single canvas.
58555853
5854+ <p>@media and @import rules with unknown media types are treated as if
5855+ the unknown media types are not present.
58565856
5857- <P>Unknown media type names must not result in the @media rule or
5858- @import rule being ignored.
5857+ <div class="example"><P style="display:none">Example(s):</P>
5858+ <p>For example, in the following snippet, the rule on the P element applies
5859+ in 'screen' mode (even though the '3D' media type is not known).
58595860
5861+ <pre>
5862+ @media screen, 3D {
5863+ P { color: green; }
5864+ }
5865+ </pre>
5866+ </div>
58605867
58615868
58625869<div class="note"><P>
@@ -12708,8 +12715,7 @@ <h3>13.2.1 <a name="page-margins">Page margins</a></h3>
1270812715content may be "cut" — by the user agent, the printer, or ultimately,
1270912716the paper cutter.
1271012717
12711- <P>The computed value of box margins at the top or bottom of
12712- the page area is zero.
12718+
1271312719
1271412720
1271512721
@@ -19924,7 +19930,6 @@ <H1><a name="q0">Appendix D. Default style sheet for HTML 4</a></H1>
1992419930ol ul, ul ol,
1992519931ul ul, ol ol { margin-top: 0; margin-bottom: 0 }
1992619932u, ins { text-decoration: underline }
19927- br { white-space: pre }
1992819933br:before { content: "\A" }
1992919934:before, :after { white-space: pre-line }
1993019935center { text-align: center }
@@ -19970,18 +19975,23 @@ <H1><a name="q0">Appendix E. Elaborate description of Stacking Contexts</a></H1>
1997019975<h2><a name="q1">E.1 Definitions</a></h2>
1997119976
1997219977<dl>
19978+
1997319979<dt>Tree Order</dt>
19974- <dd>Preorder depth-first traversal of the <em>rendering</em> tree, in logical
19975- (not visual) order for bidirectional content, after taking into
19976- account properties that move boxes around such as the 'run-in' value
19977- of 'display'.</dd>
19980+
19981+ <dd>Preorder depth-first traversal of the <em>rendering</em> tree, in
19982+ logical (not visual) order for bidirectional content, after taking
19983+ into account properties that move boxes around such as the 'run-in'
19984+ value of 'display'.</dd>
1997819985
1997919986<dt>Element</dt>
19980- <dd>In this description, "element" refers to both actual elements and
19981- pseudo-elements. Pseudo-elements and anonymous boxes are treated as
19982- descendants in the appropriate places. For example, an outside list
19983- marker comes before an adjoining ':before' box in the line box, which
19984- comes before the content of the box, and so forth.</dd>
19987+
19988+ <dd>In this description, "element" refers to both actual elements,
19989+ pseudo-elements, and anonymous boxes. Pseudo-elements and anonymous
19990+ boxes are treated as descendants in the appropriate places. For
19991+ example, an outside list marker comes before an adjoining ':before'
19992+ box in the line box, which comes before the content of the box, and so
19993+ forth.</dd>
19994+
1998519995</dl>
1998619996
1998719997<h2><a name="q2">E.2 Painting order</a></h2>
@@ -20057,29 +20067,44 @@ <h2><a name="q2">E.2 Painting order</a></h2>
2005720067 descendants which actually create a new stacking context should be
2005820068 considered part of the parent stacking context, not this new one.
2005920069
20060- <li>First for the element, then for all its in-flow, non-positioned,
20061- block-level descendants in tree order :
20070+ <li> If the element is an inline element that generates a stacking
20071+ context, then :
2006220072<ol>
20063- <li> For each element in each line box of the element, in tree order, if any, or
20064- if the element is inline-level (note that all elements in line
20065- boxes are forcably inline-level), on a per-line-box basis:
20073+ <li> For each line box that the element is in:
2006620074<ol>
20067- <li> Background color of element.
20068- <li> Background image of element.
20069- <li> Border of element.
20075+ <li> Jump to 7.2.1 for the box(es) of the element in that line
20076+ box (in tree order).
20077+ </ol>
20078+ </ol>
20079+ <li> Otherwise: first for the element, then for all its in-flow,
20080+ non-positioned, block-level descendants in tree order:
20081+ <ol>
20082+ <li> If the element is a block-level replaced element,
20083+ then: the replaced content, atomically.
20084+ <li> Otherwise, for each line box of that element:
20085+ <ol>
20086+ <li> For each box that is a child of that element, in that line
20087+ box, in tree order:
20088+ <ol>
20089+ <li> background color of element.
20090+ <li> background image of element.
20091+ <li> border of element.
2007020092<li> For inline elements:
2007120093<ol>
20072- <li> Underline of element.
20073- <li> Overline of element.
20074- <li> Text of element.
20075- <li> Then all the element's in-flow, non-positioned,
20076- inline-level descendants, including anonymous
20077- inline elements generated for text nodes inside
20078- the element, in tree order:
20094+ <li> underline of element.
20095+ <li> overline of element.
20096+ <li> For all the element's in-flow, non-positioned, inline-level
20097+ children that are in this line box, and all
20098+ runs of text inside the element that is on this line box,
20099+ in tree order:
2007920100<ol>
20080- <li> Jump to step 6.1 for this element.
20101+ <li> If this is a run of text, then:
20102+ <ol>
20103+ <li> the text.
20104+ </ol>
20105+ <li> Otherwise, jump to 7.2.1 for that element.
2008120106</ol>
20082- <li> Line -through of element.
20107+ <li> line -through of element.
2008320108</ol>
2008420109 For inline-block and inline-table elements:
2008520110<ol>
@@ -20091,14 +20116,15 @@ <h2><a name="q2">E.2 Painting order</a></h2>
2009120116</ol>
2009220117 For inline-level replaced elements:
2009320118<ol>
20094- <li> The replaced content, atomically.
20119+ <li> the replaced content, atomically.
2009520120</ol>
20096- <li> Optionally, the outline of the element (see 9 below).
2009720121</ol>
20098- <li> Otherwise, if the element is a block-level replaced element,
20099- then the replaced content, atomically.
20122+ <p class="note">Some of the boxes may have been generated by line
20123+ splitting or the Unicode bidirectional algorithm.
20124+ <li> Optionally, the outline of the element (see 10 below).
20125+ </ol>
2010020126<li> Optionally, if the element is block-level, the outline of the
20101- element (see 9 below).
20127+ element (see 10 below).
2010220128</ol>
2010320129<li>All positioned descendants with 'z-index: auto' or 'z-index: 0',
2010420130 in tree order. For those with 'z-index: auto', treat the element
@@ -20137,7 +20163,7 @@ <H1><a name="q0">Appendix F. Full property table</a></H1>
2013720163
2013820164<P><em>This appendix is informative, not normative.</em></P>
2013920165
20140- <table border=1 align=center >
20166+ <table border=1>
2014120167<thead><tr align=center><th>Name<th>Values<th>Initial value<th>Applies to<br>(Default: all)<th>Inherited?<th>Percentages<br>(Default: N/A)<th>Media groups</thead>
2014220168<tr><td><a href="aural.html#propdef-azimuth"><span class="propinst-azimuth xref">'azimuth'</span></a>
2014320169<td><a href="aural.html#value-def-angle" class="noxref"><span class="value-inst-angle"><angle></span></a> | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards | <a href="cascade.html#value-def-inherit" class="noxref"><span class="value-inst-inherit">inherit</span></a>
0 commit comments