[css-transform] Define "containing block for all descendants" - #2185
Conversation
|
Proposal to address #913 |
|
Tab can you review/merge this? |
| The <a>3D transform functions</a> here extend the set of functions for the 'transform' property. | ||
|
|
||
| Some values of 'perspective', 'transform-style' and 'backface-visibility' result in the creation of a <a href="https://www.w3.org/TR/CSS2/visuren.html#containing-block">containing block</a>, and/or the creation of a <a spec="css2">stacking context</a>. | ||
| Some values of 'perspective', 'transform-style' and 'backface-visibility' result in the creation of a [=containing block for all descendants=], and/or the creation of a <a spec="css21">stacking context</a>. |
There was a problem hiding this comment.
This document doesnt' appear to define the term anywhere. (Unless it was already defined in some section that doesn't show up in this diff? Bikeshed doesn't seem to know the term, tho.) You can't rely on preceding versions of the document for a definition, it needs to be duplicated into here as well.
There was a problem hiding this comment.
I thought I could explicitly export a general definition by <dfn export>. Do you mean that auto-link won't simply cross-reference them? Shall I change it to a <a href> instead?
There was a problem hiding this comment.
The problem is that the definition lives in a previous version of the same shortname. Bikeshed has automatic logic to ignore previous versions of a spec, because that's nearly always what you want to do. In particular, if a later version omits a definition that the previous version had, this was probably for a good reason! You thus don't want autolinking to continue to point to the old version; you want it to fail so you can notice the breakage and update things.
You want to make sure that the latest version of a given spec has all the definitions that you expect to need; in this case that means adding a <dfn> somewhere in this document.
|
r+ after requested changes |
Add a new definition "containing block for all descendants" and specify that values other than 'none' on 'transform', 'transform-style', 'perspective' will cause an element to establish a containg block for all descendants.
Add a new definition "containing block for all descendants" and specify
that values other than 'none' on 'transform', 'transform-style',
'perspective' will cause an element to establish a containg block for
all descendants.