Skip to content

Commit 5ae5455

Browse files
committed
Use 'glyphs' rather than 'text' as a value for 'line-box-contain', and include 'glyphs' in the dl of the property values, based on discussion on www-style today between me and hyatt.
1 parent e567c7e commit 5ae5455

2 files changed

Lines changed: 20 additions & 10 deletions

File tree

css3-linebox/Overview.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131

3232
<h1 id=css3-module>CSS3 module: line</h1>
3333

34-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 23 February 2008</h2>
34+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 16 March 2011</h2>
3535

3636
<dl>
3737
<dt>This version:
38-
<!--<dd><a href="http://www.w3.org/TR/2008/ED-css3-linebox-20080223/">http://www.w3.org/TR/2008/ED-css3-linebox-20080223/</a></dd>-->
38+
<!--<dd><a href="http://www.w3.org/TR/2011/ED-css3-linebox-20110316/">http://www.w3.org/TR/2011/ED-css3-linebox-20110316/</a></dd>-->
3939

4040

4141
<dd>[no permanent URL]
@@ -79,7 +79,7 @@ <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 23 February 2008</h2>
7979
<!--begin-copyright-->
8080
<p class=copyright><a
8181
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
82-
rel=license>Copyright</a> &copy; 2008 <a
82+
rel=license>Copyright</a> &copy; 2011 <a
8383
href="http://www.w3.org/"><acronym title="World Wide Web
8484
Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
8585
href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute
@@ -907,8 +907,8 @@ <h4 id=LineStacking><span class=secno>3.4.2. </span>Line Stacking: the
907907
<tr>
908908
<td><em>Value:</em>
909909

910-
<td>[ block || inline || font || text || replaced || inline-box ] | none
911-
| inherit | initial
910+
<td>[ block || inline || font || glyphs || replaced || inline-box ] |
911+
none | inherit | initial
912912

913913
<tr>
914914
<td><em>Initial:</em>
@@ -974,6 +974,11 @@ <h4 id=LineStacking><span class=secno>3.4.2. </span>Line Stacking: the
974974
class=property>all-space-treatment</code>&rsquo; properties. <span
975975
class=issue>[LDB: This isn't quite right. What about zwnj, etc.?</span>
976976

977+
<dt>glyphs
978+
979+
<dd>The block progression dimension of all the glyph bounding boxes of
980+
glyphs in the line box must fit within the line box.
981+
977982
<dt>replaced
978983

979984
<dd>The margin box of all <span title="replaced element"><a
@@ -1056,7 +1061,7 @@ <h4 id=LineStacking><span class=secno>3.4.2. </span>Line Stacking: the
10561061
is not automatically restricted to replaced elements.]</span>
10571062

10581063
<li>For each box that has <span class=css>&lsquo;<code
1059-
class=property>text</code>&rsquo;</span> in <span
1064+
class=property>glyphs</code>&rsquo;</span> in <span
10601065
class=property>&lsquo;<a href="#line-box-contain"><code
10611066
class=property>line-box-contain</code></a>&rsquo;</span>, the top of the
10621067
line box must be at least as high as the top of each glyph in the box
@@ -4182,8 +4187,8 @@ <h2 id=properties><span class=secno>6. </span>Properties index</h2>
41824187
<tr valign=baseline>
41834188
<td><a class=property href="#line-box-contain">line-box-contain</a>
41844189

4185-
<td>[ block || inline || font || text || replaced || inline-box ] | none
4186-
| inherit | initial
4190+
<td>[ block || inline || font || glyphs || replaced || inline-box ] |
4191+
none | inherit | initial
41874192

41884193
<td>block inline replaced
41894194

css3-linebox/Overview.src.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ <h4 id="LineStacking">Line Stacking: the
566566
<tr>
567567
<td><em>Value:</em>
568568

569-
<td>[ block || inline || font || text || replaced || inline-box ] | none |
569+
<td>[ block || inline || font || glyphs || replaced || inline-box ] | none |
570570
inherit | initial
571571

572572
<tr>
@@ -625,6 +625,11 @@ <h4 id="LineStacking">Line Stacking: the
625625
class="issue">[LDB: This isn't quite right. What about zwnj,
626626
etc.?</span>
627627

628+
<dt>glyphs
629+
630+
<dd>The block progression dimension of all the glyph bounding boxes of
631+
glyphs in the line box must fit within the line box.</dd>
632+
628633
<dt>replaced
629634

630635
<dd>The margin box of all <span title="replaced element"><a
@@ -691,7 +696,7 @@ <h4 id="LineStacking">Line Stacking: the
691696
does the job, except that it is not automatically restricted to replaced
692697
elements.]</span>
693698

694-
<li>For each box that has <span class="css">'text'</span> in <span
699+
<li>For each box that has <span class="css">'glyphs'</span> in <span
695700
class="property">'line-box-contain'</span>,
696701
the top of the line box must be at least as high as the top of each glyph in
697702
the box (excluding those in child elements). The bottom of the line box must

0 commit comments

Comments
 (0)