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

Issue 1636373002: Make associatedLayoutObjectOf() to handle ::first-letter pseudo-element correctly (Closed)

Created:
4 years, 11 months ago by yosin_UTC9
Modified:
4 years, 10 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make associatedLayoutObjectOf() to handle ::first-letter pseudo-element correctly This patch makes |associatedLayoutObjectOf()| to handle all cases of layout tree shape for ::first-letter pseudo-element. Before this patch, |associatedLayoutObjectOf()| handled first-letter only |Text| node incorrectly. BUG=560689 TEST=webkit_unit_tests --gtest_filter=VisibleUnitsTest.associatedLayoutObjectOf* TEST=webkit_unit_tests --gtest_filter=VisibleUnitsTest.mostBackwardCaretPositionFirstLetterSplit Committed: https://crrev.com/7c9e1437f3de1149a5b1a9437d927d4e0d7802ba Cr-Commit-Position: refs/heads/master@{#372299}

Patch Set 1 : 2016-01-27T18:23:21 #

Patch Set 2 : 2016-01-28T14:03:04 #

Total comments: 6

Patch Set 3 : 2016-01-29T12:43:53 #

Total comments: 2

Patch Set 4 : 2016-01-29T14:19:19 #

Patch Set 5 : 2016-01-29T14:21:36 #

Patch Set 6 : 2016-01-29T15:21:03 Get rid of unused variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -16 lines) Patch
M third_party/WebKit/Source/core/editing/VisibleUnits.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 2 3 4 1 chunk +39 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnitsTest.cpp View 1 3 4 5 3 chunks +82 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636373002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636373002/1
4 years, 11 months ago (2016-01-27 09:27:35 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/150395) linux_chromium_rel_ng on ...
4 years, 11 months ago (2016-01-27 09:41:00 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636373002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636373002/20001
4 years, 10 months ago (2016-01-28 05:04:57 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-28 06:56:25 UTC) #11
yosin_UTC9
PTAL
4 years, 10 months ago (2016-01-28 09:11:11 UTC) #12
tkent
https://codereview.chromium.org/1636373002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/1636373002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2190 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2190: ASSERT(layoutTextFragment->isRemainingTextLayoutObject()); This ASSERT isn't helpful because layoutTextFragment->isRemainingTextLayoutObject() was checked ...
4 years, 10 months ago (2016-01-29 00:56:09 UTC) #13
yosin_UTC9
PTAL https://codereview.chromium.org/1636373002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/1636373002/diff/20001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2190 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2190: ASSERT(layoutTextFragment->isRemainingTextLayoutObject()); On 2016/01/29 at 00:56:09, tkent wrote: > ...
4 years, 10 months ago (2016-01-29 03:45:13 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636373002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636373002/40001
4 years, 10 months ago (2016-01-29 03:45:42 UTC) #17
tkent
lgtm https://codereview.chromium.org/1636373002/diff/40001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/1636373002/diff/40001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2182 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2182: // patter, e.g. "B\n", or remaining part "abc". ...
4 years, 10 months ago (2016-01-29 03:52:16 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/173260)
4 years, 10 months ago (2016-01-29 03:58:36 UTC) #20
yosin_UTC9
https://codereview.chromium.org/1636373002/diff/40001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/1636373002/diff/40001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2182 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2182: // patter, e.g. "B\n", or remaining part "abc". On ...
4 years, 10 months ago (2016-01-29 05:27:45 UTC) #21
yosin_UTC9
On 2016/01/29 at 05:27:45, Yosi_UTC9 wrote: > https://codereview.chromium.org/1636373002/diff/40001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp > File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): > > https://codereview.chromium.org/1636373002/diff/40001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2182 ...
4 years, 10 months ago (2016-01-29 05:28:05 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636373002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636373002/80001
4 years, 10 months ago (2016-01-29 05:28:39 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/151534) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 10 months ago (2016-01-29 05:41:52 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636373002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636373002/100001
4 years, 10 months ago (2016-01-29 06:23:45 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-01-29 07:33:40 UTC) #31
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 07:34:34 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7c9e1437f3de1149a5b1a9437d927d4e0d7802ba
Cr-Commit-Position: refs/heads/master@{#372299}

Powered by Google App Engine
This is Rietveld 408576698