Bug 1539017 - Update the parent for the outside ::marker frame in case we moved it to a ColumnSetWrapperFrame ancestor. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D25313
This commit is contained in:
15
layout/base/crashtests/1539017.html
Normal file
15
layout/base/crashtests/1539017.html
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<style>
|
||||||
|
* {
|
||||||
|
column-width: 0em;
|
||||||
|
filter: drop-shadow(1px 0px 0px blue);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
function go() {
|
||||||
|
a.style.cssFloat = "right"
|
||||||
|
document.bgColor = "-"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<body onload=go()>
|
||||||
|
<ol id="a">
|
||||||
|
<li>
|
||||||
@@ -562,3 +562,4 @@ load 1511563.html
|
|||||||
pref(layout.css.column-span.enabled,true) load 1524382.html
|
pref(layout.css.column-span.enabled,true) load 1524382.html
|
||||||
pref(layout.css.column-span.enabled,true) load 1533885.html
|
pref(layout.css.column-span.enabled,true) load 1533885.html
|
||||||
pref(layout.css.column-span.enabled,true) load 1534146.html
|
pref(layout.css.column-span.enabled,true) load 1534146.html
|
||||||
|
pref(layout.css.column-span.enabled,true) load 1539017.html
|
||||||
|
|||||||
@@ -9815,6 +9815,7 @@ void nsCSSFrameConstructor::ProcessChildren(
|
|||||||
listItem = do_QueryFrame(grandParent);
|
listItem = do_QueryFrame(grandParent);
|
||||||
MOZ_ASSERT(listItem, "ColumnSetWrapperFrame is expected to be "
|
MOZ_ASSERT(listItem, "ColumnSetWrapperFrame is expected to be "
|
||||||
"a nsBlockFrame subclass");
|
"a nsBlockFrame subclass");
|
||||||
|
childFrame->SetParent(listItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
listItem->SetMarkerFrameForListItem(childFrame);
|
listItem->SetMarkerFrameForListItem(childFrame);
|
||||||
|
|||||||
Reference in New Issue
Block a user