mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Allow table fixup to find internal table boxes in inline parents
This commit is contained in:
committed by
Andreas Kling
parent
e9f5df2131
commit
6cf506d980
Notes:
github-actions[bot]
2026-02-11 08:59:50 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/6cf506d9803 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7861 Reviewed-by: https://github.com/gmta ✅
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<title>CSS Test: CSS Tables fixup merge anonymous inline table siblings (cell + cell)</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<link rel="match" href="../../../../expected/wpt-import/css/css-tables/../reference/ref-filled-green-100px-square-only.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-tables/#fixup-algorithm">
|
||||
<style>
|
||||
.cell {
|
||||
display: table-cell;
|
||||
}
|
||||
.filler {
|
||||
width: 50px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div style="width:100px">
|
||||
<span>
|
||||
<span class="cell">
|
||||
<div class="filler"></div>
|
||||
</span>
|
||||
<span id="rm">Remove me</span>
|
||||
<span class="cell">
|
||||
<div class="filler"></div>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<script>
|
||||
rm.offsetTop;
|
||||
rm.remove();
|
||||
</script>
|
||||
Reference in New Issue
Block a user