-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 272448.104@safari-7618-branch (8737c03). https://bugs.web…
…kit.org/show_bug.cgi?id=267198 ASAN_ILL | WebCore::RenderTableSection::layoutRows; WebCore::RenderTable::simplifiedNormalFlowLayout; WebCore::RenderBlock::simplifiedLayout. https://bugs.webkit.org/show_bug.cgi?id=267198 rdar://113940614 Reviewed by Alan Baradlay. Always setChildNeedsLayout for sections to make sure normalChildNeedsLayout is flagged, as for pagination we need to run a full layout on child table sections even when the initial change, otherwise requires simplified layout only. * LayoutTests/fast/multicol/pagination/pagination-diry-sections-crash-expected.txt: Added. * LayoutTests/fast/multicol/pagination/pagination-diry-sections-crash.html: Added. * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-002-expected.txt: re-baseline again, adding end of line back. * Source/WebCore/rendering/RenderTable.cpp: (WebCore::RenderTable::markForPaginationRelayoutIfNeeded): Canonical link: https://commits.webkit.org/272448.104@safari-7618-branch Canonical link: https://commits.webkit.org/274313.66@webkitglib/2.44
- Loading branch information
Showing
4 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
LayoutTests/fast/multicol/pagination/pagination-diry-sections-crash-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PASS if no assert in Debug. |
54 changes: 54 additions & 0 deletions
54
LayoutTests/fast/multicol/pagination/pagination-diry-sections-crash.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<head style="display:none"> | ||
<style> | ||
i, | ||
:invalid { | ||
position: absolute; | ||
} | ||
|
||
*:empty { | ||
-webkit-column-rule-width: medium; | ||
} | ||
|
||
*:scope, | ||
ruby { | ||
overflow-y: -webkit-paged-y; | ||
column-rule-width: 81em; | ||
position: static; | ||
} | ||
|
||
:read-only { | ||
display: table-row-group; | ||
perspective: 0px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
|
||
function main() { | ||
try { | ||
var attrs = document.getElementsByTagName("select"); | ||
var v118 = attrs.item(42 % attrs.length); | ||
x2.after(v118); | ||
} catch { } | ||
} | ||
</script> | ||
|
||
<body onload="main()"> | ||
PASS if no assert in Debug. | ||
<ol> | ||
</ol> | ||
<menu> | ||
<menu> | ||
</menu> | ||
<object> | ||
</object> | ||
</menu> | ||
<cite id="x2"> | ||
<i lang="jw"> | ||
<select></select> | ||
</i> | ||
</cite> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ msup: | |
munder: | ||
munderover: | ||
semantics: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters