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

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

Issue 411253008: dom distiller: extract markup properties from protobuf (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « components/dom_distiller/core/distiller_page.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test/data/dom_distiller/markup_article.html
diff --git a/components/test/data/dom_distiller/markup_article.html b/components/test/data/dom_distiller/markup_article.html
new file mode 100644
index 0000000000000000000000000000000000000000..26fe86847d5c288273775f82f905df47d01fd239
--- /dev/null
+++ b/components/test/data/dom_distiller/markup_article.html
@@ -0,0 +1,51 @@
+<html>
+<head>
+<title>Markup Test Page Title</title>
+
+<!-- OpenGraphProtocol Markup Info -->
+<meta property="og:title" content="Marked-up Markup Test Page Title">
+<meta property="og:type" content="Article">
+<meta property="og:url" content="http://test/markup.html">
+<meta property="og:image" content="http://test/markup1.jpeg">
+<meta property="og:image:url" content="http://test/markup1.jpeg">
+<meta property="og:image:secure_url" content="https://test/markup1.jpeg">
+<meta property="og:image:type" content="jpeg">
+<meta property="og:image:width" content="600">
+<meta property="og:image:height" content="400">
+<meta property="og:image" content="http://test/markup2.gif">
+<meta property="og:image:url" content="http://test/markup2.gif">
+<meta property="og:image:secure_url" content="https://test/markup2.gif">
+<meta property="og:image:type" content="gif">
+<meta property="og:image:width" content="1000">
+<meta property="og:image:height" content="600">
+
+</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.
+
+<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.
+</div>
+
+<br>
+
+<!-- Schema.Org Markup Info -->
+<div itemscope itemtype="http://schema.org/Article">
+ <span itemprop="description">This page tests Markup Info.</span>
+ <div itemscope itemtype="http://schema.org/Person" itemprop="author">Author:
+ <span itemprop="name">Whoever Authored</span>
+ </div>
+ <div itemscope itemtype="http://schema.org/Organization" itemprop="publisher">Publisher:
+ <span itemprop="name">Whoever Published</span>
+ </div>
+ <span itemprop="datePublished">July 23, 2014</span> +
+ <time itemprop="dateModified" datetime="2014-07-23T23:59">July 23, 2014 11:59pm</time>
+ <span itemprop="copyrightYear">2000-2014</span>
+ <span itemprop="copyrightHolder">Whoever Copyrighted</span>
+ <span itemprop="articleSection">Whatever Section</span>
+</div>
+
+</body>
+</html>
« no previous file with comments | « components/dom_distiller/core/distiller_page.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698