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

Issue 1917413002: print_preview: Workaround of focus-scroll issue. (Closed)

Created:
4 years, 8 months ago by tkent
Modified:
4 years, 7 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, Dan Beam, Lei Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

print_preview: Workaround of focus-scroll issue. * Make margin-control-textbox elements unfocusable if not in custom margin mode. * Reset the scroll position of preview-area when margin-control-textbox is focused. BUG=601341 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/dedbae45b850e09e8de724bc678cbec27a7ed6c8 Cr-Commit-Position: refs/heads/master@{#390902}

Patch Set 1 #

Patch Set 2 : scrollLeft too #

Total comments: 2

Patch Set 3 : |disabled| variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M chrome/browser/resources/print_preview/previewarea/margin_control.js View 1 2 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
tkent
dpapad@, would you review this please? I think accessing preview-area in MarginControl is too dirty.
4 years, 8 months ago (2016-04-27 06:43:59 UTC) #2
dpapad
On 2016/04/27 at 06:43:59, tkent wrote: > dpapad@, would you review this please? > > ...
4 years, 7 months ago (2016-04-27 18:07:35 UTC) #3
tkent
On 2016/04/27 at 18:07:35, dpapad wrote: > On 2016/04/27 at 06:43:59, tkent wrote: > > ...
4 years, 7 months ago (2016-04-28 02:08:17 UTC) #4
tkent
On 2016/04/28 at 02:08:17, tkent wrote: > > 1) It is not sufficient. I am ...
4 years, 7 months ago (2016-04-28 02:20:39 UTC) #5
Dan Beam
i don't really understand all the factors at play here, but if there's a focusable ...
4 years, 7 months ago (2016-04-28 17:29:29 UTC) #7
dpapad
On 2016/04/28 at 17:29:29, dbeam wrote: > i don't really understand all the factors at ...
4 years, 7 months ago (2016-04-29 17:59:02 UTC) #10
dpapad
lgtm https://codereview.chromium.org/1917413002/diff/20001/chrome/browser/resources/print_preview/previewarea/margin_control.js File chrome/browser/resources/print_preview/previewarea/margin_control.js (right): https://codereview.chromium.org/1917413002/diff/20001/chrome/browser/resources/print_preview/previewarea/margin_control.js#newcode392 chrome/browser/resources/print_preview/previewarea/margin_control.js:392: var opacity = parseInt(elStyle.getPropertyValue('opacity'), 10); Nit: Instead of ...
4 years, 7 months ago (2016-04-29 17:59:13 UTC) #11
tkent
https://codereview.chromium.org/1917413002/diff/20001/chrome/browser/resources/print_preview/previewarea/margin_control.js File chrome/browser/resources/print_preview/previewarea/margin_control.js (right): https://codereview.chromium.org/1917413002/diff/20001/chrome/browser/resources/print_preview/previewarea/margin_control.js#newcode392 chrome/browser/resources/print_preview/previewarea/margin_control.js:392: var opacity = parseInt(elStyle.getPropertyValue('opacity'), 10); On 2016/04/29 at 17:59:13, ...
4 years, 7 months ago (2016-05-02 08:05:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917413002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917413002/40001
4 years, 7 months ago (2016-05-02 08:05:33 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-02 08:18:30 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 08:20:04 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dedbae45b850e09e8de724bc678cbec27a7ed6c8
Cr-Commit-Position: refs/heads/master@{#390902}

Powered by Google App Engine
This is Rietveld 408576698