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

Issue 1008993007: Fix style on iOS for distilled content. (Closed)

Created:
5 years, 9 months ago by noyau (Ping after 24h)
Modified:
5 years, 9 months ago
Reviewers:
nyquist, 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

Fix style on iOS for distilled content. On iOS the resource load can't be highjacked to be replaced by local content: Inlining the necessary resources and fixing the CSS so the page actually scrolls on iOS. BUG=None Committed: https://crrev.com/b5311b2ad302d611309d2ec856289000ef096943 Cr-Commit-Position: refs/heads/master@{#322138}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Style fix #

Total comments: 2

Patch Set 3 : Real fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M components/dom_distiller/core/css/distilledpage.css View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/html/dom_distiller_viewer.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/dom_distiller/core/viewer.cc View 1 2 1 chunk +15 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
noyau (Ping after 24h)
PTAL
5 years, 9 months ago (2015-03-19 12:23:30 UTC) #2
cjhopman
https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/viewer.cc File components/dom_distiller/core/viewer.cc (right): https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/viewer.cc#newcode118 components/dom_distiller/core/viewer.cc:118: // and return the local data once a page ...
5 years, 9 months ago (2015-03-19 21:24:52 UTC) #3
nyquist
https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/html/dom_distiller_viewer.html File components/dom_distiller/core/html/dom_distiller_viewer.html (right): https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/html/dom_distiller_viewer.html#newcode12 components/dom_distiller/core/html/dom_distiller_viewer.html:12: <style> Should the <link rel...> be within <style></style> or ...
5 years, 9 months ago (2015-03-19 21:39:16 UTC) #4
nyquist
5 years, 9 months ago (2015-03-19 21:43:52 UTC) #5
noyau (Ping after 24h)
On 2015/03/19 21:39:16, nyquist wrote: > https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/html/dom_distiller_viewer.html > File components/dom_distiller/core/html/dom_distiller_viewer.html (right): > > https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/html/dom_distiller_viewer.html#newcode12 > ...
5 years, 9 months ago (2015-03-20 11:31:20 UTC) #6
cjhopman
On 2015/03/20 11:31:20, noyau wrote: > On 2015/03/19 21:39:16, nyquist wrote: > > > https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/html/dom_distiller_viewer.html ...
5 years, 9 months ago (2015-03-23 02:37:12 UTC) #7
noyau (Ping after 24h)
On 2015/03/23 02:37:12, cjhopman wrote: > On 2015/03/20 11:31:20, noyau wrote: > > On 2015/03/19 ...
5 years, 9 months ago (2015-03-23 12:27:52 UTC) #8
cjhopman
On 2015/03/23 12:27:52, noyau wrote: > On 2015/03/23 02:37:12, cjhopman wrote: > > On 2015/03/20 ...
5 years, 9 months ago (2015-03-24 07:16:55 UTC) #9
cjhopman
On 2015/03/24 07:16:55, cjhopman wrote: > On 2015/03/23 12:27:52, noyau wrote: > > On 2015/03/23 ...
5 years, 9 months ago (2015-03-24 07:17:42 UTC) #10
noyau (Ping after 24h)
PTAL https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/html/dom_distiller_viewer.html File components/dom_distiller/core/html/dom_distiller_viewer.html (right): https://codereview.chromium.org/1008993007/diff/1/components/dom_distiller/core/html/dom_distiller_viewer.html#newcode12 components/dom_distiller/core/html/dom_distiller_viewer.html:12: <style> On 2015/03/19 21:39:15, nyquist wrote: > Should ...
5 years, 9 months ago (2015-03-24 22:11:12 UTC) #11
cjhopman
lgtm https://codereview.chromium.org/1008993007/diff/20001/components/dom_distiller/core/viewer.cc File components/dom_distiller/core/viewer.cc (right): https://codereview.chromium.org/1008993007/diff/20001/components/dom_distiller/core/viewer.cc#newcode119 components/dom_distiller/core/viewer.cc:119: substitutions.push_back(viewer::GetCss()); // $2 This now needs <style>...</style>?
5 years, 9 months ago (2015-03-25 02:25:11 UTC) #12
noyau (Ping after 24h)
https://codereview.chromium.org/1008993007/diff/20001/components/dom_distiller/core/viewer.cc File components/dom_distiller/core/viewer.cc (right): https://codereview.chromium.org/1008993007/diff/20001/components/dom_distiller/core/viewer.cc#newcode119 components/dom_distiller/core/viewer.cc:119: substitutions.push_back(viewer::GetCss()); // $2 On 2015/03/25 02:25:11, cjhopman wrote: > ...
5 years, 9 months ago (2015-03-25 10:36:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008993007/40001
5 years, 9 months ago (2015-03-25 10:37:59 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-25 11:38:08 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 11:39:03 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b5311b2ad302d611309d2ec856289000ef096943
Cr-Commit-Position: refs/heads/master@{#322138}

Powered by Google App Engine
This is Rietveld 408576698