Commit ba4495bf authored by stavila@adobe.com's avatar stavila@adobe.com

Created test for testing repaint rects for elements inside relative-positioned regions.

[CSS Regions] clip rectangles are incorrectly computed in some positioned elements
https://bugs.webkit.org/show_bug.cgi?id=114722

Reviewed by Mihnea Ovidenie.

* fast/repaint/increasing-region-content-height-expected.txt: Added.
* fast/repaint/increasing-region-content-height.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9d93140a
2013-11-12 Radu Stavila <stavila@adobe.com>
Created test for testing repaint rects for elements inside relative-positioned regions.
[CSS Regions] clip rectangles are incorrectly computed in some positioned elements
https://bugs.webkit.org/show_bug.cgi?id=114722
Reviewed by Mihnea Ovidenie.
* fast/repaint/increasing-region-content-height-expected.txt: Added.
* fast/repaint/increasing-region-content-height.html: Added.
2013-11-12 Tim Horton <timothy_horton@apple.com>
Fix accessibility/aria-help after r159067.
......
On success, the text inside the region should not be clipped
This text should not get clipped
(repaint rects
(rect 0 18 800 50)
(rect 0 218 800 50)
(rect 0 218 800 50)
(rect 0 18 400 200)
(rect 0 68 400 200)
)
<!DOCTYPE html>
<html>
<head>
<script src="resources/text-based-repaint.js" type="text/javascript"></script>
<style>
div.content {
-webkit-flow-into: flow;
}
p, body {
margin: 0;
}
#region {
-webkit-flow-from: flow;
background-color: lightgray;
position: relative;
width: 400px;
height: 200px;
}
</style>
</head>
<body onload="runRepaintTest();">
<p>On success, the text inside the region should not be clipped</p>
<div id="box"></div>
<div class="content">
<p>This text should not get clipped</p>
</div>
<div id="region"></div>
<script type="text/javascript">
function repaintTest()
{
var box = document.getElementById("box");
box.style.height = "50px";
}
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment