Skip to content

Commit d78437c

Browse files
committed
[css-text] tab-size applies to inlines
Closes #5489
1 parent 40a7a2c commit d78437c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

css-text-3/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,8 @@ Order of Operations</h4>
15941594
If this distance is less than 0.5<a href="https://www.w3.org/TR/css-values-3/#ch">ch</a>,
15951595
then the subsequent <a>tab stop</a> is used instead.
15961596
<dfn lt="tab stop">Tab stops</dfn> occur at points that are multiples of the [=tab size=]
1597-
from the block's starting content edge.
1597+
from the starting content edge
1598+
of the [=preserved=] [=tab=]'s nearest [=block container=] ancestor.
15981599
The [=tab size=] is given by the 'tab-size' property.
15991600

16001601
<wpt>
@@ -2067,7 +2068,7 @@ Order of Operations</h4>
20672068
Name: tab-size
20682069
Value: <<number>> | <<length>>
20692070
Initial: 8
2070-
Applies to: block containers
2071+
Applies to: inline boxes
20712072
Inherited: yes
20722073
Computed value: the specified number or absolute length
20732074
Animation type: by computed value type
@@ -2085,7 +2086,8 @@ Order of Operations</h4>
20852086
</wpt>
20862087

20872088
<p>This property determines the <dfn id=tab-size-dfn>tab size</dfn> used to render [=preserved=] tab characters (U+0009).
2088-
A <<number>> represents the measure as a multiple of the space character's advance width (U+0020)
2089+
A <<number>> represents the measure as a multiple of the advance width of the space character (U+0020)
2090+
of the nearest [=block container=] ancestor of the [=preserved=] [=tab=],
20892091
including its associated 'letter-spacing' and 'word-spacing'.
20902092
Negative values are not allowed.
20912093

0 commit comments

Comments
 (0)