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

Issue 1848033004: Initialize child framesets when they become part of the parent frameset grid. (Closed)

Created:
4 years, 8 months ago by mstensho (USE GERRIT)
Modified:
4 years, 8 months ago
Reviewers:
eae
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

Initialize child framesets when they become part of the parent frameset grid. The number of child frames and framesets in a parent frameset grid may be increased by a script after initial layout. Framesets that initially were not part of the grid were left uninitialized, i.e. their GridAxis objects are empty, and the layout object size is 0x0. As soon as such a frameset becomes part of the grid later on, it typically gets a size, which positionFrames() will detect and lay it out. However, since zero-width columns and zero-height rows are allowed, if the size of the child frameset remains at 0x0, we cannot just base the need for layout (which initializes the frame sets) on them getting a new size. BUG=594834 Committed: https://crrev.com/95a6fd5887a9f1101be12815863fe2a9e4a07fdd Cr-Commit-Position: refs/heads/master@{#385404}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/frames/expand-grid-with-zero-size-child-frameset-crash.html View 1 chunk +18 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/frames/expand-grid-with-zero-size-child-frameset-crash-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp View 1 chunk +5 lines, -2 lines 1 comment Download

Messages

Total messages: 13 (5 generated)
mstensho (USE GERRIT)
https://codereview.chromium.org/1848033004/diff/1/third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp File third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp (right): https://codereview.chromium.org/1848033004/diff/1/third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp#newcode425 third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp:425: if (size != child->size() || size.isEmpty()) { This is ...
4 years, 8 months ago (2016-04-01 12:21:47 UTC) #2
eae
LGTM
4 years, 8 months ago (2016-04-05 21:11:26 UTC) #3
eae
Thanks Morten!
4 years, 8 months ago (2016-04-05 21:11:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848033004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848033004/1
4 years, 8 months ago (2016-04-05 21:12:10 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/205981)
4 years, 8 months ago (2016-04-05 22:30:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848033004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848033004/1
4 years, 8 months ago (2016-04-06 07:55:31 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-06 08:52:51 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 08:54:06 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/95a6fd5887a9f1101be12815863fe2a9e4a07fdd
Cr-Commit-Position: refs/heads/master@{#385404}

Powered by Google App Engine
This is Rietveld 408576698