mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
dc94df9c46
Without this change, nsBlockFrame::ReflowBlockFrame will fail to have mayNeedRetry true, which means that it won't set blockHTMLRS.mDiscoveredClearance, which means that on a descendant replaced block we will fail to fall into any of the cases that call ClearFloats. This change will cause us to hit the first ClearFloats call and discover the need for clearance. I tested locally that the new reftest fails without the patch and passes with the patch.
27 lines
734 B
HTML
27 lines
734 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Bug 478834 Testcase</title>
|
|
<style>
|
|
html { overflow: hidden }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div style="background:teal; width: 500px">
|
|
<div style="background:yellow; float:left; width: 100px; height: 50px;"></div>
|
|
<div style="margin-right: 150px">
|
|
<table width="100%" style="background: fuchsia">
|
|
<tr><td>
|
|
x x x x x x x x x x x x x x x x x x x x x x
|
|
x x x x x x x x x x x x x x x x x x x x x x
|
|
x x x x x x x x x x x x x x x x x x x x x x
|
|
x x x x x x x x x x x x x x x x x x x x x x
|
|
x x x x x x x x x x x x x x x x x x x x x x
|
|
x x x x x x x x x x x x x x x x x x x x x x
|
|
</td></tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|