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

Issue 897633002: RenderFlexibleBox should be treated as a candidate for visible position. (Closed)

Created:
5 years, 10 months ago by changseok
Modified:
5 years, 10 months ago
Reviewers:
sof, Manuel Rego, eae
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

RenderFlexibleBox should be treated as a candidate for visible position. Visible selection in an editable area is recalculated whenever an inner value of div is changed. If the inner value is empty, the visible selection recalculated with DeleteSelectionCommand::m_endingPostion is not correct. Because RenderBlockFlow is only considered but not RenderFlexibleBox in Position::isCandidate so that a calculated ending VisiblePosition for an editable div having ‘display : flex’ goes weird and VisibleSelection is empty accordingly. BUG=450617 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189482

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -1 line) Patch
A LayoutTests/fast/events/key-events-in-editable-flexbox.html View 1 chunk +46 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/key-events-in-editable-flexbox-expected.txt View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/dom/Position.cpp View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 20 (7 generated)
changseok
Please have a look. And would you trigger layout tests for me? I don't have ...
5 years, 10 months ago (2015-02-03 08:50:32 UTC) #2
eae
LGTM
5 years, 10 months ago (2015-02-03 21:02:23 UTC) #3
changseok
On 2015/02/03 21:02:23, eae wrote: > LGTM failures on mac: http/tests/navigation/anchor-basic.html failures on win: inspector/sources/debugger/event-listener-breakpoints.html ...
5 years, 10 months ago (2015-02-03 23:35:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/897633002/1
5 years, 10 months ago (2015-02-03 23:36:44 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41146)
5 years, 10 months ago (2015-02-04 02:13:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/897633002/1
5 years, 10 months ago (2015-02-04 05:43:41 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41236)
5 years, 10 months ago (2015-02-04 08:15:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/897633002/1
5 years, 10 months ago (2015-02-04 10:15:16 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=189482
5 years, 10 months ago (2015-02-04 11:12:28 UTC) #15
Manuel Rego
https://codereview.chromium.org/897633002/diff/1/Source/core/dom/Position.cpp File Source/core/dom/Position.cpp (right): https://codereview.chromium.org/897633002/diff/1/Source/core/dom/Position.cpp#newcode858 Source/core/dom/Position.cpp:858: if (renderer->isRenderBlockFlow() || renderer->isFlexibleBox()) { I think this is ...
5 years, 10 months ago (2015-02-10 22:31:37 UTC) #17
Manuel Rego
https://codereview.chromium.org/897633002/diff/1/Source/core/dom/Position.cpp File Source/core/dom/Position.cpp (right): https://codereview.chromium.org/897633002/diff/1/Source/core/dom/Position.cpp#newcode858 Source/core/dom/Position.cpp:858: if (renderer->isRenderBlockFlow() || renderer->isFlexibleBox()) { On 2015/02/10 22:31:37, Manuel ...
5 years, 10 months ago (2015-02-10 22:43:24 UTC) #18
changseok
On 2015/02/10 22:43:24, Manuel Rego wrote: > https://codereview.chromium.org/897633002/diff/1/Source/core/dom/Position.cpp > File Source/core/dom/Position.cpp (right): > > https://codereview.chromium.org/897633002/diff/1/Source/core/dom/Position.cpp#newcode858 ...
5 years, 10 months ago (2015-02-12 19:18:26 UTC) #19
eae
5 years, 8 months ago (2015-04-06 19:41:57 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1060113002/ by eae@chromium.org.

The reason for reverting is: Revert for now until the fix is ready. Will also be
reverted on release branch..

Powered by Google App Engine
This is Rietveld 408576698