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 1541083002: Fix invalid selection produced when dragging mouse outside the SVG text element (Closed)

Created:
5 years ago by hyunjunekim2
Modified:
4 years, 10 months ago
Reviewers:
pdr., fs
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

Implement positionForPoint() for LayoutSVGRoot. Not working text-selection when dragging mouse outside the SVG text element. Because return either createPositionWithAffinity(0) or createPositionWithAffinity(1) on |LayoutReplaced::positionForPoint|. Implement positionForPoint() for LayoutSVGRoot and implement a way to find the LayoutSVGText closest to the point. BUG=445329 Committed: https://crrev.com/22889144f57acb143ddf25576f9ae309e6d88b13 Cr-Commit-Position: refs/heads/master@{#376141}

Patch Set 1 : Just test #

Patch Set 2 : Draft #

Patch Set 3 : Test1 #

Patch Set 4 : #

Patch Set 5 : Draft2 #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 5

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 12

Patch Set 14 : #

Patch Set 15 : Starting Point #

Patch Set 16 : Starting Point2 #

Patch Set 17 : WIP(Draft) - No #

Patch Set 18 : #

Patch Set 19 : Draft(Ref. LayoutBox) #

Patch Set 20 : #

Total comments: 7

Patch Set 21 : v1 #

Patch Set 22 : #

Patch Set 23 : #

Patch Set 24 : #

Patch Set 25 : #

Total comments: 13

Patch Set 26 : #

Patch Set 27 : #

Patch Set 28 : #

Patch Set 29 : #

Patch Set 30 : #

Patch Set 31 : #

Patch Set 32 : #

Total comments: 5

Patch Set 33 : #

Patch Set 34 : #

Patch Set 35 : #

Patch Set 36 : #

Total comments: 4

Patch Set 37 : #

Patch Set 38 : #

Patch Set 39 : #

Total comments: 4

Patch Set 40 : #

Total comments: 7

Patch Set 41 : #

Patch Set 42 : #

Total comments: 3

Patch Set 43 : #

Patch Set 44 : #

Total comments: 1

Patch Set 45 : #

Patch Set 46 : #

Total comments: 4

Patch Set 47 : #

Patch Set 48 : #

Total comments: 1

Patch Set 49 : #

Patch Set 50 : #

Total comments: 5

Patch Set 51 : #

Patch Set 52 : #

Patch Set 53 : #

Patch Set 54 : #

Total comments: 1

Patch Set 55 : #

Patch Set 56 : #

Patch Set 57 : #

Patch Set 58 : #

Total comments: 2

Patch Set 59 : #

Patch Set 60 : #

Patch Set 61 : #

Total comments: 28

Patch Set 62 : #

Patch Set 63 : #

Total comments: 11

Patch Set 64 : #

Patch Set 65 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -4 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-2.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-2-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-3.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-3-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutReplaced.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 2 chunks +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 2 chunks +85 lines, -0 lines 0 comments Download

Messages

