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

Unified Diff: Source/web/tests/data/display_mode.html

Issue 1285703004: Update css styles after modifying display mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/display_mode.html
diff --git a/Source/web/tests/data/display_mode.html b/Source/web/tests/data/display_mode.html
new file mode 100644
index 0000000000000000000000000000000000000000..13f0a30058a362fa332a64ff16f99e7e6c712414
--- /dev/null
+++ b/Source/web/tests/data/display_mode.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html>
+<style>
+@media all and (display-mode: minimal-ui) {
+ #regular {
+ display: none;
+ }
+}
+@media not all and (display-mode: minimal-ui) {
+ #minimal {
+ display: none;
+ }
+}
+</style>
+<body>
+
+<div id="minimal">minimal-ui</div>
+
+<div id="regular">regular-ui</div>
+
+</body>
+</html>
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698