Title: [93948] trunk/LayoutTests
Revision
93948
Author
[email protected]
Date
2011-08-27 15:01:33 -0700 (Sat, 27 Aug 2011)

Log Message

Don't rely on hardcoded position in absolute-appended-to-inline.html

Allow test added in r93944 to pass on platforms other than Chromium-Linux.

Unreviewed, fix on r93944.

* fast/block/positioning/absolute-appended-to-inline.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (93947 => 93948)


--- trunk/LayoutTests/ChangeLog	2011-08-27 21:49:46 UTC (rev 93947)
+++ trunk/LayoutTests/ChangeLog	2011-08-27 22:01:33 UTC (rev 93948)
@@ -1,3 +1,13 @@
+2011-08-27  Robert Hogan  <[email protected]>
+
+        Don't rely on hardcoded position in absolute-appended-to-inline.html
+
+        Allow test added in r93944 to pass on platforms other than Chromium-Linux.
+
+        Unreviewed, fix on r93944.
+
+        * fast/block/positioning/absolute-appended-to-inline.html:
+
 2011-08-07  Robert Hogan  <[email protected]>
 
         The child div element with position:absolute will overlap with its parent div when a 'break' element is present in between

Modified: trunk/LayoutTests/fast/block/positioning/absolute-appended-to-inline.html (93947 => 93948)


--- trunk/LayoutTests/fast/block/positioning/absolute-appended-to-inline.html	2011-08-27 21:49:46 UTC (rev 93947)
+++ trunk/LayoutTests/fast/block/positioning/absolute-appended-to-inline.html	2011-08-27 22:01:33 UTC (rev 93948)
@@ -7,7 +7,7 @@
         }
 
         function measureBlockPosition() {
-            if (document.getElementById("block").offsetTop == 28)
+            if (document.getElementById("block").offsetTop > document.getElementById("hover").offsetHeight)
               document.getElementById("console").innerHTML = "SUCCESS";
             layoutTestController.notifyDone();
         }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to