[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
yael.aharon at nokia.com
yael.aharon at nokia.com
Wed Dec 22 15:47:50 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b7355ab89f49e5dfa8dd4b5c745c5548dae9a88b
Author: yael.aharon at nokia.com <yael.aharon at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Nov 12 16:36:25 2010 +0000
2010-11-12 Yael Aharon <yael.aharon at nokia.com>
Reviewed by Antonio Gomes.
Spatial Navigation: Need better way to control size of content in tests.
https://bugs.webkit.org/show_bug.cgi?id=49398
Add an image and use it in a layout test to define fixed size for all ports.
This also fixes https://bugs.webkit.org/show_bug.cgi?id=43030
* fast/events/spatial-navigation/resources/green.png: Added.
* fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt:
* fast/events/spatial-navigation/snav-clipped-overflowed-content.html:
* platform/qt/Skipped:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 2bec16e..951aab7 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,18 @@
+2010-11-12 Yael Aharon <yael.aharon at nokia.com>
+
+ Reviewed by Antonio Gomes.
+
+ Spatial Navigation: Need better way to control size of content in tests.
+ https://bugs.webkit.org/show_bug.cgi?id=49398
+
+ Add an image and use it in a layout test to define fixed size for all ports.
+ This also fixes https://bugs.webkit.org/show_bug.cgi?id=43030
+
+ * fast/events/spatial-navigation/resources/green.png: Added.
+ * fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt:
+ * fast/events/spatial-navigation/snav-clipped-overflowed-content.html:
+ * platform/qt/Skipped:
+
2010-11-12 Adam Roben <aroben at apple.com>
Skip a timing-out test on Windows XP
diff --git a/LayoutTests/fast/events/spatial-navigation/resources/green.png b/LayoutTests/fast/events/spatial-navigation/resources/green.png
new file mode 100644
index 0000000..35f5dec
Binary files /dev/null and b/LayoutTests/fast/events/spatial-navigation/resources/green.png differ
diff --git a/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt b/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt
index 8b1fde6..cf93b4f 100644
--- a/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt
+++ b/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt
@@ -1,24 +1,14 @@
-That is is a normal link_1.
-This is a scrollable Div created with the CSS property overflow.
-It has a visible link_2.
-
-
-
-
-
-
-... and an overflowed link like link_3.
-
-And this is another normal link_4.
+.
PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
-
+This test tests that a div with css overflow:auto will scroll to reveal its focusable elements
diff --git a/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content.html b/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content.html
index 0a301cb..55b69b5 100644
--- a/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content.html
+++ b/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content.html
@@ -38,6 +38,7 @@
["Down", "2"],
["Down", "3"],
["Up", "2"],
+ ["Up", "2"],
["Up", "1"],
["Up", "start"],
["DONE", "DONE"]
@@ -71,15 +72,17 @@
</head>
<body id="some-content" xmlns="http://www.w3.org/1999/xhtml">
- <p>That is is a normal <a id="start" href="a">link_1</a>.</p>
+ <a id="start" href="a"><img src="resources/green.png" width=30px height=30px></a>
<div class="scroll">
- <p>This is a scrollable Div created with the CSS property overflow.</p>
- <p>It has a visible <a id="1" href="a">link_2</a>.</p>
- <br><br><br><br><br><br>
- <p>... and an overflowed link like <a id="2" href="a">link_3</a>.</p>
+ <a id="1" href="a"><img src="resources/green.png" width=30px height=30px></a>
+ <div></div>
+ <img src="resources/green.png" width=200px height=200px>
+ <div></div>
+ <a id="2" href="a"><img src="resources/green.png" width=30px height=30px></a>.</p>
</div>
- <p>And this is another normal <a id="3" href="a">link_4</a>.</p>
+ <a id="3" href="a"><img src="resources/green.png" width=30px height=30px></a>
<div id="console"></div>
+ <div>This test tests that a div with css overflow:auto will scroll to reveal its focusable elements</div>
</body>
</html>
diff --git a/LayoutTests/platform/qt/Skipped b/LayoutTests/platform/qt/Skipped
index f951b30..26922d1 100644
--- a/LayoutTests/platform/qt/Skipped
+++ b/LayoutTests/platform/qt/Skipped
@@ -5235,10 +5235,6 @@ http/tests/security/mixedContent/insecure-css-in-main-frame.html
http/tests/xmlhttprequest/authorization-header.html
http/tests/xmlhttprequest/null-auth.php
-# Fragile spatial-navigation-test
-# https://bugs.webkit.org/show_bug.cgi?id=43030
-fast/events/spatial-navigation/snav-clipped-overflowed-content.html
-
# Assumes spesific metrics
# See http://code.google.com/p/chromium/issues/detail?id=19897
svg/custom/getscreenctm-in-mixed-content2.xhtml
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list