Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: LayoutTests/inspector/styles/override-and-disable-expected.txt

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Another rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/styles/override-and-disable-expected.txt
diff --git a/LayoutTests/inspector/styles/override-and-disable-expected.txt b/LayoutTests/inspector/styles/override-and-disable-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74660aa79963ff7ae15c9d8d0860f44ba222e8cc
--- /dev/null
+++ b/LayoutTests/inspector/styles/override-and-disable-expected.txt
@@ -0,0 +1,33 @@
+Tests that disabling page agent cancels device metrics override.
+
+Override: 480x800
+Page reloaded.
+Screen from page: 480x800
+Window from page: 480x800
+Body from page: 480x800
+Main style:
+[expanded]
+element.style { ()
+
+[expanded]
+media="screen" (override-and-disable.html)
+@media (max-device-height: 800px) and (max-device-width: 480px) (override-and-disable.html:9 -> override-and-disable.html:9:1)
+#main { (override-and-disable.html:10 -> override-and-disable.html:10:5)
+background: green;
+
+[expanded]
+div { (user agent stylesheet)
+display: block;
+
+======== Inherited from body ========
+[expanded]
+media="screen" (override-and-disable.html)
+body { (override-and-disable.html:17 -> override-and-disable.html:17:1)
+font-size: 8px;
+
+
+Disable PageAgent:
+Screen size same as original - OK
+Enable PageAgent:
+Screen size same as original - OK
+
« no previous file with comments | « LayoutTests/inspector/styles/override-and-disable.html ('k') | LayoutTests/inspector/styles/override-screen-size.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698