Title: [150458] trunk/LayoutTests
Revision
150458
Author
[email protected]
Date
2013-05-21 11:21:14 -0700 (Tue, 21 May 2013)

Log Message

[CSSRegions] Remove percentages from offsetLeft/offsetTop tests to avoid sub-pixel errors
https://bugs.webkit.org/show_bug.cgi?id=116544

Patch by Radu Stavila <[email protected]> on 2013-05-21
Reviewed by Andreas Kling.

* fast/regions/offsetLeft-offsetTop-in-multiple-regions.html:
* fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (150457 => 150458)


--- trunk/LayoutTests/ChangeLog	2013-05-21 18:15:39 UTC (rev 150457)
+++ trunk/LayoutTests/ChangeLog	2013-05-21 18:21:14 UTC (rev 150458)
@@ -1,3 +1,13 @@
+2013-05-21  Radu Stavila  <[email protected]>
+
+        [CSSRegions] Remove percentages from offsetLeft/offsetTop tests to avoid sub-pixel errors
+        https://bugs.webkit.org/show_bug.cgi?id=116544
+
+        Reviewed by Andreas Kling.
+
+        * fast/regions/offsetLeft-offsetTop-in-multiple-regions.html:
+        * fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html:
+
 2013-05-20  Jer Noble  <[email protected]>
 
         Implement overlap avoidance for cues with snap-to-lines flag not set

Modified: trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-multiple-regions.html (150457 => 150458)


--- trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-multiple-regions.html	2013-05-21 18:15:39 UTC (rev 150457)
+++ trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-multiple-regions.html	2013-05-21 18:21:14 UTC (rev 150458)
@@ -25,7 +25,7 @@
 			height: 470px;
 			padding-left: 5px;
 			margin: 5px;
-			margin-left: 5%;
+			margin-left: 10px;
 			left: 40px;
 			-webkit-flow-into: flow2;
 		}
@@ -116,7 +116,7 @@
 
 		#first_region2 {
 			position: relative;
-			left: 449px;
+			left: 464px;
 			top: -140px;
 			width: 500px;
 			height: 160px;
@@ -124,7 +124,7 @@
 
 		#second_region2 {
 			position: relative;
-			left: 418px;
+			left: 424px;
 			top: -94px;
 			width: 330px;
 			height: 150px;
@@ -132,7 +132,7 @@
 
 		#third_region2 {
 			position: relative;
-			left: 565px;
+			left: 569px;
 			top: -66px;
 			width: 282px;
 			height: 195px;

Modified: trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html (150457 => 150458)


--- trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html	2013-05-21 18:15:39 UTC (rev 150457)
+++ trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html	2013-05-21 18:21:14 UTC (rev 150458)
@@ -33,18 +33,18 @@
 			height: 146px;
 			padding-left: 5px;
 			margin: 5px;
-			margin-left: 5%;
+			margin-left: 10px;
 			left: 40px;
 			-webkit-flow-into: flow3;
 		}
 
 		#divMain4 {
 			border: 2px solid blue;
-			width: 90%;
+			width: 225px;
 			height: 120px;
 			padding-left: 5px;
 			padding-top: 5px;
-			margin: 3.5%;
+			margin: 8px;
 			-webkit-flow-into: flow4;
 		}
 
@@ -121,7 +121,7 @@
 			border: 1px solid red;
 			position: relative;
 			margin-top: 20px;
-			left: 562px;
+			left: 564px;
 			top: 53px;
 			width: 250px;
 			height: 160px;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to