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

Issue 2738503004: Search the entire subtree when looking for the end of an inline continuation chain. (Closed)

Created:
3 years, 9 months ago by mstensho (USE GERRIT)
Modified:
3 years, 9 months ago
Reviewers:
rhogan, eae
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Search the entire subtree when looking for the end of an inline continuation chain. Inlines may be nested, so we may not find the last inline in the chain as a direct child of the anonymous blocks. We need to search the entire subtree. Don't do this with anonymous blocks that wrap block children (the block-level DOM children of the inline-level objects), though. We're not going to find anything interesting there. This fix is speculative; the original bug report didn't come with a test case. BUG=662767 Review-Url: https://codereview.chromium.org/2738503004 Cr-Commit-Position: refs/heads/master@{#455420} Committed: https://chromium.googlesource.com/chromium/src/+/e72c8c06b956706b54648589f807086d17340831

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-div-in-anchor-and-img-crash.html View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutInline.cpp View 1 chunk +7 lines, -1 line 3 comments Download

Messages

Total messages: 15 (8 generated)
mstensho (USE GERRIT)
3 years, 9 months ago (2017-03-07 15:08:41 UTC) #4
rhogan
https://codereview.chromium.org/2738503004/diff/1/third_party/WebKit/Source/core/layout/LayoutInline.cpp File third_party/WebKit/Source/core/layout/LayoutInline.cpp (right): https://codereview.chromium.org/2738503004/diff/1/third_party/WebKit/Source/core/layout/LayoutInline.cpp#newcode1151 third_party/WebKit/Source/core/layout/LayoutInline.cpp:1151: walker = walker->nextInPreOrder(curr)) { Nested inside for (LayoutObject* curr ...
3 years, 9 months ago (2017-03-07 19:01:50 UTC) #7
mstensho (USE GERRIT)
https://codereview.chromium.org/2738503004/diff/1/third_party/WebKit/Source/core/layout/LayoutInline.cpp File third_party/WebKit/Source/core/layout/LayoutInline.cpp (right): https://codereview.chromium.org/2738503004/diff/1/third_party/WebKit/Source/core/layout/LayoutInline.cpp#newcode1151 third_party/WebKit/Source/core/layout/LayoutInline.cpp:1151: walker = walker->nextInPreOrder(curr)) { On 2017/03/07 19:01:50, rhogan wrote: ...
3 years, 9 months ago (2017-03-07 19:45:13 UTC) #8
rhogan
lgtm https://codereview.chromium.org/2738503004/diff/1/third_party/WebKit/Source/core/layout/LayoutInline.cpp File third_party/WebKit/Source/core/layout/LayoutInline.cpp (right): https://codereview.chromium.org/2738503004/diff/1/third_party/WebKit/Source/core/layout/LayoutInline.cpp#newcode1151 third_party/WebKit/Source/core/layout/LayoutInline.cpp:1151: walker = walker->nextInPreOrder(curr)) { On 2017/03/07 at 19:45:13, ...
3 years, 9 months ago (2017-03-07 20:00:31 UTC) #9
eae
LGTM
3 years, 9 months ago (2017-03-08 01:19:47 UTC) #10
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/2738503004/1
3 years, 9 months ago (2017-03-08 08:49:38 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 09:46:01 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e72c8c06b956706b54648589f807...

Powered by Google App Engine
This is Rietveld 408576698