Skip to content

Instantly share code, notes, and snippets.

@kenchris
Created January 30, 2012 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenchris/1704649 to your computer and use it in GitHub Desktop.
Save kenchris/1704649 to your computer and use it in GitHub Desktop.
Rubberstamp anyone?
kenneth@kenneth-Precision-T1500:~/swork/Qt5/webkit (master)$ git show
commit f9d00c42b9c85c1d6cdea7b11567f7562a27037e
Author: Kenneth Rohde Christiansen <kenneth@webkit.org>
Date: Mon Jan 30 15:14:25 2012 +0100
Add manual tests for tap highlighting
Reviewed by NOBODY (OOPS!).
* ManualTests/qt/tap-highlighting-colors.html: Added.
* ManualTests/qt/tap-highlighting-images.html: Added.
* ManualTests/qt/tap-highlighting-inlines.html: Added.
diff --git a/ChangeLog b/ChangeLog
index 0e27ce3..ca25653 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-01-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ Add manual tests for tap highlighting
+
+ Reviewed by NOBODY (OOPS!).
+
+ * 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
index 0000000..ff3adec
--- /dev/null
+++ b/ManualTests/qt/tap-highlighting-colors.html
@@ -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
index 0000000..bbeea1a
--- /dev/null
+++ b/ManualTests/qt/tap-highlighting-images.html
@@ -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
index 0000000..c483952
--- /dev/null
+++ b/ManualTests/qt/tap-highlighting-inlines.html
@@ -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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment