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

Issue 1483013003: Find In Page doesn't work properly when " " is searched (Closed)

Created:
5 years ago by ramya.v
Modified:
4 years, 11 months ago
Reviewers:
tkent, yosin_UTC9, Xiaocheng
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

Find In Page doesn't work properly when " " is searched In case of replaced elements or elements with white-space property 'PRE', extra space is emitted only when their text starts with a white-space which is collapsed because of the preceding white-space. BUG=510335 Committed: https://crrev.com/6a04368503ae7e48422a851d39afc920ee66502d Cr-Commit-Position: refs/heads/master@{#370362}

Patch Set 1 #

Patch Set 2 : Adding testcase #

Total comments: 2

Patch Set 3 : Updated comment style #

Patch Set 4 : Fix in TextIterator #

Total comments: 2

Patch Set 5 : Added changes inside a flag as per review comments #

Total comments: 4

Patch Set 6 : Updated as per review comments #

Total comments: 4

Patch Set 7 : Moved test case to TextIteratorTest #

Patch Set 8 : Rebasing the patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -4 lines) Patch
M third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp View 1 2 3 4 5 6 7 2 chunks +18 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIteratorFlags.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIteratorTest.cpp View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (11 generated)
ramya.v
PTAL! Thanks
5 years ago (2015-12-09 10:45:39 UTC) #3
ramya.v
On 2015/12/09 10:45:39, ramya.v wrote: > PTAL! > > Thanks Friendly ping. PTAL! Thanks!
5 years ago (2015-12-15 00:30:13 UTC) #4
yosin_UTC9
It seems once we use composed tree version of TextFinder, this issue goes away. So, ...
4 years, 11 months ago (2016-01-05 08:30:40 UTC) #5
ramya.v
@Yosin Hi Yosin didn't get you exactly. Did you mean to say with composed tree ...
4 years, 11 months ago (2016-01-06 08:28:44 UTC) #6
yosin_UTC9
On 2016/01/06 at 08:28:44, ramya.v wrote: > @Yosin > > Hi Yosin didn't get you ...
4 years, 11 months ago (2016-01-07 08:10:48 UTC) #7
ramya.v
On 2016/01/07 08:10:48, Yosi_UTC9 wrote: > On 2016/01/06 at 08:28:44, ramya.v wrote: > > @Yosin ...
4 years, 11 months ago (2016-01-07 09:00:05 UTC) #8
yosin_UTC9
+xiaochengh@, he is an expert of TextIterator.
4 years, 11 months ago (2016-01-07 09:31:44 UTC) #10
Xiaocheng
On 2016/01/07 at 09:31:44, yosin wrote: > +xiaochengh@, he is an expert of TextIterator. I'm ...
4 years, 11 months ago (2016-01-08 08:07:32 UTC) #11
ramya.v
On 2016/01/08 08:07:32, Xiaocheng wrote: > On 2016/01/07 at 09:31:44, yosin wrote: > > +xiaochengh@, ...
4 years, 11 months ago (2016-01-11 10:45:52 UTC) #12
Xiaocheng
On 2016/01/11 at 10:45:52, ramya.v wrote: > On 2016/01/08 08:07:32, Xiaocheng wrote: > > On ...
4 years, 11 months ago (2016-01-14 01:13:58 UTC) #13
ramya.v
On 2016/01/14 01:13:58, Xiaocheng wrote: > On 2016/01/11 at 10:45:52, ramya.v wrote: > > On ...
4 years, 11 months ago (2016-01-18 04:19:44 UTC) #14
yosin_UTC9
On 2016/01/18 at 04:19:44, ramya.v wrote: > On 2016/01/14 01:13:58, Xiaocheng wrote: > > On ...
4 years, 11 months ago (2016-01-18 04:54:20 UTC) #15
ramya.v
On 2016/01/18 04:54:20, Yosi_UTC9 wrote: > On 2016/01/18 at 04:19:44, ramya.v wrote: > > On ...
4 years, 11 months ago (2016-01-19 04:31:46 UTC) #16
yosin_UTC9
On 2016/01/19 at 04:31:46, ramya.v wrote: > On 2016/01/18 04:54:20, Yosi_UTC9 wrote: > > On ...
4 years, 11 months ago (2016-01-19 09:49:28 UTC) #17
ramya.v
On 2016/01/19 09:49:28, Yosi_UTC9 wrote: > On 2016/01/19 at 04:31:46, ramya.v wrote: > > On ...
4 years, 11 months ago (2016-01-19 14:43:14 UTC) #19
yosin_UTC9
Please describe what this patch changes the code rather than analysis of the bug. Analysis ...
4 years, 11 months ago (2016-01-20 01:40:23 UTC) #20
ramya.v
Updated as per review comments. PTAL! Thanks. https://codereview.chromium.org/1483013003/diff/60001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (right): https://codereview.chromium.org/1483013003/diff/60001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#newcode675 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:675: if (m_lastTextNodeEndedWithCollapsedSpace ...
4 years, 11 months ago (2016-01-20 03:42:56 UTC) #22
yosin_UTC9
https://codereview.chromium.org/1483013003/diff/100001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (right): https://codereview.chromium.org/1483013003/diff/100001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#newcode463 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:463: emitCharacter(spaceCharacter, textNode, 0, runStart, runStart); Off-topic: It seems we ...
4 years, 11 months ago (2016-01-20 05:33:11 UTC) #23
ramya.v
Updated as per review comments. PTAL! Thanks. https://codereview.chromium.org/1483013003/diff/100001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (right): https://codereview.chromium.org/1483013003/diff/100001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#newcode463 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:463: emitCharacter(spaceCharacter, textNode, ...
4 years, 11 months ago (2016-01-20 05:59:11 UTC) #24
yosin_UTC9
lgtm Thanks for fixing this issue and patient for long iteration!
4 years, 11 months ago (2016-01-20 06:33:22 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1483013003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483013003/120001
4 years, 11 months ago (2016-01-20 06:34:15 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/160793)
4 years, 11 months ago (2016-01-20 06:37:21 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1483013003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483013003/140001
4 years, 11 months ago (2016-01-20 08:49:53 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 11 months ago (2016-01-20 10:39:24 UTC) #34
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 10:40:29 UTC) #36
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6a04368503ae7e48422a851d39afc920ee66502d
Cr-Commit-Position: refs/heads/master@{#370362}

Powered by Google App Engine
This is Rietveld 408576698