Skip to content

Commit 7f2aa9a

Browse files
author
Simon Pieters
committed
[cssom*] Editorial: tweak markup
1 parent a157c30 commit 7f2aa9a

5 files changed

Lines changed: 154 additions & 154 deletions

File tree

cssom-values/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ <h4 id="the-cssurlcomponentvalue-interface"><span class="secno">3.6.7 </span>The
309309

310310
<h2 class="no-num" id="references">References</h2>
311311
<div id="anolis-references"><dl><dt id="refsCSSOM">[CSSOM]
312-
<dd><cite><a href="http://dev.w3.org/csswg/cssom/">CSS Object Model (CSSOM)</a></cite>, Glenn Adams and Simon Pieters. W3C.
312+
<dd><cite><a href="http://dev.w3.org/csswg/cssom/">CSS Object Model (CSSOM)</a></cite>, Simon Pieters and Glenn Adams. W3C.
313313

314314
<dt id="refsDOM2STYLE">[DOM2STYLE]
315315
<dd>(Non-normative) <cite><a href="http://www.w3.org/TR/DOM-Level-2-Style/">Document Object Model (DOM) Level 2 Style Specification</a></cite>, Chris Wilson, Philippe Le Hégaret and Vidur Apparao. W3C.

cssom-view/Overview.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
394394

395395
<p>The term <dfn id="css-layout-box">CSS layout box</dfn> refers to the same term in CSS. For the purpose
396396
of the requirements in this specification, elements that have a computed value of the
397-
'<code title="">display</code>' property that is <code>table-column</code> or
398-
<code>table-column-group</code> must be considered to have an associated <a href="#css-layout-box">CSS
397+
'display' property that is 'table-column' or
398+
'table-column-group' must be considered to have an associated <a href="#css-layout-box">CSS
399399
layout box</a> (the column or column group, respectively).</p>
400400

401401
<h3 id="css-pixels"><span class="secno">3.1 </span>CSS pixels</h3>
@@ -821,8 +821,8 @@ <h2 id="extensions-to-the-element-interface"><span class="secno">7 </span>Extens
821821
following constraints:</p>
822822
<ul>
823823
<li><p>If the element on which the method was invoked has a computed
824-
value for <code>display</code> property of <code>table</code> or
825-
<code>inline-table</code> include both the table box and the caption
824+
value for the 'display' property of 'table' or
825+
'inline-table' include both the table box and the caption
826826
box, if any, but not the anonymous container box.</li>
827827
<li><p>Replace each
828828
<a href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">anonymous
@@ -981,14 +981,14 @@ <h2 id="extensions-to-the-element-interface"><span class="secno">7 </span>Extens
981981
<p>The <dfn id="dom-element-clienttop" title="dom-Element-clientTop"><code>clientTop</code></dfn> attribute must run these steps:
982982
<ol>
983983
<li><p>If the element has no associated <a href="#css-layout-box">CSS layout box</a> or if the <a href="#css-layout-box">CSS layout box</a> is inline, return zero.
984-
<li><p>Return the computed value of the '<code>border-top-width</code>' property plus the height of any scrollbar rendered between the top <a href="#padding-edge">padding
984+
<li><p>Return the computed value of the 'border-top-width' property plus the height of any scrollbar rendered between the top <a href="#padding-edge">padding
985985
edge</a> and the top <a href="#border-edge">border edge</a>.
986986
</ol>
987987

988988
<p>The <dfn id="dom-element-clientleft" title="dom-Element-clientLeft"><code>clientLeft</code></dfn> attribute must run these steps:
989989
<ol>
990990
<li><p>If the element has no associated <a href="#css-layout-box">CSS layout box</a> or if the <a href="#css-layout-box">CSS layout box</a> is inline, return zero.
991-
<li><p>Return the computed value of the '<code>border-left-width</code>' property plus the width of any scrollbar rendered between the left <a href="#padding-edge">padding
991+
<li><p>Return the computed value of the 'border-left-width' property plus the width of any scrollbar rendered between the left <a href="#padding-edge">padding
992992
edge</a> and the left <a href="#border-edge">border edge</a>.
993993
</ol>
994994

