Skip to content

Commit 59c7407

Browse files
committed
[css-writing-modes-3] Remove newly-added bidi-induced fragmentation spec text from L3 (leave undefined) so as not to add new requirements for advancing to REC. Keep it in L4; updated changes sections accordingly.
1 parent 4675eb8 commit 59c7407

File tree

2 files changed

+6
-75
lines changed

2 files changed

+6
-75
lines changed

css-writing-modes-3/Overview.bs

Lines changed: 1 addition & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -669,78 +669,9 @@ Reordering-induced Box Fragmentation</h4>
669669
bidirectional text can cause an <a>inline box</a> containing such text
670670
to be split and its fragments reordered within a line.
671671

672-
<h5 id="bidi-fragmentation">
673-
Conditions of Reordering-induced Box Fragmentation</h5>
674-
675-
<p>
676-
When bidi reordering would split apart an inline box
677-
due to intervening content,
678-
the inline box is considered to be broken into multiple <a>box fragments</a>.
679-
[[CSS-BREAK-3]]
680-
The box is considered to be thus <a>fragmented</a>
681-
if it would be divided by intervening content on an infinitely long line,
682-
even if line breaking happens to result in both <a>box fragments</a>
683-
being placed adjacent to each other on the line.
684-
In such cases, the nearest common ancestor of text in the two <a>box fragments</a>
685-
(which determines certain aspects of text formatting
686-
such as <a spec="css-text">tracking</a> and <a href="https://www.w3.org/TR/css-text/#text-justify-property">justification</a>
687-
between the two <a>box fragments</a>, see [[CSS-TEXT-3]])
688-
is considered to be the nearest common ancestor of the two <a>box fragments</a>,
689-
not the <a>inline box</a> itself.
690-
However, an <a>inline box</a> is not considered to be broken
691-
into multiple <a>box fragments</a> due to bidi reordering
692-
if no intervening content would force it to split.
693-
(These rules maintain the integrity of an <a>inline box</a> where possible,
694-
while keeping bidi-induced fragmentation stable
695-
across variations in line-breaking.)
696-
<!-- See https://github.com/w3c/csswg-drafts/issues/1509 -->
697-
698-
<div class="example">
699-
In the following example, where lowercase letters represent LTR letters
700-
and uppercase letters represent RTL letters,
701-
bidi reordering causes the <code>&lt;em></code>’s <a>inline box</a>
702-
to be divided into two <a>box fragments</a>
703-
separated by text outside the <code>&lt;em</code>.
704-
705-
Source code (logical order):
706-
<pre>&lt;p>here is &lt;em>some MIXED&lt;/em> TEXT.&lt;/p></pre>
707-
708-
Rendering (visual order) in a wide containing block, resulting in two inline box fragments separated by external content:
709-
<pre>here is <em style="border: 1px solid; border-right: 1px dashed red">some </em>TXET <em style="border: 1px solid; border-left: 1px dashed red">DEXIM</em>.</pre>
710-
711-
Rendering (visual order) in a narrow containing block, resulting in two inline box fragments placed adjacent to each other:
712-
<pre>
713-
here is <em style="border: 1px solid; border-right: 1px dashed red">some </em><em style="border: 1px solid; border-left: 1px dashed red">DEXIM</em>
714-
TXET.
715-
</pre>
716-
</div>
717-
718-
<div class="example">
719-
By contrast, in this example,
720-
where the mixed-direction phrase is kept together with an isolation,
721-
only one fragment is generated--
722-
the surrounding content will never split the <code>&lt;em></code>’s <a>inline box</a>
723-
even inside an infinitely-long containing block:
724-
725-
Source code (logical order):
726-
<pre>&lt;p>here is &lt;em dir=rtl>some MIXED&lt;/em> TEXT.&lt;/p></pre>
727-
728-
Rendering (visual order) in a wide containing block, resulting in one fragment:
729-
<pre>here is <em style="border: 1px solid; ">some DEXIM</em> TXET.</pre>
730-
731-
Rendering (visual order) in a narrow containing block, resulting in one fragment:
732-
<pre>
733-
here is <em style="border: 1px solid; ">some DEXIM</em>
734-
TXET.
735-
</pre>
736-
</div>
737-
738-
<h5 id="bidi-fragment-boxes">
739-
Box Model of Reordering-induced Box Fragments</h5>
740-
741672
<!-- CSS2.1 8.6 -->
742673
<p>For each line box, UAs must take the fragments of each inline box
743-
and assign the margins, borders and padding in visual order (not logical order).
674+
and assign the margins, borders, and padding in visual order (not logical order).
744675
The <a>start</a>-most fragment on the first line box in which the box appears
745676
has the <a>start</a> edge's margin, border, and padding;
746677
and the end-most fragment on the last line box in which the box appears
@@ -2561,8 +2492,6 @@ Privacy and Security Considerations {#priv-sec}
25612492
<li>Fixed the fallback “available space” for orthogonal flows
25622493
to handle 'max-height' (and 'min-height') which it forgot to consider.
25632494
(<a href="https://github.com/w3c/csswg-drafts/issues/2239">Issue 2239</a>)
2564-
<li>Clarified the <a href="#bidi-fragmentation">conditions for bidi reordering-induced fragmentation</a>.
2565-
(<a href="https://github.com/w3c/csswg-drafts/issues/1509">Issue 1509</>)
25662495
</ul>
25672496

25682497
<h3 class="no-num" id="changes-201512">

css-writing-modes-4/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2802,9 +2802,11 @@ New in Level 4</h3>
28022802
The difference from the <a href="https://www.w3.org/TR/css-writing-modes-3/">current CSS Writing Modes Level 3</a> is the set of features that were deferred from Level 3 due to later implementation uptake:
28032803

28042804
<ul>
2805-
<li>The ''sideways-lr'' and ''sideways-rl'' values of 'writing-mode'
2806-
<li>The ''digits'' value of 'text-combine-upright'.
2807-
<li>The <a href="#auto-multicol">automatic multi-column behavior</a> of orthogonal flows.
2805+
<li>Re-introduced ''sideways-lr'' and ''sideways-rl'' values of 'writing-mode'
2806+
<li>Re-introduced the ''digits'' value of 'text-combine-upright'.
2807+
<li>Re-introduced <a href="#auto-multicol">automatic multi-column behavior</a> of orthogonal flows.
2808+
<li>Clarified the <a href="#bidi-fragmentation">conditions for bidi reordering-induced fragmentation</a>.
2809+
(<a href="https://github.com/w3c/csswg-drafts/issues/1509">Issue 1509</>)
28082810
</ul>
28092811
28102812
<h2 class="no-num" id="acknowledgements">

0 commit comments

Comments
 (0)