This code comes all the way back from bug 480979. What happens here is as follows: * There are two table-column items, with their relevant anonymous wrapper. Why the page uses `display: table-column` for this escapes my understanding. * We insert the header next to them. We compute the parent frame to be the (anonymous) nsTableColumnGroup frame, because it's our sibling's parent. * We decide you're not a column, and thus you get suppressed. We don't create FrameConstructionItems for it. * We don't realize in WipeContainingBlock that things went wrong, and fail miserably. Fortunately we can tweak this to perform the suppression later in the pipeline. Differential Revision: https://phabricator.services.mozilla.com/D295265
11 lines
146 B
HTML
11 lines
146 B
HTML
<!doctype html>
|
|
<style>
|
|
.header {
|
|
height: 100px;
|
|
background-color: green;
|
|
}
|
|
</style>
|
|
<div id="container">
|
|
<div class="header"></div>
|
|
</div>
|