@@ -1158,18 +1158,18 @@ <h2 id="extensions-to-the-htmlelement-interface"><span class="secno">8 </span>Ex
11581158
<li>The element does not have an associated <a href="#css-layout-box">CSS layout box</a>.</li>
11591159
<li>The element is the root element.</li>
11601160
<li>The element is <a href="#the-html-body-element">the HTML <code>body</code> element</a>.</li>
1161-
<li>The element's computed value of the '<code>position</code>' property is <code>fixed</code>.</li>
1161+
<li>The element's computed value of the 'position' property is 'fixed'.</li>
11621162
</ul>
11631163
</li>
11641164
<li>
11651165
<p>Return the nearest ancestor element of the element for which at least
11661166
one of the following is true and terminate this algorithm if such an
11671167
ancestor is found:</p>
11681168
<ul>
1169-
<li>The computed value of the '<code>position</code>' property is not <code>static</code>.</li>
1169+
<li>The computed value of the 'position' property is not 'static'.</li>
11701170
<li>It is <a href="#the-html-body-element">the HTML <code>body</code> element</a>.</li>
1171-
<li>The computed value of the '<code>position</code>' property of
1172-
the element is <code>static</code> and the ancestor is one of the
1171+
<li>The computed value of the 'position' property of
1172+
the element is 'static' and the ancestor is one of the
11731173
following <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#html-elements" title="HTML elements">HTML elements</a>:
11741174
<code>td</code>, <code>th</code>, or <code>table</code>.</li>
11751175
</ul>
@@ -1460,7 +1460,7 @@ <h3 id="smooth-scrolling:-the-scroll-behavior-property"><span class="secno">13.1
14601460

14611461
<h2 class="no-num" id="references">References</h2>
14621462
<div id="anolis-references"><dl><dt id="refsCSSOM">[CSSOM]
1463-
<dd><cite><a href="http://dev.w3.org/csswg/cssom/">CSS Object Model (CSSOM)</a></cite>, Glenn Adams and Simon Pieters. W3C.
1463+
<dd><cite><a href="http://dev.w3.org/csswg/cssom/">CSS Object Model (CSSOM)</a></cite>, Simon Pieters and Glenn Adams. W3C.
14641464

14651465
<dt id="refsCSSWRITINGMODES">[CSSWRITINGMODES]
14661466
<dd><cite><a href="http://dev.w3.org/csswg/css-writing-modes/">CSS Writing Modes Module</a></cite>, Elika J. Etemad and Koji Ishii. W3C.

cssom-view/Overview.src.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ <h2>Terminology</h2>
362362

363363
<p>The term <dfn>CSS layout box</dfn> refers to the same term in CSS. For the purpose
364364
of the requirements in this specification, elements that have a computed value of the
365-
'<code title>display</code>' property that is <code>table-column</code> or
366-
<code>table-column-group</code> must be considered to have an associated <span>CSS
365+
'display' property that is 'table-column' or
366+
'table-column-group' must be considered to have an associated <span>CSS
367367
layout box</span> (the column or column group, respectively).</p>
368368

369369
<h3>CSS pixels</h3>
@@ -789,8 +789,8 @@ <h2>Extensions to the <code title>Element</code> Interface</h2>
789789
following constraints:</p>
790790
<ul>
791791
<li><p>If the element on which the method was invoked has a computed
792-
value for <code>display</code> property of <code>table</code> or
793-
<code>inline-table</code> include both the table box and the caption
792+
value for the 'display' property of 'table' or
793+
'inline-table' include both the table box and the caption
794794
box, if any, but not the anonymous container box.</li>
795795
<li><p>Replace each
796796
<a href='http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level'>anonymous
@@ -947,14 +947,14 @@ <h2>Extensions to the <code title>Element</code> Interface</h2>
947947
<p>The <dfn title=dom-Element-clientTop><code>clientTop</code></dfn> attribute must run these steps:
948948
<ol>
949949
<li><p>If the element has no associated <span>CSS layout box</span> or if the <span>CSS layout box</span> is inline, return zero.
950-
<li><p>Return the computed value of the '<code>border-top-width</code>' property plus the height of any scrollbar rendered between the top <span>padding
950+
<li><p>Return the computed value of the 'border-top-width' property plus the height of any scrollbar rendered between the top <span>padding
951951
edge</span> and the top <span>border edge</span>.
952952
</ol>
953953

954954
<p>The <dfn title=dom-Element-clientLeft><code>clientLeft</code></dfn> attribute must run these steps:
955955
<ol>
956956
<li><p>If the element has no associated <span>CSS layout box</span> or if the <span>CSS layout box</span> is inline, return zero.
957-
<li><p>Return the computed value of the '<code>border-left-width</code>' property plus the width of any scrollbar rendered between the left <span>padding
957+
<li><p>Return the computed value of the 'border-left-width' property plus the width of any scrollbar rendered between the left <span>padding
958958
edge</span> and the left <span>border edge</span>.
959959
</ol>
960960

@@ -1124,18 +1124,18 @@ <h2>Extensions to the <code title>HTMLElement</code> Interface</h2>
11241124
<li>The element does not have an associated <span>CSS layout box</span>.</li>
11251125
<li>The element is the root element.</li>
11261126
<li>The element is <span>the HTML <code>body</code> element</span>.</li>
1127-
<li>The element's computed value of the '<code>position</code>' property is <code>fixed</code>.</li>
1127+
<li>The element's computed value of the 'position' property is 'fixed'.</li>
11281128
</ul>
11291129
</li>
11301130
<li>
11311131
<p>Return the nearest ancestor element of the element for which at least
11321132
one of the following is true and terminate this algorithm if such an
11331133
ancestor is found:</p>
11341134
<ul>
1135-
<li>The computed value of the '<code>position</code>' property is not <code>static</code>.</li>
1135+
<li>The computed value of the 'position' property is not 'static'.</li>
11361136
<li>It is <span>the HTML <code>body</code> element</span>.</li>
1137-
<li>The computed value of the '<code>position</code>' property of
1138-
the element is <code>static</code> and the ancestor is one of the
1137+
<li>The computed value of the 'position' property of
1138+
the element is 'static' and the ancestor is one of the
11391139
following <span data-anolis-spec=html title='HTML elements'>HTML elements</span>:
11401140
<code>td</code>, <code>th</code>, or <code>table</code>.</li>
11411141
</ul>

cssom/Overview.html

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -342,22 +342,22 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
342342
</ul>
343343

344344
<p>To <dfn id="serialize-a-string">serialize a string</dfn> means to create a string represented
345-
by '<code title="">"</code>' (U+0022), followed by the result of applying the rules
345+
by '"' (U+0022), followed by the result of applying the rules
346346
below to each character of the given string, followed by
347-
'<code title="">"</code>' (U+0022):</p>
347+
'"' (U+0022):</p>
348348

349349
<ul>
350350
<li>If the character is NULL (U+0000), then <a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an
351351
<code class="external"><a href="http://dom.spec.whatwg.org/#invalidcharactererror">InvalidCharacterError</a></code> exception and terminate these steps.</li>
352352
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or [\7f-\9f] (U+007F to
353353
U+009F), the character <a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
354-
<li>If the character is '<code title="">"</code>' (U+0022) or "<code title="">\</code>"
354+
<li>If the character is '"' (U+0022) or "<code title="">\</code>"
355355
(U+005C), the <a href="#escape-a-character" title="escape a character">escaped</a> character.</li>
356356
<li>Otherwise, the character itself.</li>
357357
</ul>
358358

359359
<p class="note">"<code title="">'</code>" (U+0027) is not escaped because strings
360-
are always serialized with '<code title="">"</code>' (U+0022).</p>
360+
are always serialized with '"' (U+0022).</p>
361361

362362
<p>To <dfn id="serialize-a-url">serialize a URL</dfn> means to create a string represented by
363363
"<code title="">url(</code>", followed by the
@@ -508,47 +508,47 @@ <h4 id="serializing-media-feature-values"><span class="secno">4.2.1 </span>Seria
508508
<th>Media Feature
509509
<th>Serialization
510510
<tr>
511-
<td><code title="">width</code>
511+
<td>'width'
512512
<td>...
513513
<tr>
514-
<td><code title="">height</code>
514+
<td>'height'
515515
<td>...
516516
<tr>
517-
<td><code title="">device-width</code>
517+
<td>'device-width'
518518
<td>...
519519
<tr>
520-
<td><code title="">device-height</code>
520+
<td>'device-height'
521521
<td>...
522522
<tr>
523-
<td><code title="">orientation</code>
523+
<td>'orientation'
524524
<td>
525-
<p>If the value is `<code title="">portrait</code>`: "<code title="">portrait</code>".</p>
526-
<p>If the value is `<code title="">landscape</code>`: "<code title="">landscape</code>".</p>
525+
<p>If the value is 'portrait': "<code title="">portrait</code>".</p>
526+
<p>If the value is 'landscape': "<code title="">landscape</code>".</p>
527527
<tr>
528-
<td><code title="">aspect-ratio</code>
528+
<td>'aspect-ratio'
529529
<td>...
530530
<tr>
531-
<td><code title="">device-aspect-ratio</code>
531+
<td>'device-aspect-ratio'
532532
<td>...
533533
<tr>
534-
<td><code title="">color</code>
534+
<td>'color'
535535
<td>...
536536
<tr>
537-
<td><code title="">color-index</code>
537+
<td>'color-index'
538538
<td>...
539539
<tr>
540-
<td><code title="">monochrome</code>
540+
<td>'monochrome'
541541
<td>...
542542
<tr>
543-
<td><code title="">resolution</code>
543+
<td>'resolution'
544544
<td>...
545545
<tr>
546-
<td><code title="">scan</code>
546+
<td>'scan'
547547
<td>
548-
<p>If the value is `<code title="">progressive</code>`: "<code title="">progressive</code>".</p>
549-
<p>If the value is `<code title="">interlace</code>`: "<code title="">interlace</code>".</p>
548+
<p>If the value is 'progressive': "<code title="">progressive</code>".</p>
549+
<p>If the value is 'interlace': "<code title="">interlace</code>".</p>
550550
<tr>
551-
<td><code title="">grid</code>
551+
<td>'grid'
552552
<td>...
553553
</table>
554554

@@ -2379,7 +2379,7 @@ <h4 id="serializing-css-values"><span class="secno">6.6.2 </span>Serializing CSS
23792379
<code title="">margin: 20px</code>.</p>
23802380

23812381
<p class="example">E.g. the value <code title="">0</code> for the
2382-
'<code title="">border</code>' property.</p>
2382+
'border' property.</p>
23832383
</li>
23842384

23852385
<li><p>If the value of a shorthand property is requested and it cannot be
@@ -2661,12 +2661,12 @@ <h3 id="extensions-to-the-window-interface"><span class="secno">7.2 </span>Exten
26612661
<li><p>Let <var title="">obj</var> be <var title="">elt</var>.</li>
26622662
<li><p>If <var title="">pseudoElt</var> is as an
26632663
<a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for
2664-
either '<code title="">:before</code>' or '<code title="">::before</code>' let
2664+
either ':before' or '::before' let
26652665
<var title="">obj</var> be the <a href="#x::before-pseudo-element">::before pseudo-element</a> of
26662666
<var title="">elt</var>.</li>
26672667
<li><p>If <var title="">pseudoElt</var> is as an
26682668
<a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for
2669-
either '<code title="">:after</code>' or '<code title="">::after</code>' let
2669+
either ':after' or '::after' let
26702670
<var title="">obj</var> be the <a href="#x::after-pseudo-element">::after pseudo-element</a> of
26712671
<var title="">elt</var>.</li>
26722672
<li>
@@ -2744,11 +2744,11 @@ <h3 id="extensions-to-the-element-interface"><span class="secno">7.4 </span>Exte
27442744

27452745
<p class="atrisk">The <dfn id="dom-element-pseudo" title="dom-Element-pseudo"><code>pseudo(<var title="">pseudoElt</var>)</code></dfn> method, when invoked, must run the following steps:
27462746
<ol>
2747-
<li><p>If <var title="">pseudoElt</var> is as an <a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for either '<code title="">:before</code>' or
2748-
'<code title="">::before</code>' return the <code><a href="#pseudoelement">PseudoElement</a></code> representing the <a href="#x::before-pseudo-element">::before pseudo-element</a> of the
2747+
<li><p>If <var title="">pseudoElt</var> is as an <a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for either ':before' or
2748+
'::before' return the <code><a href="#pseudoelement">PseudoElement</a></code> representing the <a href="#x::before-pseudo-element">::before pseudo-element</a> of the
27492749
<a class="external" href="http://dom.spec.whatwg.org/#context-object">context object</a>.</li>
2750-
<li><p>If <var title="">pseudoElt</var> is as an <a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for either '<code title="">:after</code>' or
2751-
'<code title="">::after</code>' return the <code><a href="#pseudoelement">PseudoElement</a></code> representing the <a href="#x::after-pseudo-element">::after pseudo-element</a> of the
2750+
<li><p>If <var title="">pseudoElt</var> is as an <a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for either ':after' or
2751+
'::after' return the <code><a href="#pseudoelement">PseudoElement</a></code> representing the <a href="#x::after-pseudo-element">::after pseudo-element</a> of the
27522752
<a class="external" href="http://dom.spec.whatwg.org/#context-object">context object</a>.</li>
27532753
<li><p>Return null.</li>
27542754
</ol>
@@ -2786,57 +2786,57 @@ <h2 id="resolved-values"><span class="secno">8 </span>Resolved Values</h2>
27862786
<!--
27872787
We want to treat shorthand properties like any other value basically.
27882788
2789-
<dt>'<code title>background</code>'
2790-
<dt>'<code title>border</code>'
2791-
<dt>'<code title>border-collapse</code>'
2792-
<dt>'<code title>border-color</code>'
2793-
<dt>'<code title>border-spacing</code>'
2794-
<dt>'<code title>border-style</code>'
2795-
<dt>'<code title>border-top</code>'
2796-
<dt>'<code title>border-right</code>'
2797-
<dt>'<code title>border-bottom</code>'
2798-
<dt>'<code title>border-left</code>'
2799-
<dt>'<code title>border-width</code>'
2800-
<dt>'<code title>font</code>'
2801-
<dt>'<code title>list-style</code>'
2802-
<dt>'<code title>margin</code>'
2803-
<dt>'<code title>outline</code>'
2789+
<dt>'background'
2790+
<dt>'border'
2791+
<dt>'border-collapse'
2792+
<dt>'border-color'
2793+
<dt>'border-spacing'
2794+
<dt>'border-style'
2795+
<dt>'border-top'
2796+
<dt>'border-right'
2797+
<dt>'border-bottom'
2798+
<dt>'border-left'
2799+
<dt>'border-width'
2800+
<dt>'font'
2801+
<dt>'list-style'
2802+
<dt>'margin'
2803+
<dt>'outline'
28042804
<!- - overflow is not - ->
2805-
<dt>'<code title>padding</code>'
2806-
<dt>'<code title>pause</code>'
2805+
<dt>'padding'
2806+
<dt>'pause'
28072807
<dd>
28082808
<p>There is no <span>resolved value</span>.</p>
28092809
</dd>
28102810
-->
28112811

