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

Issue 2092023002: PDF: Fix layout issues caused by removing iron-flex-layout (Closed)

Created:
4 years, 6 months ago by tsergeant
Modified:
4 years, 5 months ago
Reviewers:
calamity, raymes
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, arv+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PDF: Fix layout issues caused by removing iron-flex-layout In crrev.com/401161, the deprecated version of iron-flex-layout was removed from the PDF viewer. This version added styles to the page which were seen by every element, regardless of whether they expected it. Thus, removing it from the page had some unexpected side effects: * The bookmarks menu in the toolbar would always show, due to a change in how [hidden] was defined. * The password field was laid out incorrectly due to not importing the new version of iron-flex-layout correctly. This CL fixes both of these regressions. BUG=622582, 621736 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/930c85305671e9a24a3ac4eb9ea1de0cd447f961 Cr-Commit-Position: refs/heads/master@{#402112}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html View 3 chunks +3 lines, -3 lines 3 comments Download
M chrome/browser/resources/pdf/elements/viewer-toolbar-dropdown/viewer-toolbar-dropdown.css View 1 chunk +0 lines, -1 line 2 comments Download

Messages

Total messages: 14 (5 generated)
tsergeant
Raymes, PTAL. https://codereview.chromium.org/2092023002/diff/1/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html File chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html (left): https://codereview.chromium.org/2092023002/diff/1/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html#oldcode20 chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html:20: <paper-input-error hidden$="[[!invalid]]" This hidden seems to be ...
4 years, 6 months ago (2016-06-24 04:31:38 UTC) #3
raymes
https://codereview.chromium.org/2092023002/diff/1/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html File chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html (right): https://codereview.chromium.org/2092023002/diff/1/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html#newcode11 chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html:11: <style include="iron-flex iron-flex-alignment"></style> More magic! I wouldn't know if ...
4 years, 5 months ago (2016-06-27 01:36:03 UTC) #4
tsergeant
https://codereview.chromium.org/2092023002/diff/1/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html File chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html (right): https://codereview.chromium.org/2092023002/diff/1/chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html#newcode11 chrome/browser/resources/pdf/elements/viewer-password-screen/viewer-password-screen.html:11: <style include="iron-flex iron-flex-alignment"></style> On 2016/06/27 01:36:03, raymes wrote: > ...
4 years, 5 months ago (2016-06-27 01:47:08 UTC) #6
calamity
lgtm. Does viewer-pdf-toolbar.html also require the style modules to be imported?
4 years, 5 months ago (2016-06-27 03:32:22 UTC) #7
raymes
On 2016/06/27 03:32:22, calamity wrote: > lgtm. > > Does viewer-pdf-toolbar.html also require the style ...
4 years, 5 months ago (2016-06-27 03:44:22 UTC) #8
tsergeant
On 2016/06/27 03:32:22, calamity wrote: > lgtm. > > Does viewer-pdf-toolbar.html also require the style ...
4 years, 5 months ago (2016-06-27 03:51:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2092023002/1
4 years, 5 months ago (2016-06-27 03:51:46 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-27 04:57:59 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 05:00:40 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/930c85305671e9a24a3ac4eb9ea1de0cd447f961
Cr-Commit-Position: refs/heads/master@{#402112}

Powered by Google App Engine
This is Rietveld 408576698