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

Unified Diff: components/dom_distiller/content/resources/dom_distiller_viewer.html

Issue 138923002: Add support for showing CSS with distilled articles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nit from cjhopman@ Created 6 years, 11 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/dom_distiller/content/resources/dom_distiller_viewer.html
diff --git a/components/dom_distiller/content/resources/dom_distiller_viewer.html b/components/dom_distiller/content/resources/dom_distiller_viewer.html
index 996cabd653cc2acf9eed118d1e9cdcd7c88085bf..709e76c3a332bc1abaa982281f8fedb8dfb64b86 100644
--- a/components/dom_distiller/content/resources/dom_distiller_viewer.html
+++ b/components/dom_distiller/content/resources/dom_distiller_viewer.html
@@ -8,15 +8,16 @@ found in the LICENSE file.
<head>
<meta charset="utf-8">
<title>$1</title>
+ <link rel="stylesheet" type="text/css" href="$2">
</head>
<body>
<div id="mainContent">
<div id="article">
<article>
<header>
- <h1>$2</h1>
+ <h1>$3</h1>
</header>
- <div id="content">$3</div>
+ <div id="content">$4</div>
</article>
</div>
</div>
« no previous file with comments | « components/dom_distiller/content/dom_distiller_viewer_source.cc ('k') | components/dom_distiller_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698