Skip to content

Commit c26e284

Browse files
committed
[css-ruby] Add tests
1 parent c5fc061 commit c26e284

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

css-ruby-1/Overview.bs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Editor: Florian Rivoal, Invited Expert, https://florian.rivoal.net/, w3cid 43241
2020
Abstract: “Ruby”, a form of interlinear annotation, are short runs of text alongside the base text.
2121
Abstract: They are typically used in East Asian documents to indicate pronunciation or to provide a short annotation.
2222
Abstract: This module describes the rendering model and formatting controls related to displaying ruby annotations in CSS.
23+
WPT Path Prefix: /css/css-ruby/
2324
</pre>
2425
<pre class=link-defaults>
2526
spec:css-box-4; type:dfn; text:content area
@@ -1870,6 +1871,20 @@ Overhanging Ruby: the 'ruby-overhang' property</h3>
18701871
* one quarter of the [=advance measure=] of [=fullwidth middle dot punctuation=],
18711872
on both the [=inline-start=] and [=inline-end=] sides of the character,
18721873
unless it has been trimmed by 'text-spacing-trim'
1874+
1875+
<wpt title="Not yet tested:
1876+
<ul>
1877+
<li>'other spaces separators' other than ideographic spaces
1878+
<li>the characters which may or may not be middle dots depending on the language
1879+
<li>interaction with 'text-spacing-trim'
1880+
<li>vertical writing modes
1881+
</ul>">
1882+
ruby-overhang-spaces-001.html
1883+
ruby-overhang-spaces-002.html
1884+
ruby-overhang-spaces-003.html
1885+
ruby-overhang-spaces-004.html
1886+
ruby-overhang-spaces-005.html
1887+
</wpt>
18731888
</dl>
18741889

18751890
When [=ruby annotations=] are not allowed to overhang,
@@ -1893,6 +1908,10 @@ Overhanging Ruby: the 'ruby-overhang' property</h3>
18931908
and the ruby container’s [=annotation boxes=]
18941909
or its overlapped [=base=]’s contents.
18951910

1911+
<wpt>
1912+
ruby-overhang-no-overlap.html
1913+
</wpt>
1914+
18961915
<div class="figure">
18971916
<img src="images/ro-a.gif" width="177" height="91"
18981917
alt="Diagram showing the ruby boxes interacting with adjacent text">
@@ -1927,6 +1946,11 @@ Overhanging Ruby: the 'ruby-overhang' property</h3>
19271946
for the 'ruby-overhang' property,
19281947
as a [=legacy value alias=] of ''ruby-overhang/spaces''.
19291948

1949+
<wpt>
1950+
ruby-overhang.html
1951+
ruby-overhang-dynamic.html
1952+
</wpt>
1953+
19301954
<h3 id="line-edge">
19311955
Line-edge Alignment</h3>
19321956

0 commit comments

Comments
 (0)