← Back to release summary

Do not create layout objects for elements inside display:none iframes.

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 65)
Intent stage
None

Summary

The original HTML/CSS specifications were unclear about the intended behavior for elements inside display:none iframes. [Do they get CSS boxes? Are they rendered?] This has led to a divergence in behavior between UAs. The specs are in the process of being clarified, and the new spec matches the behavior of Edge and Gecko [which do not perform box construction or layout]. Note that Chrome's current behavior has negative performance implications. https://github.com/whatwg/html/issues/1813

Standards & signals

View on chromestatus.com