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

Unified Diff: Source/web/tests/data/pageserializer/css/css_test_page.html

Issue 1203873004: Retrieve resources from media and supports query rules while serializing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Indent media query and rename div Created 5 years, 6 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: Source/web/tests/data/pageserializer/css/css_test_page.html
diff --git a/Source/web/tests/data/pageserializer/css/css_test_page.html b/Source/web/tests/data/pageserializer/css/css_test_page.html
index badff29f68f73ce50db801940325cfdf8340a1cc..9d90315485c18984acbe27d09d657827e5c6529d 100644
--- a/Source/web/tests/data/pageserializer/css/css_test_page.html
+++ b/Source/web/tests/data/pageserializer/css/css_test_page.html
@@ -31,6 +31,12 @@ ol {
list-style-image: url('ol-dot.png');
}
+@media all {
+ #divPink {
+ background-image: url('pink_background.png');
+ }
+} /* media all */
+
</style>
<script>
@@ -82,6 +88,11 @@ This div has a green image as its background.
This div has a purple image as its background.
</div>
+<!-- Style is defined in a media query -->
+<div id='divPink'>
+This div has a pink image as its background.
+</div>
+
Unordered list:<br>
<ul>
<li>Blue</li>
« Source/core/page/PageSerializer.cpp ('K') | « Source/web/tests/PageSerializerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698