Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
ASSERTION FAILED: layoutState->m_renderer == this in WebCore::RenderB…
…lock::offsetFromLogicalTopOfFirstPage https://bugs.webkit.org/show_bug.cgi?id=155364 <rdar://problem/27720461> Reviewed by David Hyatt. Source/WebCore: RenderNamedFlowThread is considered to be a root for the current renderer context so we need to bail out from the containing block traversal here (like we do for the RenderView). Test: fast/replaced/replaced-element-with-percentage-width-inside-flow-asserts.html * rendering/RenderBox.cpp: (WebCore::RenderBox::computeReplacedLogicalHeightUsing): LayoutTests: * fast/replaced/replaced-element-with-percentage-width-inside-flow-asserts-expected.txt: Added. * fast/replaced/replaced-element-with-percentage-width-inside-flow-asserts.html: Added. Canonical link: https://commits.webkit.org/182844@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
68 additions
and 12 deletions.
- +11 −0 LayoutTests/ChangeLog
- +1 −0 LayoutTests/fast/replaced/replaced-element-with-percentage-width-inside-flow-asserts-expected.txt
- +22 −0 LayoutTests/fast/replaced/replaced-element-with-percentage-width-inside-flow-asserts.html
- +16 −0 Source/WebCore/ChangeLog
- +18 −12 Source/WebCore/rendering/RenderBox.cpp
There are no files selected for viewing
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
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
@@ -0,0 +1 @@ | ||
PASS if no assert in debug. |
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
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title></title> | ||
<style> | ||
canvas { | ||
width: 100%; | ||
position: fixed; | ||
-webkit-flow-into: foobar; | ||
-webkit-writing-mode: vertical-lr; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<canvas></canvas> | ||
PASS if no assert in debug. | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
</script> | ||
</body> | ||
</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
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