[css-ruby][css-display][css-tables] Layout-internal replaced elements · w3c/csswg-drafts@2297b7b (original) (raw)

`@@ -400,6 +400,8 @@ Outer Display Roles for Flow Layout: the ''block'', ''inline'', and ''run-in'' k

`

400

400

` See [[#run-in-layout]] for details.

`

401

401

`

`

402

402

``

``

403

`+

Note: [=Outer display types=] do affect [=replaced elements=].

`

``

404

+

403

405

` If a <> value is specified but <> is omitted,

`

404

406

` the element's inner display type defaults to ''flow''.

`

405

407

``

`@@ -510,6 +512,15 @@ Layout-Internal Display Types: the ''table-'' and ''ruby-'' keywords

`

510

512

` of elements using these 'display' values

`

511

513

` are set to the given keyword.

`

512

514

``

``

515

`+

When the 'display' property of a [=replaced element=] computes to

`

``

516

`+

one of the [=layout-internal=] values,

`

``

517

`+

it is handled as having a used value of ''display/inline''.

`

``

518

`+

White space collapsing and anonymous box generation must happen around those replaced elements

`

``

519

`+

based on that ''display/inline'' value,

`

``

520

`+

as if they never had a [=layout-internal=] display value applied to them.

`

``

521

+

``

522

`+

Advisement: Authors should not assign a [=layout-internal=] display value to [=replaced elements=].

`

``

523

+

513

524

` The <> keywords are defined as follows:

`

514

525

``

515

526

`

`