Skip to content

Commit f6de85e

Browse files
committed
[css-ruby] Auto-hide entire annotation segment when ruby-merge is collapse.
1 parent 549036c commit f6de85e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

css-ruby/Overview.bs

+6
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,12 @@ Autohiding Base-identical Annotations</h3>
571571
</div>
572572
</div>
573573

574+
<p>When the computed value of 'ruby-merge' is ''collapse'',
575+
then all annotations and bases for that segment are compared
576+
(rather than just each annotation and its base individually)
577+
and the annotation for the entire segment
578+
is either hidden or shown as appropriate.
579+
574580
<p>The content comparison for this auto-hiding behavior
575581
takes place prior to white space collapsing ('white-space') and text transformation ('text-transform')
576582
and ignores elements (considers only the <code>textContent</code> of the boxes).

css-ruby/Overview.html

+7
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,13 @@ <h3 class="heading settled" data-level="2.4" id="autohide"><span class="secno">2
10601060
</div>
10611061

10621062

1063+
<p>When the computed value of <a class="property" data-link-type="propdesc" href="#propdef-ruby-merge">ruby-merge</a> is <a class="css" data-link-type="maybe" href="#valdef-ruby-merge-collapse">collapse</a>,
1064+
then all annotations and bases for that segment are compared
1065+
(rather than just each annotation and its base individually)
1066+
and the annotation for the entire segment
1067+
is either hidden or shown as appropriate.
1068+
1069+
</p>
10631070
<p>The content comparison for this auto-hiding behavior
10641071
takes place prior to white space collapsing (<a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-text-3/#propdef-white-space">white-space</a>) and text transformation (<a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-text-3/#propdef-text-transform">text-transform</a>)
10651072
and ignores elements (considers only the <code>textContent</code> of the boxes).

0 commit comments

Comments
 (0)