Skip to content

Commit 0142b72

Browse files
committed
[css-text-decor] Remove conflicting text wrt underline positions.
1 parent 1c85723 commit 0142b72

File tree

3 files changed

+20
-25
lines changed

3 files changed

+20
-25
lines changed

css-text-decor/Overview.html

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -944,16 +944,10 @@ <h3 id=text-underline-position-property><span class=secno>2.6. </span> Text
944944
title="text-underline-position: under"><code
945945
class=css>under</code></dfn>
946946

947-
<dd>In horizontal writing modes, the underline is positioned relative to
948-
the under edge of the element's content box. In this case the underline
949-
usually does not cross the descenders. (This is sometimes called
950-
"accounting" underline.) If the underline affects descendants with a
951-
lower content edge, the user agent should shift the underline down
952-
further to the lowest underlined content box edge. The user agent may
953-
ignore elements with ‘<code class=css>vertical-align</code>’ values
954-
given as lengths, percentages, ‘<code class=css>top</code>’, or
955-
<code class=css>bottom</code>’ when making this adjustment. (Note
956-
that images that are not affected by the underline per ‘<a
947+
<dd>In horizontal writing modes, the underline is positioned <i>under</i>
948+
the element's text content. In this case the underline usually does not
949+
cross the descenders. (This is sometimes called "accounting" underline.)
950+
(Note that images that are not affected by the underline per ‘<a
957951
href="#text-decoration-skip"><code
958952
class=property>text-decoration-skip</code></a>’ will not affect the
959953
position of the underline.)
@@ -1071,7 +1065,7 @@ <h3 id=line-position><span class=secno>2.7. </span> Determining the
10711065
<dd> Align the line decoration with respect to the highest
10721066
<!-- <i>text-over</i> baseline of the considered fragments. --> <a
10731067
href="http://dev.w3.org/csswg/css3-writing-modes/#over"><i>over</i></a>
1074-
edge of the considered fragments' EM boxes.
1068+
edge of the considered fragments’ content boxes.
10751069

10761070
<dt><a href="#underline-alphabetic"><i>alphabetic</i></a> underlines
10771071

@@ -1093,7 +1087,7 @@ <h3 id=line-position><span class=secno>2.7. </span> Determining the
10931087
<dd> Position the line decoration with respect to the lowest
10941088
<!-- <i>text-under</i> baseline of the considered fragments. --> <a
10951089
href="http://dev.w3.org/csswg/css3-writing-modes/#under"><i>under</i></a>
1096-
edge of the considered fragments' EM boxes.
1090+
edge of the considered fragments’ content boxes.
10971091

10981092
<dt>line-throughs
10991093

css-text-decor/Overview.src.html

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -605,15 +605,9 @@ <h3 id="text-underline-position-property">
605605
</div>
606606
<dt><dfn id="underline-under" title="text-underline-position: under">''under''</dfn></dt>
607607
<dd>In horizontal writing modes, the underline is positioned
608-
relative to the under edge of the element's content box.
608+
<i>under</i> the element's text content.
609609
In this case the underline usually does not cross the descenders.
610610
(This is sometimes called "accounting" underline.)
611-
If the underline affects descendants with a lower content edge,
612-
the user agent should shift the underline down further to the
613-
lowest underlined content box edge.
614-
The user agent may ignore elements with ''vertical-align''
615-
values given as lengths, percentages, ''top'', or ''bottom''
616-
when making this adjustment.
617611
(Note that images that are not affected by the underline per
618612
'text-decoration-skip' will not affect the position of the
619613
underline.)
@@ -715,7 +709,7 @@ <h3 id="line-position">
715709
Align the line decoration with respect to the highest
716710
<!-- <i>text-over</i> baseline of the considered fragments. -->
717711
<a href="http://dev.w3.org/csswg/css3-writing-modes/#over"><i>over</i></a> edge
718-
of the considered fragments' EM boxes.
712+
of the considered fragments’ content boxes.
719713

720714
<dt><a href="#underline-alphabetic"><i>alphabetic</i></a> underlines
721715
<dd>
@@ -733,7 +727,7 @@ <h3 id="line-position">
733727
Position the line decoration with respect to the lowest
734728
<!-- <i>text-under</i> baseline of the considered fragments. -->
735729
<a href="http://dev.w3.org/csswg/css3-writing-modes/#under"><i>under</i></a> edge
736-
of the considered fragments' EM boxes.
730+
of the considered fragments’ content boxes.
737731

738732
<dt>line-throughs
739733
<dd>

css-text-decor/issues-lc-2013.txt

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,24 @@ Issue 11.
8585
Summary: Line positioning per-line or across lines?
8686
From: dbaron
8787
Comment: http://lists.w3.org/Archives/Public/www-style/2013Mar/0532.html
88-
Response:
89-
Open
88+
Response: http://lists.w3.org/Archives/Public/www-style/2013May/0145.html
89+
Open: Accepted
9090
----
9191
Issue 12.
92-
Summary: Line decorations should have consistent thickness
92+
Summary: Line decorations should have consistent thickness (ignoring descendants)
9393
From: dbaron
9494
Comment: http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html
95-
Response:
95+
Response: http://lists.w3.org/Archives/Public/www-style/2013May/0146.html
9696
Open
9797
----
9898
Issue 13.
99+
Summary: Line decorations should have consistent position (ignoring descendants)
100+
From: dbaron
101+
Comment: http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html
102+
Response: http://lists.w3.org/Archives/Public/www-style/2013May/0146.html
103+
Open: Rejected
104+
----
105+
Issue 14.
99106
Summary: Underline positioning needs more detail
100107
From: dbaron
101108
Comment: http://lists.w3.org/Archives/Public/www-style/2013Mar/0530.html

0 commit comments

Comments
 (0)