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

Issue 2345773002: [MR UI] Handle fractional height for first-run-flow element (Closed)

Created:
4 years, 3 months ago by takumif
Modified:
4 years, 3 months ago
Reviewers:
apacible
CC:
chromium-reviews, media-router+watch_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MR UI] Handle fractional height for first-run-flow element The first run flow div, whose height is not hard-coded, has a fractional height value, which is also used as the top margin size for the header below it. By keeping it fractional rather than rounding by using offsetHeight, we avoid rounding errors. BUG=615373 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/99ee961ad19a96ba4fa47a92130aee1e3f0dc0db Cr-Commit-Position: refs/heads/master@{#419213}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Modify a comment #

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

Messages

Total messages: 18 (11 generated)
takumif
Please take a look, thank you!
4 years, 3 months ago (2016-09-15 20:56:55 UTC) #7
apacible
lgtm https://codereview.chromium.org/2345773002/diff/1/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js File chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js (right): https://codereview.chromium.org/2345773002/diff/1/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js#newcode2321 chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js:2321: // getBoundingClientRect() to avoid rounding errors. nit: add ...
4 years, 3 months ago (2016-09-16 04:50:51 UTC) #8
apacible
lgtm lgtm https://codereview.chromium.org/2345773002/diff/1/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js File chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js (right): https://codereview.chromium.org/2345773002/diff/1/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js#newcode2321 chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js:2321: // getBoundingClientRect() to avoid rounding errors. nit: ...
4 years, 3 months ago (2016-09-16 04:50:51 UTC) #9
takumif
https://codereview.chromium.org/2345773002/diff/1/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js File chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js (right): https://codereview.chromium.org/2345773002/diff/1/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js#newcode2321 chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js:2321: // getBoundingClientRect() to avoid rounding errors. On 2016/09/16 04:50:51, ...
4 years, 3 months ago (2016-09-16 17:13:06 UTC) #11
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/2345773002/40001
4 years, 3 months ago (2016-09-16 17:13:51 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 3 months ago (2016-09-16 18:05:08 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 18:07:35 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/99ee961ad19a96ba4fa47a92130aee1e3f0dc0db
Cr-Commit-Position: refs/heads/master@{#419213}

Powered by Google App Engine
This is Rietveld 408576698