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

Issue 1192363006: Update reader mode viewer according to specs (Closed)

Created:
5 years, 6 months ago by wychen
Modified:
5 years, 5 months ago
Reviewers:
cjhopman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update reader mode viewer according to specs Also add a filler viewer for easier CSS visualization, with language family selection. Specs of reader mode: https://code.google.com/p/chromium/issues/detail?id=428533#c24 Main changes according to the spec: - Use Roboto font for sans-serif. - Remove the gray background of title area. - Adjust color, line-height, padding, and margin of many elements. - Change max-width for wide screen, with consideration of pinch-to-zoom. Other changes: - Fix wrapping in <pre>. - Handle <code> in <pre> properly. - Disable the animation when setting the title. - Tune colors for three themes (light, dark, sepia). BUG=428533, 499740 Committed: https://crrev.com/4614086549d43ecc432ffa6bb6047abd2d5eba88 Cr-Commit-Position: refs/heads/master@{#338368}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address chris' comment #

Patch Set 3 : add tall and dense languages #

Patch Set 4 : fix line height #

Patch Set 5 : rename, heading, table, img adjustments #

Patch Set 6 : limit paragraph width and img left-align #

Patch Set 7 : table style, gray subtitle, color for closeview #

Patch Set 8 : subtitle color, table cell padding, simplify striped table color, wide table scrolling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -98 lines) Patch
M components/dom_distiller/core/css/distilledpage.css View 1 2 3 4 5 6 7 10 chunks +112 lines, -88 lines 0 comments Download
M components/dom_distiller/core/html/dom_distiller_viewer.html View 1 chunk +1 line, -1 line 0 comments Download
A components/dom_distiller/core/html/preview.html View 1 2 3 4 5 6 7 1 chunk +392 lines, -0 lines 0 comments Download
M components/dom_distiller/core/javascript/dom_distiller_viewer.js View 1 chunk +1 line, -9 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
wychen
PTAL. The preview of patchset 1 is at: https://output.jsbin.com/dejono/38/
5 years, 6 months ago (2015-06-19 22:29:02 UTC) #2
aruslan
(Forwarding this to Chris. Feel free to change a reviewer.)
5 years, 6 months ago (2015-06-19 23:10:18 UTC) #4
cjhopman
https://codereview.chromium.org/1192363006/diff/1/components/dom_distiller/core/css/distilledpage.css File components/dom_distiller/core/css/distilledpage.css (left): https://codereview.chromium.org/1192363006/diff/1/components/dom_distiller/core/css/distilledpage.css#oldcode97 components/dom_distiller/core/css/distilledpage.css:97: .light { These themes don't seem to be in ...
5 years, 6 months ago (2015-06-19 23:21:18 UTC) #5
wychen
https://codereview.chromium.org/1192363006/diff/1/components/dom_distiller/core/css/distilledpage.css File components/dom_distiller/core/css/distilledpage.css (left): https://codereview.chromium.org/1192363006/diff/1/components/dom_distiller/core/css/distilledpage.css#oldcode97 components/dom_distiller/core/css/distilledpage.css:97: .light { On 2015/06/19 23:21:18, cjhopman wrote: > These ...
5 years, 6 months ago (2015-06-23 18:41:29 UTC) #6
wychen
The preview of patch set 4 is at: https://output.jsbin.com/dejono/42/
5 years, 6 months ago (2015-06-23 20:52:52 UTC) #7
cjhopman
lgtm
5 years, 5 months ago (2015-06-30 23:10:36 UTC) #8
wychen
The preview of patch set 7 is here: https://output.jsbin.com/dejono/78
5 years, 5 months ago (2015-07-07 20:42:30 UTC) #9
cjhopman
lgtm
5 years, 5 months ago (2015-07-07 21:04:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192363006/140001
5 years, 5 months ago (2015-07-10 20:40:26 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 5 months ago (2015-07-10 21:37:57 UTC) #14
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/4614086549d43ecc432ffa6bb6047abd2d5eba88 Cr-Commit-Position: refs/heads/master@{#338368}
5 years, 5 months ago (2015-07-10 21:39:06 UTC) #15
wychen
5 years, 5 months ago (2015-07-10 21:46:15 UTC) #16
Message was sent while issue was closed.
The landed version is available here:
https://output.jsbin.com/dejono/107/

Powered by Google App Engine
This is Rietveld 408576698