Skip to content

Commit 322217f

Browse files
committed
[css-display] Define new term 'containing block chain' because css-overflow wants to use it, and maybe some other specs too.
1 parent 013e7b9 commit 322217f

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

css-display/Overview.bs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,18 @@ Appendix A: Glossary</h2>
741741
See [[CSS2]] <a href="http://www.w3.org/TR/CSS2/visuren.html#containing-block">Section 9.1.2</a>
742742
and <a href="http://www.w3.org/TR/CSS2/visudet.html#containing-block-details">Section 10.1</a> for details.
743743

744+
<dt><dfn>containing block chain</dfn>
745+
<dd>
746+
A sequence of successive <a>containing blocks</a>
747+
that form an ancestor-descendant chain
748+
through the <a>containing block</a> relation.
749+
For example, an <a>inline box</a>’s containing block is the content box of its closest <a>block container</a> ancestor;
750+
if that block container is an in-flow <a>block</a>,
751+
then <em>its</em> containing block is formed by its parent <a>block container</a>;
752+
if that grandparent <a>block container</a> is <a>absolutely positioned</a>,
753+
then <em>its</em> containing block is the padding edges of its closest <em>positioned</em> ancestor (not necessarily its parent),
754+
and so on up to the <a>initial containing block</a>.
755+
744756
<dt><dfn>initial containing block</dfn>
745757
<dd>
746758
The <a>containing block</a> of the root element.

0 commit comments

Comments
 (0)