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

Unified Diff: headless/test/data/dom_tree_test.html

Issue 2385653003: Add a utility class for extracting details of the DOM (Closed)
Patch Set: Nits Created 4 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
« no previous file with comments | « headless/public/util/dom_tree_extractor_browsertest.cc ('k') | headless/test/data/iframe.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/test/data/dom_tree_test.html
diff --git a/headless/test/data/dom_tree_test.html b/headless/test/data/dom_tree_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..6cac4ad4a8edccbb6d856e98805c6b9fae8d61b9
--- /dev/null
+++ b/headless/test/data/dom_tree_test.html
@@ -0,0 +1,20 @@
+<html>
+<head>
+<title>Hello world!</title>
+</head>
+<body>
+<div id="id1">
+<h1 style='color: red'>Some text.</h1>
+<iframe src="/iframe.html" width="400" height="200"></iframe>
+<div id="id2">
+ <div id="id3">
+ <div id="id4">
+ <a href="https://www.google.com">Google!</a>
+ <p>A paragraph!</p>
+ <br>
+ <div style='color: green'>Some <em>green</em> text...</div>
+ </div>
+ </div>
+</div>
+</body>
+</html>
« no previous file with comments | « headless/public/util/dom_tree_extractor_browsertest.cc ('k') | headless/test/data/iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698