Title: [132077] trunk/LayoutTests
- Revision
- 132077
- Author
- [email protected]
- Date
- 2012-10-22 09:07:45 -0700 (Mon, 22 Oct 2012)
Log Message
Convert fast/sub-pixel/float-containing-block-with-margin.html to text test
https://bugs.webkit.org/show_bug.cgi?id=99866
Reviewed by Eric Seidel.
fast/sub-pixel/float-containing-block-with-margin.html doesn't
need to be a pixel test, convert it to a text one.
* fast/sub-pixel/float-containing-block-with-margin-expected.txt:
* fast/sub-pixel/float-containing-block-with-margin.html:
* platform/chromium-linux/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
* platform/chromium-mac-lion/fast/sub-pixel: Removed.
* platform/chromium-mac-snowleopard/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
* platform/chromium-mac/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
* platform/chromium-win/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
Modified Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (132076 => 132077)
--- trunk/LayoutTests/ChangeLog 2012-10-22 15:52:23 UTC (rev 132076)
+++ trunk/LayoutTests/ChangeLog 2012-10-22 16:07:45 UTC (rev 132077)
@@ -1,3 +1,21 @@
+2012-10-22 Emil A Eklund <[email protected]>
+
+ Convert fast/sub-pixel/float-containing-block-with-margin.html to text test
+ https://bugs.webkit.org/show_bug.cgi?id=99866
+
+ Reviewed by Eric Seidel.
+
+ fast/sub-pixel/float-containing-block-with-margin.html doesn't
+ need to be a pixel test, convert it to a text one.
+
+ * fast/sub-pixel/float-containing-block-with-margin-expected.txt:
+ * fast/sub-pixel/float-containing-block-with-margin.html:
+ * platform/chromium-linux/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
+ * platform/chromium-mac-lion/fast/sub-pixel: Removed.
+ * platform/chromium-mac-snowleopard/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
+ * platform/chromium-mac/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
+ * platform/chromium-win/fast/sub-pixel/float-containing-block-with-margin-expected.png: Removed.
+
2012-10-22 Bruno de Oliveira Abinader <[email protected]>
[css3-text] Add rendering support for -webkit-text-decoration-style
Modified: trunk/LayoutTests/fast/sub-pixel/float-containing-block-with-margin-expected.txt (132076 => 132077)
--- trunk/LayoutTests/fast/sub-pixel/float-containing-block-with-margin-expected.txt 2012-10-22 15:52:23 UTC (rev 132076)
+++ trunk/LayoutTests/fast/sub-pixel/float-containing-block-with-margin-expected.txt 2012-10-22 16:07:45 UTC (rev 132077)
@@ -1,3 +1,4 @@
+PASS All list items are on the same line
Lorem ipsum
dolor sit amet
consectetur adipiscing elit
Modified: trunk/LayoutTests/fast/sub-pixel/float-containing-block-with-margin.html (132076 => 132077)
--- trunk/LayoutTests/fast/sub-pixel/float-containing-block-with-margin.html 2012-10-22 15:52:23 UTC (rev 132076)
+++ trunk/LayoutTests/fast/sub-pixel/float-containing-block-with-margin.html 2012-10-22 16:07:45 UTC (rev 132077)
@@ -1,14 +1,11 @@
<!DOCTYPE html>
<html>
<head>
+ <script src=""
<style>
ul > li { float: right; background: skyblue; }
ul > li > a { display: block; margin: 10.5px; text-decoration: none; }
</style>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText(true);
- </script>
</head>
<body>
<ul>
@@ -17,5 +14,18 @@
<li><a href="" adipiscing elit</a></li>
</ul>
Links to the right should not wrap.
+
+ <script>
+ var elements = document.getElementsByTagName('li');
+ function getItemHeight(i)
+ {
+ return elements[i].getBoundingClientRect().top;
+ }
+
+ if (getItemHeight(0) == getItemHeight(1) && getItemHeight(0) == getItemHeight(2))
+ testPassed('All list items are on the same line');
+ else
+ testFailed('Expected all list items to be on the same line.');
+ </script>
</body>
</html>
Deleted: trunk/LayoutTests/platform/chromium-linux/fast/sub-pixel/float-containing-block-with-margin-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac/fast/sub-pixel/float-containing-block-with-margin-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac-snowleopard/fast/sub-pixel/float-containing-block-with-margin-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/fast/sub-pixel/float-containing-block-with-margin-expected.png
(Binary files differ)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes