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 2159373003: Cursor should respect text align in contenteditable with pseudo element (Closed)

Created:
4 years, 5 months ago by ramya.v
Modified:
4 years, 5 months ago
Reviewers:
yosin_UTC9, 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cursor should respect text align in contenteditable with pseudo element. Avoid considering PseudoElement's content as first child so that caret rect for empty element is calculated. BUG=426586 Committed: https://crrev.com/e4c0c0a729891099c502c8e330b71acca7041ce3 Cr-Commit-Position: refs/heads/master@{#407421}

Patch Set 1 #

Patch Set 2 : Added testcase #

Total comments: 6

Patch Set 3 : Updated as per review comments #

Patch Set 4 : Updated ASSERT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (10 generated)
ramya.v
PTAL! Thanks
4 years, 5 months ago (2016-07-20 08:30:26 UTC) #3
yosin_UTC9
non-owner lgtm w/ nits in tests +eae@ for LayoutBlock.cpp changes https://codereview.chromium.org/2159373003/diff/20001/third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html File third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html (right): https://codereview.chromium.org/2159373003/diff/20001/third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html#newcode23 ...
4 years, 5 months ago (2016-07-20 09:21:48 UTC) #5
ramya.v
Updated as per review comments. https://codereview.chromium.org/2159373003/diff/20001/third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html File third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html (right): https://codereview.chromium.org/2159373003/diff/20001/third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html#newcode23 third_party/WebKit/LayoutTests/editing/selection/caret-in-empty-div-with-pseudo-content.html:23: caretRect1 = internals.absoluteCaretBounds(document); On ...
4 years, 5 months ago (2016-07-20 09:36:46 UTC) #6
eae
LGTM for layout
4 years, 5 months ago (2016-07-20 16:29:27 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/2159373003/40001
4 years, 5 months ago (2016-07-21 03:19:47 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/247707)
4 years, 5 months ago (2016-07-21 04:02:36 UTC) #12
ramya.v
@eae Updated ASSERT statement. Could you please take a look. Thanks
4 years, 5 months ago (2016-07-21 06:26:02 UTC) #13
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/2159373003/60001
4 years, 5 months ago (2016-07-25 05:20:15 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-25 07:15:59 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 07:17:18 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e4c0c0a729891099c502c8e330b71acca7041ce3
Cr-Commit-Position: refs/heads/master@{#407421}

Powered by Google App Engine
This is Rietveld 408576698