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

Issue 2737253003: Remove floating objects from descendants of subtree roots (Closed)

Created:
3 years, 9 months ago by kojii
Modified:
3 years, 9 months ago
CC:
blink-reviews, blink-reviews-frames_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove floating objects from descendants of subtree roots The pre-layout for orthogonal flow clears floats from its containing block in [1]. However, this can cause trouble for markAllDescendantsWithFloatsForLayout() to mark descendants for layout. When preceding floats overhanging to following blocks are gone, such floats are referred from multiple following blocks including descendants. Failure to mark descendants for layout may leave preceding floats. This patch ensures such floats are removed. [1] https://codereview.chromium.org/2025543002 BUG=698455 Review-Url: https://codereview.chromium.org/2737253003 Cr-Commit-Position: refs/heads/master@{#456300} Committed: https://chromium.googlesource.com/chromium/src/+/c020f6a22577978ce1fe89fc1a397f2a651c48a8

Patch Set 1 #

Patch Set 2 : Test from mstensho #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-floats-crash-3.html View 1 1 chunk +41 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
kojii
Hey, could the two best float experts on the planet advise? By tracing the case ...
3 years, 9 months ago (2017-03-09 15:13:28 UTC) #5
rhogan
On 2017/03/09 at 15:13:28, kojii wrote: > Hey, could the two best float experts on ...
3 years, 9 months ago (2017-03-09 19:15:28 UTC) #8
kojii
On 2017/03/09 at 19:15:28, robhogan wrote: > On 2017/03/09 at 15:13:28, kojii wrote: > > ...
3 years, 9 months ago (2017-03-10 03:19:01 UTC) #9
rhogan
On 2017/03/10 at 03:19:01, kojii wrote: > On 2017/03/09 at 19:15:28, robhogan wrote: > > ...
3 years, 9 months ago (2017-03-11 11:01:17 UTC) #10
kojii
Thank you, I understand you correctly now. |removeChildNode() fails only when |moveChildTo()| with |fullRemoveInsert| is ...
3 years, 9 months ago (2017-03-11 16:52:36 UTC) #19
kojii
PTAL.
3 years, 9 months ago (2017-03-11 19:16:22 UTC) #22
rhogan
lgtm
3 years, 9 months ago (2017-03-12 10:16:28 UTC) #25
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/2737253003/40001
3 years, 9 months ago (2017-03-12 10:16:33 UTC) #26
commit-bot: I haz the power
3 years, 9 months ago (2017-03-12 10:22:28 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c020f6a22577978ce1fe89fc1a39...

Powered by Google App Engine
This is Rietveld 408576698