Total messages: 137 (46 generated)
hyunjunekim2
pdr, fs Could you check this idea? and if you are possible, give me advice? ...
4 years, 11 months ago (2016-01-06 12:38:17 UTC) #3
pdr.
Can you create a test case so it's easier to review?
4 years, 11 months ago (2016-01-06 18:31:46 UTC) #4
fs
On 2016/01/06 at 18:31:46, pdr wrote: > Can you create a test case so it's ...
4 years, 11 months ago (2016-01-07 12:22:20 UTC) #5
hyunjunekim2
pdr, fs Ok, I will make a test. and detail description.
4 years, 11 months ago (2016-01-08 01:17:14 UTC) #6
hyunjunekim2
Code description. https://codereview.chromium.org/1541083002/diff/160001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1541083002/diff/160001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode301 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:301: closestDescendant = descendant; 1. Find closest LayoutSVGText ...
4 years, 11 months ago (2016-01-11 09:13:17 UTC) #8
fs
On 2016/01/11 at 09:13:17, hyunjune.kim wrote: > Code description. Yes, I've no problem understanding what ...
4 years, 11 months ago (2016-01-11 09:23:54 UTC) #10
hyunjunekim2
fs, Could you review this patch? and give me a advice. Thank you.
4 years, 11 months ago (2016-01-12 09:38:49 UTC) #20
fs
On 2016/01/12 at 09:38:49, hyunjune.kim wrote: > fs, Could you review this patch? and give ...
4 years, 11 months ago (2016-01-12 10:16:58 UTC) #21
hyunjunekim2
On 2016/01/12 10:16:58, fs wrote: > On 2016/01/12 at 09:38:49, hyunjune.kim wrote: > > fs, ...
4 years, 11 months ago (2016-01-12 15:42:15 UTC) #28
fs
https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/LayoutTests/platform/linux/svg/custom/mouse-move-on-svg-root-expected.txt File third_party/WebKit/LayoutTests/platform/linux/svg/custom/mouse-move-on-svg-root-expected.txt (left): https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/LayoutTests/platform/linux/svg/custom/mouse-move-on-svg-root-expected.txt#oldcode13 third_party/WebKit/LayoutTests/platform/linux/svg/custom/mouse-move-on-svg-root-expected.txt:13: caret: position 0 of child 0 {#text} of child ...
4 years, 11 months ago (2016-01-12 17:40:17 UTC) #29
pdr.
https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode292 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:292: for (LayoutObject* descendant = firstChild(); descendant; descendant = descendant->nextInPreOrder(this)) ...
4 years, 11 months ago (2016-01-12 23:52:47 UTC) #30
hyunjunekim2
> https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode292 > third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:292: for > (LayoutObject* descendant = firstChild(); descendant; descendant = > descendant->nextInPreOrder(this)) ...
4 years, 11 months ago (2016-01-13 15:44:39 UTC) #31
fs
On 2016/01/13 at 15:44:39, hyunjune.kim wrote: > > https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode292 > > third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:292: for > > ...
4 years, 11 months ago (2016-01-13 15:58:13 UTC) #32
hyunjunekim2
> https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode334 > > > third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:334: if > > > (absolutePoint.x() < 0) > > ...
4 years, 11 months ago (2016-01-14 05:23:56 UTC) #33
hyunjunekim2
fs, Could you check starting point on PS15? I will implement on LayouBox like PS15.
4 years, 11 months ago (2016-01-14 05:50:37 UTC) #34
fs
On 2016/01/14 at 05:23:56, hyunjune.kim wrote: > > https://codereview.chromium.org/1541083002/diff/240001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode334 > > > > third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:334: if ...
4 years, 11 months ago (2016-01-14 10:31:02 UTC) #35
hyunjunekim2
On 2016/01/14 10:31:02, fs wrote: > On 2016/01/14 at 05:23:56, hyunjune.kim wrote: > > > ...
4 years, 11 months ago (2016-01-14 10:49:14 UTC) #36
hyunjunekim2
fs, One must find the nearest TextObject? How you do overlap if the parent object? ...
4 years, 11 months ago (2016-01-14 13:56:06 UTC) #37
hyunjunekim2
> <svg xmlns="http://www.w3.org/2000/svg" width="800" height="800"> > <g> > <text x="30" y="50">Lorem Ipsum Dolor Sit Amet</text> ...
4 years, 11 months ago (2016-01-14 14:02:25 UTC) #38
hyunjunekim2
On 2016/01/14 14:02:25, hyunjunekim2 wrote: > > <svg xmlns="http://www.w3.org/2000/svg" width="800" height="800"> > > <g> > ...
4 years, 11 months ago (2016-01-14 14:03:34 UTC) #39
fs
On 2016/01/14 at 13:56:06, hyunjune.kim wrote: > fs, > One must find the nearest TextObject? ...
4 years, 11 months ago (2016-01-14 14:24:36 UTC) #40
hyunjunekim2
On 2016/01/14 14:24:36, fs wrote: > On 2016/01/14 at 13:56:06, hyunjune.kim wrote: > > fs, ...
4 years, 11 months ago (2016-01-14 14:45:29 UTC) #41
fs
On 2016/01/14 at 14:45:29, hyunjune.kim wrote: > On 2016/01/14 14:24:36, fs wrote: > > On ...
4 years, 11 months ago (2016-01-14 14:57:27 UTC) #42
hyunjunekim2
fs, Could you check PS19? And How do you think this concept? I referred to ...
4 years, 11 months ago (2016-01-15 07:31:41 UTC) #43
hyunjunekim2
On 2016/01/15 07:31:41, hyunjunekim2 wrote: > fs, Could you check PS19? > And How do ...
4 years, 11 months ago (2016-01-15 09:52:57 UTC) #44
fs
https://codereview.chromium.org/1541083002/diff/380001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/380001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode485 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:485: if (child->style()->visibility() != VISIBLE) This is not correct at ...
4 years, 11 months ago (2016-01-15 10:34:16 UTC) #45
hyunjunekim2
fs, Could you check PS22? Thank you.
4 years, 11 months ago (2016-01-15 17:28:06 UTC) #46
hyunjunekim2
fs, Could you check PS25? and give me your advice. Thank you. ;)
4 years, 11 months ago (2016-01-18 10:01:16 UTC) #47
fs
You really need to have more tests for this... and decent enough documentation describing what ...
4 years, 11 months ago (2016-01-18 12:44:11 UTC) #48
hyunjunekim2
https://codereview.chromium.org/1541083002/diff/480001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1541083002/diff/480001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode304 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:304: if (toLayoutSVGText(closestDescendant)->location().x()) On 2016/01/18 12:44:11, fs wrote: > I ...
4 years, 11 months ago (2016-01-18 13:32:48 UTC) #49
fs
https://codereview.chromium.org/1541083002/diff/480001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1541083002/diff/480001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode304 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:304: if (toLayoutSVGText(closestDescendant)->location().x()) On 2016/01/18 at 13:32:48, hyunjunekim2 wrote: > ...
4 years, 11 months ago (2016-01-18 13:56:23 UTC) #50
hyunjunekim2
fs, Could you check PS 32? Thank you.
4 years, 11 months ago (2016-01-19 10:44:20 UTC) #51
hyunjunekim2
On 2016/01/19 10:44:20, hyunjunekim2 wrote: > fs, Could you check PS 32? Thank you. I ...
4 years, 11 months ago (2016-01-19 13:13:09 UTC) #52
fs
On 2016/01/19 at 10:44:20, hyunjune.kim wrote: > fs, Could you check PS 32? Thank you. ...
4 years, 11 months ago (2016-01-19 13:30:04 UTC) #53
hyunjunekim2
fs, Could you check PS 36? Thank you.
4 years, 11 months ago (2016-01-19 15:18:54 UTC) #54
fs
https://codereview.chromium.org/1541083002/diff/690001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1541083002/diff/690001/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode294 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:294: if (closestDescendant) You trivially know this (checked 3 lines ...
4 years, 11 months ago (2016-01-19 16:12:46 UTC) #55
hyunjunekim2
> Does that match your intention by any chance? (The top comment sounds a bit ...
4 years, 11 months ago (2016-01-20 06:26:38 UTC) #56
fs
On 2016/01/20 at 06:26:38, hyunjune.kim wrote: > > Does that match your intention by any ...
4 years, 11 months ago (2016-01-20 13:24:07 UTC) #57
hyunjunekim2
On 2016/01/20 13:24:07, fs wrote: > On 2016/01/20 at 06:26:38, hyunjune.kim wrote: > > > ...
4 years, 11 months ago (2016-01-20 14:06:06 UTC) #58
fs
https://codereview.chromium.org/1541083002/diff/750001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/750001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode481 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:481: // Try to search closest |LayoutSVGText| on sub-tree of ...
4 years, 11 months ago (2016-01-20 15:29:29 UTC) #59
hyunjunekim2
fs, Could you check PS40? Thank you.
4 years, 11 months ago (2016-01-21 13:38:06 UTC) #60
hyunjunekim2
On 2016/01/21 13:38:06, hyunjunekim2 wrote: > fs, Could you check PS40? Thank you. Rebased it.
4 years, 11 months ago (2016-01-21 14:14:23 UTC) #61
fs
https://codereview.chromium.org/1541083002/diff/770001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/770001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode493 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:493: if (child->isSVGHiddenContainer() || !child->localToParentTransform().isInvertible()) Marginally better than before. I ...
4 years, 11 months ago (2016-01-21 14:27:16 UTC) #62
hyunjunekim2
Could you give me your advice? Thank you. https://codereview.chromium.org/1541083002/diff/770001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/770001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode493 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:493: if ...
4 years, 11 months ago (2016-01-21 15:14:05 UTC) #63
hyunjunekim2
Also Could you check PS43?
4 years, 11 months ago (2016-01-21 15:23:44 UTC) #64
fs
Please add more tests. https://codereview.chromium.org/1541083002/diff/810001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/810001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode498 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:498: // Try to search closest ...
4 years, 11 months ago (2016-01-21 15:32:02 UTC) #65
hyunjunekim2
fs, Could you check PS44? and I am going to add more tests. Thank you.
4 years, 11 months ago (2016-01-21 15:51:01 UTC) #66
fs
https://codereview.chromium.org/1541083002/diff/850001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/850001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode496 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:496: static inline bool isPossibleToCalculateDistance(LayoutObject* layoutObject) Yeah, this is not ...
4 years, 11 months ago (2016-01-21 16:05:54 UTC) #67
hyunjunekim2
fs, Could you check PS46? added tests and made a function to calculate distance. Thank ...
4 years, 11 months ago (2016-01-24 13:28:38 UTC) #68
fs
https://codereview.chromium.org/1541083002/diff/890001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html File third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html (right): https://codereview.chromium.org/1541083002/diff/890001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html#newcode27 third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html:27: function verify(start, end) { Rather than copying these helpers ...
4 years, 11 months ago (2016-01-25 13:00:57 UTC) #69
hyunjunekim2
On 2016/01/25 13:00:57, fs wrote: > https://codereview.chromium.org/1541083002/diff/890001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html > File third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html > (right): > > https://codereview.chromium.org/1541083002/diff/890001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html#newcode27 ...
4 years, 11 months ago (2016-01-25 14:54:48 UTC) #70
fs
On 2016/01/25 at 14:54:48, hyunjune.kim wrote: > On 2016/01/25 13:00:57, fs wrote: ... https://codereview.chromium.org/1541083002/diff/890001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode512 > ...
4 years, 11 months ago (2016-01-25 15:31:28 UTC) #71
hyunjunekim2
fs, Could you check a test which is |selection-dragging-outside-1.html|, and |SVGLayoutSupport.cpp| changed? Thank you.
4 years, 11 months ago (2016-01-26 14:18:00 UTC) #72
fs
https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html File third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html (right): https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html#newcode13 third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html:13: function runTest() { This function could be removed - ...
4 years, 11 months ago (2016-01-26 14:24:01 UTC) #73
hyunjunekim2
https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode529 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:529: if (closestLayoutObject && candidates.isEmpty()) On 2016/01/26 14:24:01, fs wrote: ...
4 years, 11 months ago (2016-01-26 14:43:18 UTC) #74
hyunjunekim2
I think that need to check null. https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode529 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:529: if (closestLayoutObject ...
4 years, 11 months ago (2016-01-26 14:53:17 UTC) #75
hyunjunekim2
> if ((!closestLayoutObject || closestLayoutObject) && candidates.isEmpty())) > return closestLayoutObject; It's poor ... -_- i ...
4 years, 11 months ago (2016-01-26 14:54:50 UTC) #76
fs
On 2016/01/26 at 14:43:18, hyunjune.kim wrote: > https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp > File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): > > https://codereview.chromium.org/1541083002/diff/970001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode529 ...
4 years, 11 months ago (2016-01-26 14:56:58 UTC) #77
hyunjunekim2
i think just that if (candidates.isEmpty()) return closestLayoutObject;
4 years, 11 months ago (2016-01-26 14:58:12 UTC) #78
fs
On 2016/01/26 at 14:58:12, hyunjune.kim wrote: > i think just that > if (candidates.isEmpty()) > ...
4 years, 11 months ago (2016-01-26 15:01:58 UTC) #79
hyunjunekim2
On 2016/01/26 15:01:58, fs wrote: > On 2016/01/26 at 14:58:12, hyunjune.kim wrote: > > i ...
4 years, 11 months ago (2016-01-26 15:14:44 UTC) #81
hyunjunekim2
On 2016/01/26 15:14:44, hyunjunekim2 wrote: > On 2016/01/26 15:01:58, fs wrote: > > On 2016/01/26 ...
4 years, 11 months ago (2016-01-26 15:16:38 UTC) #82
hyunjunekim2
how do you look? if (child->isSVGContainer() && !layoutObject->isSVGHiddenContainer()) { float distance = distanceToChildLayoutObject(child, point); if ...
4 years, 11 months ago (2016-01-26 15:20:39 UTC) #83
hyunjunekim2
fs, The Concept for finding closest LayoutSVGText is changed from Patch Set 46.
4 years, 11 months ago (2016-01-26 15:26:21 UTC) #84
hyunjunekim2
fs, Could you check PS52?
4 years, 11 months ago (2016-01-26 15:30:14 UTC) #85
hyunjunekim2
On 2016/01/26 15:30:14, hyunjunekim2 wrote: > fs, Could you check PS52? The original concept is ...
4 years, 11 months ago (2016-01-26 15:37:50 UTC) #86
fs
On 2016/01/26 at 15:30:14, hyunjune.kim wrote: > fs, Could you check PS52? I get that ...
4 years, 11 months ago (2016-01-26 15:40:58 UTC) #87
hyunjunekim2
On 2016/01/26 15:40:58, fs wrote: > On 2016/01/26 at 15:30:14, hyunjune.kim wrote: > > fs, ...
4 years, 11 months ago (2016-01-26 15:47:14 UTC) #88
fs
On 2016/01/26 at 15:47:14, hyunjune.kim wrote: > On 2016/01/26 15:40:58, fs wrote: > > On ...
4 years, 11 months ago (2016-01-26 15:51:50 UTC) #89
hyunjunekim2
fs, I wrote a report about survey for 1 months. Survey about PS53 Priority to ...
4 years, 11 months ago (2016-01-27 13:49:12 UTC) #90
fs
On 2016/01/27 at 13:49:12, hyunjune.kim wrote: > fs, I wrote a report about survey for ...
4 years, 11 months ago (2016-01-27 14:19:44 UTC) #91
hyunjunekim2
I am thinking like this. I will upload next patch. https://codereview.chromium.org/1541083002/diff/1050001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/1050001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode535 ...
4 years, 10 months ago (2016-02-02 15:42:52 UTC) #92
hyunjunekim2
fs, Could you check |searchTreeForFindClosestLayoutSVGText| concept on PS58? Thank you.
4 years, 10 months ago (2016-02-07 10:45:36 UTC) #93
hyunjunekim2
https://codereview.chromium.org/1541083002/diff/1130001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp File third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp (right): https://codereview.chromium.org/1541083002/diff/1130001/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp#newcode534 third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp:534: for (SearchCandidate& searchCandidate : candidates) { We should find ...
4 years, 10 months ago (2016-02-08 10:41:01 UTC) #94
fs
On 2016/02/07 at 10:45:36, hyunjune.kim wrote: > fs, Could you check |searchTreeForFindClosestLayoutSVGText| concept on PS58? ...
4 years, 10 months ago (2016-02-08 13:22:31 UTC) #95
hyunjunekim2
fs, Could you check PS61? Thank you.
4 years, 10 months ago (2016-02-12 15:57:18 UTC) #108
fs
https://codereview.chromium.org/1541083002/diff/1190001/third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js File third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js (right): https://codereview.chromium.org/1541083002/diff/1190001/third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js#newcode146 third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js:146: shouldBe("range.startOffset", expectedRange.start); You should check for an expected element ...
4 years, 10 months ago (2016-02-12 17:05:43 UTC) #109
hyunjunekim2
fs, Could you check PS63? Thank you. https://codereview.chromium.org/1541083002/diff/1190001/third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js File third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js (right): https://codereview.chromium.org/1541083002/diff/1190001/third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js#newcode146 third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js:146: shouldBe("range.startOffset", expectedRange.start); ...
4 years, 10 months ago (2016-02-15 13:34:21 UTC) #110
fs
Almost there https://codereview.chromium.org/1541083002/diff/1230001/third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js File third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js (right): https://codereview.chromium.org/1541083002/diff/1230001/third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js#newcode157 third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js:157: Nit: Unnecessary blank line. https://codereview.chromium.org/1541083002/diff/1230001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html File third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html ...
4 years, 10 months ago (2016-02-15 14:11:24 UTC) #111
hyunjunekim2
fs, Could you give me advice about vertical align? Thank you. https://codereview.chromium.org/1541083002/diff/1230001/third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js File third_party/WebKit/LayoutTests/svg/text/resources/SelectionTestCase.js (right): ...
4 years, 10 months ago (2016-02-15 16:08:12 UTC) #112
hyunjunekim2
> https://codereview.chromium.org/1541083002/diff/1230001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html#newcode15 > third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html:15: > selectTextFromCharToPoint({ id: 'line', offset: 12 }, { x: 300, y: ...
4 years, 10 months ago (2016-02-15 16:13:26 UTC) #113
fs
On 2016/02/15 at 16:13:26, hyunjune.kim wrote: > > https://codereview.chromium.org/1541083002/diff/1230001/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html#newcode15 > > third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html:15: > > selectTextFromCharToPoint({ ...
4 years, 10 months ago (2016-02-15 16:31:01 UTC) #114
hyunjunekim2
Could you check PS65? And Could you give me guide to create new issue? now ...
4 years, 10 months ago (2016-02-17 13:35:48 UTC) #115
hyunjunekim2
> And Could you give me guide to create new issue? > now push `new ...
4 years, 10 months ago (2016-02-17 13:38:31 UTC) #116
hyunjunekim2
fs, I have updated PS65. Thank you.
4 years, 10 months ago (2016-02-17 15:42:48 UTC) #117
fs
> So after redefine |positionForPoint| on LayoutSVGRoot, and implement text selection. I'd suggest you reword ...
4 years, 10 months ago (2016-02-17 16:32:35 UTC) #118
hyunjunekim2
On 2016/02/17 16:32:35, fs wrote: > > So after redefine |positionForPoint| on LayoutSVGRoot, and implement ...
4 years, 10 months ago (2016-02-18 01:57:15 UTC) #130
fs
On 2016/02/18 at 01:57:15, hyunjune.kim wrote: > On 2016/02/17 16:32:35, fs wrote: > > > ...
4 years, 10 months ago (2016-02-18 08:46:49 UTC) #131
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1541083002/1270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1541083002/1270001
4 years, 10 months ago (2016-02-18 09:27:05 UTC) #133
commit-bot: I haz the power
Committed patchset #65 (id:1270001)
4 years, 10 months ago (2016-02-18 10:59:09 UTC) #135
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 11:00:38 UTC) #137
Message was sent while issue was closed.
Patchset 65 (id:??) landed as
https://crrev.com/22889144f57acb143ddf25576f9ae309e6d88b13
Cr-Commit-Position: refs/heads/master@{#376141}

Powered by Google App Engine
This is Rietveld 408576698