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

Issue 2029783002: [Media Router WebUI] Update element positioning after delayed imports. (Closed)

Created:
4 years, 6 months ago by btolsch
Modified:
4 years, 6 months ago
Reviewers:
apacible
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2743
Target Ref:
refs/pending/branch-heads/2743
Project:
chromium
Visibility:
Public.

Description

[Media Router WebUI] Update element positioning after delayed imports. This change adds a call to update the positioning of dialog elements after the delayed html imports have finished. Delaying the imports seems to cause the first run flow element (which is conditionally templated) to have an offsetHeight of 0 after it is stamped but before the imports complete. Adding another update call lets the update correctly see this element's offsetHeight when it is supposed to be visible. R=apacible@chromium.org BUG=612726 NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/1996233002 Cr-Commit-Position: refs/heads/master@{#395116} (cherry picked from commit 2786224a2dd9f8b5d785b589be26500900d9e5b0)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js View 1 chunk +16 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
btolsch
Merge to M52, no conflicts. PTAL, thanks!
4 years, 6 months ago (2016-06-01 21:23:04 UTC) #2
apacible
lgtm
4 years, 6 months ago (2016-06-01 22:30:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029783002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029783002/1
4 years, 6 months ago (2016-06-01 22:33:10 UTC) #5
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 22:35:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698