Title: [116128] trunk/LayoutTests
- Revision
- 116128
- Author
- apav...@chromium.org
- Date
- 2012-05-04 10:57:51 -0700 (Fri, 04 May 2012)
Log Message
Unreviewed, build fix.
Move Chromium-specific test into platform/chromium.
* platform/chromium/inspector/styles/device-metrics-fit-window-expected.txt: Renamed from LayoutTests/inspector/styles/device-metrics-fit-window-expected.txt.
* platform/chromium/inspector/styles/device-metrics-fit-window.html: Renamed from LayoutTests/inspector/styles/device-metrics-fit-window.html.
Modified Paths
Added Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (116127 => 116128)
--- trunk/LayoutTests/ChangeLog 2012-05-04 17:55:20 UTC (rev 116127)
+++ trunk/LayoutTests/ChangeLog 2012-05-04 17:57:51 UTC (rev 116128)
@@ -1,3 +1,11 @@
+2012-05-04 Alexander Pavlov <apav...@chromium.org>
+
+ Unreviewed, build fix.
+ Move Chromium-specific test into platform/chromium.
+
+ * platform/chromium/inspector/styles/device-metrics-fit-window-expected.txt: Renamed from LayoutTests/inspector/styles/device-metrics-fit-window-expected.txt.
+ * platform/chromium/inspector/styles/device-metrics-fit-window.html: Renamed from LayoutTests/inspector/styles/device-metrics-fit-window.html.
+
2012-05-04 Tommy Widenflycht <tom...@google.com>
MediaStream API: Make PeerConnection00's API fully compliant with the draft
Deleted: trunk/LayoutTests/inspector/styles/device-metrics-fit-window-expected.txt (116127 => 116128)
--- trunk/LayoutTests/inspector/styles/device-metrics-fit-window-expected.txt 2012-05-04 17:55:20 UTC (rev 116127)
+++ trunk/LayoutTests/inspector/styles/device-metrics-fit-window-expected.txt 2012-05-04 17:57:51 UTC (rev 116128)
@@ -1,5 +0,0 @@
-Tests that emulating device metrics with "Fit window" for a small FrameView correctly downscales page content.
-
-123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
-document: 780x585, #main: 1024x84
-
Deleted: trunk/LayoutTests/inspector/styles/device-metrics-fit-window.html (116127 => 116128)
--- trunk/LayoutTests/inspector/styles/device-metrics-fit-window.html 2012-05-04 17:55:20 UTC (rev 116127)
+++ trunk/LayoutTests/inspector/styles/device-metrics-fit-window.html 2012-05-04 17:57:51 UTC (rev 116128)
@@ -1,65 +0,0 @@
-<html>
-<head>
-
-<style type="text/css" media="screen">
-body {
- margin: 0;
-}
-
-#main {
- width: 1024px;
-}
-</style>
-
-<script src=""
-<script>
-
-function mainElement()
-{
- return document.getElementById("main");
-}
-
-function getDimensions()
-{
- return JSON.stringify({
- width: document.width,
- height: document.height,
- mainWidth: mainElement().offsetWidth,
- mainHeight: mainElement().offsetHeight
- });
-}
-
-function test()
-{
- function finalCallback(result)
- {
- var value = JSON.parse(result.value);
- InspectorTest.addResult("document: " + value.width + "x" + value.height + ", #main: " + value.mainWidth + "x" + value.mainHeight);
- InspectorTest.completeTest();
- }
-
- function overrideCallback()
- {
- InspectorTest.evaluateInPage("getDimensions()", finalCallback);
- }
-
- PageAgent.enable();
- PageAgent.setDeviceMetricsOverride(1024, 768, 1, true, overrideCallback);
-}
-</script>
-</head>
-
-<body _onload_="runTest()">
-<p>
-Tests that emulating device metrics with "Fit window" for a small FrameView correctly downscales page content.
-</p>
-
-<div id="main">
-123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
-123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
-123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
-123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
-123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
-</div>
-</body>
-</html>
Copied: trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window-expected.txt (from rev 116127, trunk/LayoutTests/inspector/styles/device-metrics-fit-window-expected.txt) (0 => 116128)
--- trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window-expected.txt 2012-05-04 17:57:51 UTC (rev 116128)
@@ -0,0 +1,5 @@
+Tests that emulating device metrics with "Fit window" for a small FrameView correctly downscales page content.
+
+123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
+document: 780x585, #main: 1024x84
+
Property changes: trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window-expected.txt
Added: svn:eol-style
Copied: trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window.html (from rev 116127, trunk/LayoutTests/inspector/styles/device-metrics-fit-window.html) (0 => 116128)
--- trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window.html (rev 0)
+++ trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window.html 2012-05-04 17:57:51 UTC (rev 116128)
@@ -0,0 +1,65 @@
+<html>
+<head>
+
+<style type="text/css" media="screen">
+body {
+ margin: 0;
+}
+
+#main {
+ width: 1024px;
+}
+</style>
+
+<script src=""
+<script>
+
+function mainElement()
+{
+ return document.getElementById("main");
+}
+
+function getDimensions()
+{
+ return JSON.stringify({
+ width: document.width,
+ height: document.height,
+ mainWidth: mainElement().offsetWidth,
+ mainHeight: mainElement().offsetHeight
+ });
+}
+
+function test()
+{
+ function finalCallback(result)
+ {
+ var value = JSON.parse(result.value);
+ InspectorTest.addResult("document: " + value.width + "x" + value.height + ", #main: " + value.mainWidth + "x" + value.mainHeight);
+ InspectorTest.completeTest();
+ }
+
+ function overrideCallback()
+ {
+ InspectorTest.evaluateInPage("getDimensions()", finalCallback);
+ }
+
+ PageAgent.enable();
+ PageAgent.setDeviceMetricsOverride(1024, 768, 1, true, overrideCallback);
+}
+</script>
+</head>
+
+<body _onload_="runTest()">
+<p>
+Tests that emulating device metrics with "Fit window" for a small FrameView correctly downscales page content.
+</p>
+
+<div id="main">
+123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
+123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
+123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
+123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
+123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
+</div>
+</body>
+</html>
Property changes: trunk/LayoutTests/platform/chromium/inspector/styles/device-metrics-fit-window.html
Added: svn:eol-style
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes