Skip to content

Commit 66bf6bb

Browse files
committed
[css-ruby] Fix some markup errors
1 parent a224fda commit 66bf6bb

2 files changed

Lines changed: 15 additions & 30 deletions

File tree

css-ruby/Overview.html

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!DOCTYPE html>
12
<!--
23
34
Issues:
@@ -8,7 +9,6 @@
89
Redo all examples with consistent font. (M+ 2p?)
910
1011
-->
11-
<!DOCTYPE html>
1212

1313
<html lang=en>
1414
<head>
@@ -184,8 +184,8 @@ <h2 class="no-num no-toc" id=contents> Table of Contents</h2>
184184

185185
<li><a href="#values"><span class=secno>1.2. </span> Values</a>
186186

187-
<li><a href="#conventions"><span class=secno>1.3. </span> Document
188-
conventions</a>
187+
<li><a href="#diagram-conventions"><span class=secno>1.3. </span>
188+
Diagram conventions</a>
189189

190190
<li><a href="#ruby-def"><span class=secno>1.4. </span> What is ruby?</a>
191191
</ul>
@@ -343,7 +343,8 @@ <h3 id=values><span class=secno>1.2. </span> Values</h3>
343343
keyword as their property value. For readability it has not been repeated
344344
explicitly.
345345

346-
<h3 id=conventions><span class=secno>1.3. </span> Document conventions</h3>
346+
<h3 id=diagram-conventions><span class=secno>1.3. </span> Diagram
347+
conventions</h3>
347348

348349
<p>Many typographical conventions in East Asian typography depend on
349350
whether the character rendered is wide (CJK) or narrow (non-CJK). There
@@ -722,9 +723,10 @@ <h3 id=autohide><span class=secno>2.4. </span> Autohiding Annotations</h3>
722723

723724
<p>The content comparison for this auto-hiding behavior takes place prior
724725
to white space collapsing and ignores elements (considers only the
725-
<code>textContent</code> of the boxes). <span class=issue>Is before or
726-
after white space collapsing easier?We should do whatever is easier, as it
727-
really doesn't matter much which way to go. </span>
726+
<code>textContent</code> of the boxes).
727+
728+
<p class=issue>Is before or after white space collapsing easier? We should
729+
do whatever is easier, as it really doesn't matter much which way to go.
728730

729731
<h3 id=white-space><span class=secno>2.5. </span> White Space</h3>
730732

@@ -1942,16 +1944,6 @@ <h2 id=glossary><span class=secno>5. </span> Glossary</h2>
19421944
appearance. Subset of the Japanese writing system,  used together with
19431945
kanji and hiragana. In recent times, mainly used to write foreign words.
19441946
Also see <a href="#g-hiragana"><span lang=ja>Hiragana</span></a>.
1945-
1946-
<dt><a id=g-monoruby name=g-monoruby><strong>Mono-ruby</strong></a>
1947-
1948-
<dd>In Japanese typography: Ruby associated with a single character of the
1949-
base text.
1950-
1951-
<dt><a id=g-ruby><strong>Ruby</strong></a>
1952-
1953-
<dd>A run of text that appears in the vicinity of another run of text and
1954-
serves as an annotation or a pronunciation guide for that text.
19551947
</dl>
19561948

19571949
<h2 id=conformance><span class=secno>6. </span> Conformance</h2>
@@ -2113,7 +2105,7 @@ <h2 class=no-num id=changes> Changes</h2>
21132105
<code class=css>display: none</code>’.
21142106

21152107
<dd> The Internationalization WG added an issue requesting a display value
2116-
for &lt;rp> elements. They're supposed to be hidden when &tl;ruby> is
2108+
for &lt;rp> elements. They're supposed to be hidden when &lt;ruby> is
21172109
displayed as ruby. But this is easily accomplished already with ‘<code
21182110
class=css>display: none</code>’.
21192111

css-ruby/Overview.src.html

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!DOCTYPE html>
12
<!--
23
34
Issues:
@@ -8,8 +9,6 @@
89
Redo all examples with consistent font. (M+ 2p?)
910
1011
-->
11-
12-
<!DOCTYPE html>
1312
<html lang="en">
1413
<head>
1514
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -136,8 +135,8 @@ <h3 id="values">
136135
keyword as their property value. For readability it has not been repeated
137136
explicitly.
138137

139-
<h3 id="conventions">
140-
Document conventions</h3>
138+
<h3 id="diagram-conventions">
139+
Diagram conventions</h3>
141140

142141
<p>Many typographical conventions in East Asian typography depend
143142
on whether the character rendered is wide (CJK) or narrow (non-CJK).
@@ -422,7 +421,7 @@ <h3 id="autohide">
422421
<p>The content comparison for this auto-hiding behavior
423422
takes place prior to white space collapsing
424423
and ignores elements (considers only the <code>textContent</code> of the boxes).
425-
<span class="issue">Is before or after white space collapsing easier?We should do whatever is easier, as it really doesn't matter much which way to go.
424+
<p class="issue">Is before or after white space collapsing easier? We should do whatever is easier, as it really doesn't matter much which way to go.
426425

427426
<h3 id="white-space">
428427
White Space</h3>
@@ -1439,12 +1438,6 @@ <h2 id="glossary">
14391438
appearance. Subset of the Japanese writing system,&nbsp; used together with
14401439
kanji and hiragana. In recent times, mainly used to write foreign words. Also see <a
14411440
href="#g-hiragana"><span lang="ja">Hiragana</span></a>.</dd>
1442-
<dt><a id="g-monoruby" name="g-monoruby"><strong>Mono-ruby</strong></a></dt>
1443-
<dd>In Japanese typography: Ruby associated with a single character of
1444-
the base text.</dd>
1445-
<dt><a id="g-ruby"><strong>Ruby</strong></a></dt>
1446-
<dd>A run of text that appears in the vicinity of another run of text and
1447-
serves as an annotation or a pronunciation guide for that text.</dd>
14481441
</dl>
14491442

14501443
<h2 id="conformance">
@@ -1601,7 +1594,7 @@ <h2 class="no-num" id="changes">
16011594
<dt>Close issue requesting 'display: rp': use ''display: none''.
16021595
<dd>
16031596
The Internationalization WG added an issue requesting a display value for &lt;rp> elements.
1604-
They're supposed to be hidden when &tl;ruby> is displayed as ruby.
1597+
They're supposed to be hidden when &lt;ruby> is displayed as ruby.
16051598
But this is easily accomplished already with ''display: none''.
16061599

16071600
<dt>Change 'ruby-position' values to match 'text-emphasis-position'.

0 commit comments

Comments
 (0)