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

Unified Diff: components/test/data/dom_distiller/simple_article.html

Issue 278873003: add test for visibility detection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: components/test/data/dom_distiller/simple_article.html
diff --git a/components/test/data/dom_distiller/simple_article.html b/components/test/data/dom_distiller/simple_article.html
index ed6b1e2f5c476f86f672586f37bbe3ef476ee0f7..efa8c7ac910c59161fb8e2a5fbd0d775f0fdfafd 100644
--- a/components/test/data/dom_distiller/simple_article.html
+++ b/components/test/data/dom_distiller/simple_article.html
@@ -1,5 +1,10 @@
<html>
-<head><title>Test Page Title</title></head>
+<head>
+<title>Test Page Title</title>
+<style>
+#foo { display:none; }
+</style>
+</head>
<body>
<div>
<p>Lorem ipsum dolor sit amet, at alia aliquip vel. Quas inani labore an vel. Sed an nemore minimum accusata. Sint inermis tacimates est ex, ad movet iracundia mei, delicata iracundia laboramus ei eos. Illud principes complectitur te nec, ius alienum insolens ea, cu quo oratio omnesque.
@@ -17,5 +22,19 @@
<div>
I am questiontable content. <a href="http://some.questionable.content">Go here</a>
</div>
+
+<div id="foo">
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+<p>I am not supposed to appear, because the internal stylesheet says so.
+</div>
+
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698