mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-29 06:22:53 +00:00
PaintableWithLines created from inline nodes need to examine their children to fully compute their size and offset as nested children might have textnodes that are placed before their parent. Fixes #1286
21 lines
519 B
HTML
21 lines
519 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../expected/inline-nested-node-ref.html">
|
|
<style>
|
|
.bluebg {
|
|
background-color: #0000FF7F;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div>
|
|
<span class="bluebg">1<span>2</span></span>
|
|
</div>
|
|
<div>
|
|
<span class="bluebg"><span>1</span>2</span>
|
|
</div>
|
|
<div>
|
|
<span class="bluebg">1<span>2</span>3<span>4</span></span><span>consecutive inline item</span>
|
|
</div>
|
|
<div>
|
|
<span class="bluebg"><span>2</span><span>4</span></span>
|
|
</div>
|
|
</body>
|