Skip to content

Commit ae6068c

Browse files
committed
[css-writing-modes] Sync L3 & L4.
1 parent bbf3821 commit ae6068c

File tree

2 files changed

+29
-15
lines changed

2 files changed

+29
-15
lines changed

css-writing-modes-3/Overview.bs

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -689,17 +689,17 @@ Reordering-induced Box Fragmentation</h4>
689689
<p class="note">The 'box-decoration-break' property can override this behavior
690690
to draw box decorations on both sides of each fragment. [[!CSS3-BREAK]]
691691

692-
<h2 id="vertical-intro">
693-
Introduction to Vertical Text</h2>
692+
<h2 id="vertical-modes">
693+
Vertical Writing Modes</h2>
694694

695695
<p>In addition to extensions to CSS2.1&rsquo;s support for bidirectional text,
696696
this module introduces the rules and properties needed to support vertical
697697
text layout in CSS.
698698

699-
<h3 id="vertical-examples">
700-
Vertical Text Examples</h3>
699+
<h3 id="vertical-intro">
700+
Introduction to Vertical Writing</h3>
701701

702-
<p><em>This section is non-normative.</em></p>
702+
<p><em>This subsection is non-normative.</em></p>
703703

704704
<p>Unlike languages that use the Latin script which are primarily laid out
705705
horizontally, Asian languages such as Chinese and Japanese can be laid out
@@ -873,12 +873,13 @@ Block Flow Direction: the 'writing-mode' property</h3>
873873
src="images/vertical-form.png"></p>
874874
</div>
875875

876-
<p>If a box has a different 'writing-mode' value than its containing block:
876+
<p>If a box has a different 'writing-mode' value than its parent box
877+
(i.e. nearest ancestor without ''display: contents''):
877878
<ul>
878-
<li>If the box has a specified 'display' of ''display/inline'',
879-
its 'display' computes to ''inline-block''. [[!CSS21]]
880-
<li>If the box is a block container, then it establishes a new block
881-
formatting context.
879+
<li>If the box would otherwise become an in-flow box with a computed 'display' of ''inline'',
880+
its 'display' computes instead to ''inline-block''.
881+
<li>If the box is a block container,
882+
then it establishes a new block formatting context.
882883
<li>More generally, if its specified <a>inner display type</a> is ''flow'',
883884
then its computed <a>inner display type</a> becomes ''flow-root''. [[!CSS-DISPLAY-3]]
884885
</ul>

css-writing-modes/Overview.bs

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -692,15 +692,18 @@ Reordering-induced Box Fragmentation</h4>
692692
<p class="note">The 'box-decoration-break' property can override this behavior
693693
to draw box decorations on both sides of each fragment. [[!CSS3-BREAK]]
694694

695-
<h2 id="vertical-intro">
696-
Introduction to Vertical Text</h2>
697-
698-
<p><em>This subsection is non-normative.</em></p>
695+
<h2 id="vertical-modes">
696+
Vertical Writing Modes</h2>
699697

700698
<p>In addition to extensions to CSS2.1&rsquo;s support for bidirectional text,
701699
this module introduces the rules and properties needed to support vertical
702700
text layout in CSS.
703701

702+
<h3 id="vertical-intro">
703+
Introduction to Vertical Writing</h3>
704+
705+
<p><em>This subsection is non-normative.</em></p>
706+
704707
<p>Unlike languages that use the Latin script which are primarily laid out
705708
horizontally, Asian languages such as Chinese and Japanese can be laid out
706709
vertically. The Japanese example below shows the same text laid out
@@ -2045,7 +2048,7 @@ Available Space in Orthogonal Flows</h4>
20452048
and <i>inline axis</i> computations cannot be resolved.
20462049
In these cases, the initial containing block's size is used
20472050
as a <i>fallback</i> variable in place of the <i>available inline space</i>
2048-
for calculations that require a definite <i>available inline size</i>.
2051+
for calculations that require a definite <i>available inline space</i>.
20492052

20502053
<p>See [[!CSS3-SIZING]] for further details on CSS sizing terminology and concepts.
20512054

@@ -2680,6 +2683,12 @@ Full-width Characters</h5>
26802683
can potentially affect the selection of variants for characters included in combined text runs.
26812684
Authors are advised to use these properties with care when 'text-combine-upright' is also used.
26822685

2686+
Privacy and Security Considerations {#priv-sec}
2687+
===============================================
2688+
2689+
This specification introduces no new privacy leaks,
2690+
or security considerations beyond “implement it correctly”.
2691+
26832692
<h2 class="no-num" id="changes">Changes</h2>
26842693
<!--
26852694
<h3 class="no-num" id="changes-201311">
@@ -2720,12 +2729,16 @@ Ken Lunde,
27202729
Shunsuke Matsuki,
27212730
Nat McCully, Eric Muller,
27222731
Paul Nelson, Kenzou Onozawa,
2732+
Chris Pratley,
27232733
Xidorn Quan,
27242734
Dwayne Robinson,
27252735
Simon Sapin,
2736+
Marcin Sawicki,
27262737
Dirk Schulze,
27272738
Hajime Shiozawa,
2739+
Alan Stearns,
27282740
Michel Suignard,
2741+
Takao Suzuki,
27292742
Gérard Talbot,
27302743
Masataka Yakura,
27312744
Taro Yamamoto,

0 commit comments

Comments
 (0)