Skip to content

Commit 119819e

Browse files
committed
Fix w3c#508 by making display table-* inline on replaced elements
1 parent a8b0188 commit 119819e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

css-tables-3/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,12 @@ spec:css-sizing-3; type:property; text:box-sizing
197197
<p class="advisement">
198198
Authors should not assign a display type from the previous list to replaced elements (eg: input fields or images).
199199
When the 'display' property of a replaced element computes to one of these values,
200-
it is handled instead as though the author had declared
201-
<code>inline</code> (for <a>inline-table</a>, <a>table-cell</a>, <a>table-column</a>) or
202-
<code>block</code> (for all other values).
200+
it is handled instead as though the author had declared either
201+
<code>block</code> (for <a>table</a> display) or
202+
<code>inline</code> (for all other values).
203203
Whitespace collapsing and box generation must happen around those replaced elements
204-
like if they never had any other display type.
204+
like if they never had any table-internal display value applied to them,
205+
and had always been block or inline.
205206
<br/>
206207
</p>
207208

0 commit comments

Comments
 (0)