Files
sousa-gecko/testing/web-platform/tests/css/css-tables/insert-after-col-ref.html
T
Emilio Cobos Álvarez 9f8191aba1 Bug 2033384 - Tweak colgroup child suppression. r=layout-reviewers,dshin
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
2026-04-21 14:09:33 +00:00

11 lines
146 B
HTML

<!doctype html>
<style>
.header {
height: 100px;
background-color: green;
}
</style>
<div id="container">
<div class="header"></div>
</div>