Title: [93123] trunk/LayoutTests
- Revision
- 93123
- Author
- t...@chromium.org
- Date
- 2011-08-16 10:16:27 -0700 (Tue, 16 Aug 2011)
Log Message
Move media/video-controls-no-scripting-iframe.html into the resources
subdir since it's not a standalone test.
Also add chromium baseline (the top of the video control is in a
different place).
* media/resources/video-controls-no-scripting-iframe.html: Renamed from LayoutTests/media/video-controls-no-scripting-iframe.html.
* media/video-controls-no-scripting.html:
* platform/chromium/media/video-controls-no-scripting-expected.txt: Added.
Modified Paths
Added Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (93122 => 93123)
--- trunk/LayoutTests/ChangeLog 2011-08-16 17:15:06 UTC (rev 93122)
+++ trunk/LayoutTests/ChangeLog 2011-08-16 17:16:27 UTC (rev 93123)
@@ -1,3 +1,15 @@
+2011-08-16 Tony Chang <t...@chromium.org>
+
+ Move media/video-controls-no-scripting-iframe.html into the resources
+ subdir since it's not a standalone test.
+
+ Also add chromium baseline (the top of the video control is in a
+ different place).
+
+ * media/resources/video-controls-no-scripting-iframe.html: Renamed from LayoutTests/media/video-controls-no-scripting-iframe.html.
+ * media/video-controls-no-scripting.html:
+ * platform/chromium/media/video-controls-no-scripting-expected.txt: Added.
+
2011-08-16 Adam Roben <aro...@apple.com>
Update Windows results for a fast/text test for Safari 5.1's AAS
Copied: trunk/LayoutTests/media/resources/video-controls-no-scripting-iframe.html (from rev 93120, trunk/LayoutTests/media/video-controls-no-scripting-iframe.html) (0 => 93123)
--- trunk/LayoutTests/media/resources/video-controls-no-scripting-iframe.html (rev 0)
+++ trunk/LayoutTests/media/resources/video-controls-no-scripting-iframe.html 2011-08-16 17:16:27 UTC (rev 93123)
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+ <head>
+ <style> #error { display: none; } </style>
+ <script>
+ function showErrorMsg()
+ {
+ document.getElementById('error').style.display = 'block';
+ }
+ </script>
+ </head>
+
+ <body _onload_="showErrorMsg()">
+
+ <video>
+ <source src="" type="video/mp4">
+ <source src="" type="video/ogg">
+ </video>
+
+ <noscript><p>Scripting is DISABLED.</p></noscript>
+
+ <p id=error>ERROR: _javascript_ must be disabled for this test.</p>
+
+ </body>
+</html>
Property changes: trunk/LayoutTests/media/resources/video-controls-no-scripting-iframe.html
Added: svn:eol-style
Deleted: trunk/LayoutTests/media/video-controls-no-scripting-iframe.html (93122 => 93123)
--- trunk/LayoutTests/media/video-controls-no-scripting-iframe.html 2011-08-16 17:15:06 UTC (rev 93122)
+++ trunk/LayoutTests/media/video-controls-no-scripting-iframe.html 2011-08-16 17:16:27 UTC (rev 93123)
@@ -1,25 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <style> #error { display: none; } </style>
- <script>
- function showErrorMsg()
- {
- document.getElementById('error').style.display = 'block';
- }
- </script>
- </head>
-
- <body _onload_="showErrorMsg()">
-
- <video>
- <source src="" type="video/mp4">
- <source src="" type="video/ogg">
- </video>
-
- <noscript><p>Scripting is DISABLED.</p></noscript>
-
- <p id=error>ERROR: _javascript_ must be disabled for this test.</p>
-
- </body>
-</html>
Modified: trunk/LayoutTests/media/video-controls-no-scripting.html (93122 => 93123)
--- trunk/LayoutTests/media/video-controls-no-scripting.html 2011-08-16 17:15:06 UTC (rev 93122)
+++ trunk/LayoutTests/media/video-controls-no-scripting.html 2011-08-16 17:16:27 UTC (rev 93123)
@@ -24,7 +24,7 @@
<body>
- <iframe sandbox src="" id="fr" style="width: 400px; height: 320px; border: 1px solid black;"></iframe>
+ <iframe sandbox src="" id="fr" style="width: 400px; height: 320px; border: 1px solid black;"></iframe>
<p>Tests that the built-in controls are always enabled when _javascript_ is disabled.</p>
<pre id="console"></pre>
Added: trunk/LayoutTests/platform/chromium/media/video-controls-no-scripting-expected.txt (0 => 93123)
--- trunk/LayoutTests/platform/chromium/media/video-controls-no-scripting-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/chromium/media/video-controls-no-scripting-expected.txt 2011-08-16 17:16:27 UTC (rev 93123)
@@ -0,0 +1,9 @@
+
+Tests that the built-in controls are always enabled when _javascript_ is disabled.
+
+EXPECTED (internals.shadowRoot(video) != 'null') OK
+EXPECTED (controls.offsetTop + controls.offsetHeight <= '150') OK
+EXPECTED (getComputedStyle(controls).opacity == '1') OK
+
+END OF TEST
+
Property changes on: trunk/LayoutTests/platform/chromium/media/video-controls-no-scripting-expected.txt
___________________________________________________________________
Added: svn:eol-style
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes