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

Issue 2764883004: No default value for AncestorSearchConstraint in locateFlowThreadContainingBlockOf(). (Closed)

Created:
3 years, 9 months ago by mstensho (USE GERRIT)
Modified:
3 years, 9 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, mstensho (USE GERRIT)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

No default value for AncestorSearchConstraint in locateFlowThreadContainingBlockOf(). The default used to be to bail out and return nullptr if it encountered something unbreakable. It's better to let callers make a conscious choice here. Tree-read operations (painting or hit testing, for instance) that call LayoutObject::locateFlowThreadContainingBlock() are typically interested in converting from flow thread coordinates to visual coordinates. This is a defensive CL that only reverts unintended and bad changes from https://codereview.chromium.org/2748973002 - added a TODO for cases where we have LayoutState; if we are inside of layout, we should ideally stop at strictly unbreakable ancestors. BUG=702978 Review-Url: https://codereview.chromium.org/2764883004 Cr-Commit-Position: refs/heads/master@{#458784} Committed: https://chromium.googlesource.com/chromium/src/+/f41660904d869f6d30fa31f75ca6d6072202d9a1

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
A third_party/WebKit/LayoutTests/fast/multicol/relpos-inside-inline-block.html View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/relpos-inside-inline-block-expected.html View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlowThread.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 12 (8 generated)
mstensho (USE GERRIT)
3 years, 9 months ago (2017-03-22 14:06:45 UTC) #6
eae
LGTM
3 years, 9 months ago (2017-03-22 16:55:43 UTC) #7
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/2764883004/1
3 years, 9 months ago (2017-03-22 16:56:15 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 17:09:41 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f41660904d869f6d30fa31f75ca6...

Powered by Google App Engine
This is Rietveld 408576698