diff options
author | wychen <wychen@chromium.org> | 2015-06-05 17:58:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-06 00:58:58 +0000 |
commit | a20ef837ff3fd2e3772e91d69baf9afca29983a1 (patch) | |
tree | df1e6e7a222ccc80ca1042dc809e4e417ba17f69 /components/test | |
parent | 126e9b6c2c982e7039755c9a2c47a02b34dc274b (diff) | |
download | chromium_src-a20ef837ff3fd2e3772e91d69baf9afca29983a1.zip chromium_src-a20ef837ff3fd2e3772e91d69baf9afca29983a1.tar.gz chromium_src-a20ef837ff3fd2e3772e91d69baf9afca29983a1.tar.bz2 |
Correct Schema.Org metadata in Dom Distiller testing article
Fix the semantics of Schema.Org article attribute so that the content
of the article is inside the itemscope div.
This blocks the following CL:
"Leverage semantic elements to find the main article"
https://codereview.chromium.org/1131793009/
Review URL: https://codereview.chromium.org/1163463002
Cr-Commit-Position: refs/heads/master@{#333192}
Diffstat (limited to 'components/test')
-rw-r--r-- | components/test/data/dom_distiller/markup_article.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/components/test/data/dom_distiller/markup_article.html b/components/test/data/dom_distiller/markup_article.html index 26fe868..c1a671b 100644 --- a/components/test/data/dom_distiller/markup_article.html +++ b/components/test/data/dom_distiller/markup_article.html @@ -23,14 +23,6 @@ <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> @@ -45,6 +37,13 @@ <span itemprop="copyrightYear">2000-2014</span> <span itemprop="copyrightHolder">Whoever Copyrighted</span> <span itemprop="articleSection">Whatever Section</span> + + <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> + </div> </body> |