2812-
<dt>'<code title="">line-height</code>'</dt>
2812+
<dt>'line-height'</dt>
28132813
<dd><p>The <a href="#resolved-value">resolved value</a> is the <a href="#used-value">used value</a>.</dd>
28142814

2815-
<dt>'<code title="">height</code>'</dt>
2816-
<dt>'<code title="">margin</code>'</dt>
2817-
<dt>'<code title="">margin-bottom</code>'</dt>
2818-
<dt>'<code title="">margin-left</code>'</dt>
2819-
<dt>'<code title="">margin-right</code>'</dt>
2820-
<dt>'<code title="">margin-top</code>'</dt>
2821-
<dt>'<code title="">padding</code>'</dt>
2822-
<dt>'<code title="">padding-bottom</code>'</dt>
2823-
<dt>'<code title="">padding-left</code>'</dt>
2824-
<dt>'<code title="">padding-right</code>'</dt>
2825-
<dt>'<code title="">padding-top</code>'</dt>
2826-
<dt>'<code title="">width</code>'</dt>
2815+
<dt>'height'</dt>
2816+
<dt>'margin'</dt>
2817+
<dt>'margin-bottom'</dt>
2818+
<dt>'margin-left'</dt>
2819+
<dt>'margin-right'</dt>
2820+
<dt>'margin-top'</dt>
2821+
<dt>'padding'</dt>
2822+
<dt>'padding-bottom'</dt>
2823+
<dt>'padding-left'</dt>
2824+
<dt>'padding-right'</dt>
2825+
<dt>'padding-top'</dt>
2826+
<dt>'width'</dt>
28272827
<dd><p>If the property applies to the element or pseudo-element and the
2828-
<a href="#resolved-value">resolved value</a> of the '<code title="">display</code>' property is not
2829-
<code title="">none</code>, the <a href="#resolved-value">resolved value</a> is the
2828+
<a href="#resolved-value">resolved value</a> of the 'display' property is not
2829+
'none', the <a href="#resolved-value">resolved value</a> is the
28302830
<a href="#used-value">used value</a>. Otherwise the <a href="#resolved-value">resolved value</a> is the
28312831
<a href="#computed-value">computed value</a>.</dd>
28322832

2833-
<dt>'<code title="">bottom</code>'</dt>
2834-
<dt>'<code title="">left</code>'</dt>
2835-
<dt>'<code title="">right</code>'</dt>
2836-
<dt>'<code title="">top</code>'</dt>
2833+
<dt>'bottom'</dt>
2834+
<dt>'left'</dt>
2835+
<dt>'right'</dt>
2836+
<dt>'top'</dt>
28372837
<dd><p>If the property applies to a positioned element and the
2838-
<a href="#resolved-value">resolved value</a> of the '<code title="">display</code>' property is not
2839-
<code title="">none</code>, the <a href="#resolved-value">resolved value</a> is the
2838+
<a href="#resolved-value">resolved value</a> of the 'display' property is not
2839+
'none', the <a href="#resolved-value">resolved value</a> is the
28402840
<a href="#used-value">used value</a>. Otherwise the <a href="#resolved-value">resolved value</a> is the
28412841
computed value.</dd>
28422842

0 commit comments

Comments
 (0)