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

Issue 2111623002: Canvas objects did not mark themselves for layout when they're a flex item (Closed)

Created:
4 years, 5 months ago by cbiesinger
Modified:
4 years, 5 months ago
Reviewers:
dgrogan, eae, Justin Novosad
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Canvas objects did not mark themselves for layout when they're a flex item See comment in patch -- when we're a flex item, we (likely) have an override size, so updateLogicalHeight has no effect, so the check if our size has changed has no effect. Skip that if we have an override size. TEST=css3/flexbox/canvas-dynamic-change.html BUG=607314, 598212 R=eae@chromium.org,dgrogan@chromium.org Committed: https://crrev.com/c43e0bb044f911727bcb340753de1fe03514a2ff Cr-Commit-Position: refs/heads/master@{#402973}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Now with the right set of files #

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/css3/flexbox/canvas-dynamic-change.html View 1 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 19 (7 generated)
cbiesinger
4 years, 5 months ago (2016-06-29 19:58:39 UTC) #2
cbiesinger
4 years, 5 months ago (2016-06-29 19:59:31 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111623002/1
4 years, 5 months ago (2016-06-29 20:03:13 UTC) #6
eae
https://codereview.chromium.org/2111623002/diff/1/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp File third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp (right): https://codereview.chromium.org/2111623002/diff/1/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp#newcode838 third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp:838: if (1 || child.needsLayout() || childLayoutType == ForceLayout || ...
4 years, 5 months ago (2016-06-29 20:20:13 UTC) #7
cbiesinger
PTAL! https://codereview.chromium.org/2111623002/diff/1/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp File third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp (right): https://codereview.chromium.org/2111623002/diff/1/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp#newcode838 third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp:838: if (1 || child.needsLayout() || childLayoutType == ForceLayout ...
4 years, 5 months ago (2016-06-29 20:36:52 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111623002/40001
4 years, 5 months ago (2016-06-29 20:37:27 UTC) #10
eae
Thanks, LGTM!
4 years, 5 months ago (2016-06-29 21:04:27 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/96123)
4 years, 5 months ago (2016-06-29 21:34:32 UTC) #13
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/2111623002/40001
4 years, 5 months ago (2016-06-29 21:47:58 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-29 22:44:20 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 22:44:23 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 22:47:37 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c43e0bb044f911727bcb340753de1fe03514a2ff
Cr-Commit-Position: refs/heads/master@{#402973}

Powered by Google App Engine
This is Rietveld 408576698