Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[css-display] Export terminology for establishing a FC without saying…
… which

(Follow up on 1457)
  • Loading branch information
frivoal committed May 2, 2018
commit 191712e1fc70972a8af577f03b93e3ac39209f3f
22 changes: 22 additions & 0 deletions css-display-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,28 @@ Appendix A: Glossary</h2>
<p class="example">
As another example, margins do not collapse across [=formatting context=] boundaries.

Specifications may call for an element or box to
<dfn export lt="establishes a formatting context | establish a formatting context | establish a new formatting context | establishes a new formatting context">establish a formatting context</dfn>
without further precision as to the type of formatting context or how to do so.
This operation is not applicable to
non-atomic inline-level boxes
nor to boxes with a layout-internal display-type.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The correct terminology seems "display type" without hyphen. And I reiterate that display types should probably belong only to elements (and pseudo-elements), not boxes, but this problem is all over the spec.

Specifications that invoke this
must either exclude such boxes,
or to blockify them first.
If the box is a block container that does not establish a BFC,
it is made to establish a BFC.
Otherwise, the box already establishes a formatting context, and this operation is a no-op.
This has no effect on the computed value of the display property.

Note: If a specification defines a new type of box which is neither
non atomic inline level,
layout-internal,
block containers,
or some other display type that establishes a FC,
then that specification must define the effect,
of invoking “<a>establishes a formatting context</a>” for that type of box.

<p class="note">
Exclusions are able to affect content across [=formatting context=] boundaries.
(At time of writing, they are the only layout feature that can.)
Expand Down