Add manual tests for tap highlighting
authorkenneth@webkit.org <kenneth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Jan 2012 15:05:18 +0000 (15:05 +0000)
committerkenneth@webkit.org <kenneth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Jan 2012 15:05:18 +0000 (15:05 +0000)
Rubberstamped by Simon Hausmann.

* ManualTests/qt/tap-highlighting-colors.html: Added.
* ManualTests/qt/tap-highlighting-images.html: Added.
* ManualTests/qt/tap-highlighting-inlines.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106241 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
ManualTests/qt/tap-highlighting-colors.html [new file with mode: 0644]
ManualTests/qt/tap-highlighting-images.html [new file with mode: 0644]
ManualTests/qt/tap-highlighting-inlines.html [new file with mode: 0644]

index 0e27ce3..a993e0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-01-30  Kenneth Rohde Christiansen  <kenneth@webkit.org>
+
+        Add manual tests for tap highlighting
+
+        Rubberstamped by Simon Hausmann.
+
+        * ManualTests/qt/tap-highlighting-colors.html: Added.
+        * ManualTests/qt/tap-highlighting-images.html: Added.
+        * ManualTests/qt/tap-highlighting-inlines.html: Added.
+
 2012-01-30  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
 
         Manual test of number of resize events emitted during page generation.
diff --git a/ManualTests/qt/tap-highlighting-colors.html b/ManualTests/qt/tap-highlighting-colors.html
new file mode 100644 (file)
index 0000000..ff3adec
--- /dev/null
@@ -0,0 +1,12 @@
+<h1>
+<input style='' type='text' value="undefined">
+<input style='-webkit-tap-highlight-color: rgb(255, 255, 255);' type='text' value="rgb(255, 255, 255)">
+<input style='-webkit-tap-highlight-color: rgb(0, 0, 0);' type='text' value="rgb(0, 0, 0)">
+<input style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);' type='text' value="rgba(0, 0, 0, 0)">
+<input style='-webkit-tap-highlight-color: rgb(255, 0, 0);' type='text' value="rgb(255, 0, 0)">
+<input style='-webkit-tap-highlight-color: rgba(255, 0, 0, 0.5);' type='text' value="rgba(255, 0, 0, 0.5)">
+<input style='-webkit-tap-highlight-color: rgba(255, 0, 0, 1);' type='text' value="rgba(255, 0, 0, 1)">
+<input style='-webkit-tap-highlight-color: rgba(255, 0, 0, 0);' type='text' value="rgba(255, 0, 0, 0)">
+<input style='-webkit-tap-highlight-color: rgba(0, 255, 0, 0.5);' type='text' value="rgba(0, 255, 0, 0.5)">
+<input style='-webkit-tap-highlight-color: rgba(0, 0, 255, 0.5);' type='text' value="rgba(0, 0, 255, 0.5)">
+</h1>
diff --git a/ManualTests/qt/tap-highlighting-images.html b/ManualTests/qt/tap-highlighting-images.html
new file mode 100644 (file)
index 0000000..bbeea1a
--- /dev/null
@@ -0,0 +1,6 @@
+<body style="background-color: green">
+    <p>Two anchors, one around a pure image, the other around an image embedded in a div.</p>
+
+    <a href=""><img src="../resources/apple.jpg"></a>
+    <a href=""><div style="background-color: blue;"><img style="display: block; margin-left: auto; margin-right: auto;" src="../resources/apple.jpg"></div></a>
+</body>
diff --git a/ManualTests/qt/tap-highlighting-inlines.html b/ManualTests/qt/tap-highlighting-inlines.html
new file mode 100644 (file)
index 0000000..c483952
--- /dev/null
@@ -0,0 +1,9 @@
+<body>
+    <p style="width: 10em; background-color: gray">
+    <a href="">some link</a><br><br>
+    <a href="">some link breaking lines</a><br><br>
+    hola mundo! <a href="">a split up link</a><br><br>
+    hello world <a href="">some link also breaking</a><br><br>
+    hi there <a href="">some link that is breaking multiple lines just for the very fun of it</a><br><br>
+    </p>
+</body>