| Differences between
and this patch
- a/LayoutTests/ChangeLog +15 lines
Lines 1-3 a/LayoutTests/ChangeLog_sec1
1
2013-11-13  Radu Stavila  <stavila@adobe.com>
2
3
        Added test for the overflow of a region being painted across multiple tiles.
4
        Added test for correct repainting of a region's overflow.
5
6
        [CSS Regions] Overflow areas from regions do not redraw
7
        https://bugs.webkit.org/show_bug.cgi?id=117329
8
9
        Reviewed by Antti Koivisto.
10
11
        * fast/regions/regions-overflow-tile-expected.html: Added.
12
        * fast/regions/regions-overflow-tile.html: Added.
13
        * fast/repaint/repaint-regions-overflow-expected.txt: Added.
14
        * fast/repaint/repaint-regions-overflow.html: Added.
15
1
2013-11-21  Mihai Maerean  <mmaerean@adobe.com>
16
2013-11-21  Mihai Maerean  <mmaerean@adobe.com>
2
17
3
        Fix hover area for divs with css transforms
18
        Fix hover area for divs with css transforms
- a/LayoutTests/fast/regions/regions-overflow-tile-expected.html +33 lines
Line 0 a/LayoutTests/fast/regions/regions-overflow-tile-expected.html_sec1
1
<!DOCTYPE html>
2
<html>
3
	<head>
4
		<style>
5
			#region1, #region2 {
6
			    position: absolute;
7
			    width: 500px;
8
			    height: 150px;
9
			    border: 1px solid red;
10
			    padding: 5px;
11
			    background-color: lightgray;
12
			}
13
14
			#region2 {
15
			    left: 60px;
16
			    top: 250px;
17
			}
18
		</style>
19
	</head>
20
	<body style="-webkit-font-smoothing: none;">
21
		<p>On success, no text should be clipped and you should see <span style="color:red">LAST LINE</span> at the bottom of the text</p>
22
23
		<div id="region1">
24
		  	<p>Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.</p>
25
		</div>
26
27
		<div id="region2">
28
			<p style="margin-top: 0px;">Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.</p>
29
		  	<p>Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.</p>
30
		  	<p style="color:red">LAST LINE</p>
31
		</div>
32
	</body>
33
</html>
- a/LayoutTests/fast/regions/regions-overflow-tile.html +38 lines
Line 0 a/LayoutTests/fast/regions/regions-overflow-tile.html_sec1
1
<!DOCTYPE html>
2
<html>
3
	<head>
4
		<style>
5
			#content {
6
				-webkit-flow-into: flow;
7
			}
8
9
			#region1, #region2 {
10
			    position: absolute;
11
			    width: 500px;
12
			    height: 150px;
13
			    -webkit-flow-from: flow;
14
			    border: 1px solid red;
15
			    padding: 5px;
16
			    background-color: lightgray;
17
			}
18
19
			#region2 {
20
			    left: 60px;
21
			    top: 250px;
22
			}
23
		</style>
24
	</head>
25
	<body style="-webkit-font-smoothing: none;">
26
		<p>On success, no text should be clipped and you should see <span style="color:red">LAST LINE</span> at the bottom of the text</p>
27
28
		<div id="content">
29
	  		<p>Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.</p>
30
	  		<p>Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.</p>
31
	  		<p>Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.</p>
32
	  		<p style="color:red">LAST LINE</p>
33
		</div>
34
35
		<div id="region1"></div>
36
		<div id="region2"></div>
37
	</body>
38
</html>
- a/LayoutTests/fast/repaint/repaint-regions-overflow-expected.txt +22 lines
Line 0 a/LayoutTests/fast/repaint/repaint-regions-overflow-expected.txt_sec1
1
On success, no text should be clipped and you should see LAST LINE at the bottom of the text
2
3
Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.
4
5
LAST LINE
6
7
(repaint rects
8
  (rect 106 206 300 100)
9
  (rect 14 72 300 210)
10
  (rect 106 122 300 210)
11
  (rect 14 298 300 18)
12
  (rect 106 348 300 18)
13
  (rect 14 56 300 260)
14
  (rect 106 106 300 260)
15
  (rect 60 150 312 112)
16
  (rect 100 200 312 112)
17
  (rect 14 56 300 260)
18
  (rect 106 106 300 260)
19
  (rect 14 56 300 260)
20
  (rect 106 106 300 260)
21
)
22
- a/LayoutTests/fast/repaint/repaint-regions-overflow.html +47 lines
Line 0 a/LayoutTests/fast/repaint/repaint-regions-overflow.html_sec1
1
<!DOCTYPE html>
2
<html>
3
	<head>
4
		<script src="resources/text-based-repaint.js" type="text/javascript"></script>
5
		
6
		<style>
7
			#content {
8
				-webkit-flow-into: flow;
9
			}
10
11
			#region1, #region2 {
12
			    position: absolute;
13
			    width: 300px;
14
			    height: 100px;
15
			    -webkit-flow-from: flow;
16
			    border: 1px solid red;
17
			    padding: 5px;
18
			    background-color: lightgray;
19
			}
20
21
			#region2 {
22
			    left: 60px;
23
			    top: 150px;
24
			}
25
		</style>
26
	</head>
27
	<body onload="runRepaintTest();">
28
		<p>On success, no text should be clipped and you should see <span style="color:red">LAST LINE</span> at the bottom of the text</p>
29
30
		<div id="content">
31
	  		<p>Above all, avoid lies, all lies, especially the lie to yourself. Keep watch on your own lie and examine it every hour, every minute. And avoid contempt, both of others and of yourself: what seems bad to you in yourself is purified by the very fact that you have noticed it in yourself. And avoid fear, though fear is simply the consequence of every lie. Never be frightened at your own faintheartedness in attaining love, and meanwhile do not even be very frightened by your own bad acts.</p>
32
	  		<p style="color:red">LAST LINE</p>
33
		</div>
34
35
		<div id="region1"></div>
36
		<div id="region2"></div>
37
		
38
		<script type="text/javascript">
39
			function repaintTest() 
40
			{
41
				var region2 = document.getElementById("region2");
42
				region2.style.left = "100px";
43
				region2.style.top = "200px";
44
			}
45
		</script>
46
	</body>
47
</html>

Return to Bug 117329