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

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: 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 fc8ca784d7ebf756eab7b918483e811c49499c65..72b07a25fd965864d0570df7de50f48df0f6fe38 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 @@ ound 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>

Powered by Google App Engine
This is Rietveld 408576698