Commit e470ac59 authored by Matt Woodrow's avatar Matt Woodrow
Browse files

Bug 1551389 - Compare line lists as well as lines when deciding if two frames...

Bug 1551389 - Compare line lists as well as lines when deciding if two frames are on the same line. r=mats

Differential Revision: https://phabricator.services.mozilla.com/D31152

--HG--
extra : moz-landing-system : lando
parent 6770308e
<style>
dl::first-letter { float: right }
* { -webkit-box-shadow: -moz-cellhighlighttext 0px 34px 1px }
</style>
<s dir="RTL">
<dl style="break-inside: avoid">AA</iframe>
......@@ -18,4 +18,5 @@ load 1477831-1.html
load 1504033.html
load 1514544-1.html
load 1547420-1.html
load 1551389-1.html
......@@ -388,6 +388,8 @@ struct InlineBackgroundData {
// Make sure aFrame1 and aFrame2 are in the same continuation of
// blockFrame.
it1.GetContainer() == it2.GetContainer() &&
// And both in the same line list
it1.GetLineList() == it2.GetLineList() &&
// And on the same line in it
it1.GetLine() == it2.GetLine();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment