Chromium Code Reviews| Index: LayoutTests/paint/tables/table-section-visual-overflow.html |
| diff --git a/LayoutTests/paint/tables/table-section-visual-overflow.html b/LayoutTests/paint/tables/table-section-visual-overflow.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..64bccd37b4f134654725af863052b58d086dfad1 |
| --- /dev/null |
| +++ b/LayoutTests/paint/tables/table-section-visual-overflow.html |
| @@ -0,0 +1,48 @@ |
| +<!doctype HTML> |
| +<style type="text/css"> |
| + #test |
| + { |
| + display: table-row-group; |
| + outline-color: blue; |
| + outline-style: solid; |
| + outline-width: 10px; |
| + } |
| + #row |
| + { |
| + display: table-row; |
| + } |
| + #table |
| + { |
| + display: table; |
| + table-layout: fixed; |
| + /* Position the table to overlap a raster tile only for outline */ |
| + position: relative; |
| + left: 145px; |
| + } |
| + #cell |
| + { |
| + display: table-cell; |
| + height: 100px; |
| + width: 100px; |
| + } |
| +</style> |
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| +<div id="table"> |
| + <div id="test"> |
| + <div id="row"> |
| + <div id="cell"></div> |
| + </div> |
| + </div> |
| +</div> |
| +<script> |
| +// window.enablePixelTesting = true; |
|
leviw_travelin_and_unemployed
2015/06/02 17:51:11
Leftover comment?
|
| +function repaintTest() { |
| + // Moving to 0px will demonstrate the bug, since the invalidation rectangle will not include |
| + // the outline. |
| + table.style.left = "0px"; |
| +} |
| + |
| +onload = function() { |
| + runRepaintTest(); |
| +} |
| +</script> |