Title: [165243] trunk/LayoutTests
- Revision
- 165243
- Author
- [email protected]
- Date
- 2014-03-06 18:42:02 -0800 (Thu, 06 Mar 2014)
Log Message
Test that the screen orientation does not change when focusing a <textarea>
https://bugs.webkit.org/show_bug.cgi?id=129847
Reviewed by Enrica Casucci.
* fast/css/orientation-changes-on-textarea-focus-expected.html: Added.
* fast/css/orientation-changes-on-textarea-focus.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (165242 => 165243)
--- trunk/LayoutTests/ChangeLog 2014-03-07 02:23:54 UTC (rev 165242)
+++ trunk/LayoutTests/ChangeLog 2014-03-07 02:42:02 UTC (rev 165243)
@@ -1,3 +1,13 @@
+2014-03-06 Andy Estes <[email protected]>
+
+ Test that the screen orientation does not change when focusing a <textarea>
+ https://bugs.webkit.org/show_bug.cgi?id=129847
+
+ Reviewed by Enrica Casucci.
+
+ * fast/css/orientation-changes-on-textarea-focus-expected.html: Added.
+ * fast/css/orientation-changes-on-textarea-focus.html: Added.
+
2014-03-06 Mark Lam <[email protected]>
XMLHttpRequest: status and statusText throw DOM Exception 11 when the state is UNSENT or OPENED.
Added: trunk/LayoutTests/fast/css/orientation-changes-on-textarea-focus-expected.html (0 => 165243)
--- trunk/LayoutTests/fast/css/orientation-changes-on-textarea-focus-expected.html (rev 0)
+++ trunk/LayoutTests/fast/css/orientation-changes-on-textarea-focus-expected.html 2014-03-07 02:42:02 UTC (rev 165243)
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style type="text/css">
+ @media (orientation: landscape) {
+ body:before {
+ content: "landscape";
+ }
+ }
+
+ @media (orientation: portrait) {
+ body:before {
+ content: "portrait";
+ }
+ }
+ </style>
+</head>
+<body>
+ <textarea></textarea>
+</body>
+</html>
Added: trunk/LayoutTests/fast/css/orientation-changes-on-textarea-focus.html (0 => 165243)
--- trunk/LayoutTests/fast/css/orientation-changes-on-textarea-focus.html (rev 0)
+++ trunk/LayoutTests/fast/css/orientation-changes-on-textarea-focus.html 2014-03-07 02:42:02 UTC (rev 165243)
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style type="text/css">
+ @media (orientation: landscape) {
+ body:before {
+ content: "landscape";
+ }
+ }
+
+ @media (orientation: portrait) {
+ body:before {
+ content: "portrait";
+ }
+ }
+ </style>
+</head>
+<body>
+ <textarea></textarea>
+ <script type="text/_javascript_">
+ if (!window.eventSender)
+ return;
+
+ var textArea = document.getElementsByTagName("textarea")[0];
+ var x = textArea.offsetLeft + textArea.offsetWidth / 2;
+ var y = textArea.offsetTop + textArea.offsetHeight / 2;
+ eventSender.mouseMoveTo(x, y);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ </script>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes