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

Issue 141683003: Return the right top position for text selections when there are no previous root inline boxes. (Closed)

Created:
6 years, 11 months ago by mario.prada
Modified:
6 years, 10 months ago
Reviewers:
eae
CC:
blink-reviews, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Return the right top position for text selections when there are no previous root inline boxes. The code in RootInlineBox::selectionTop() was doing some extra calculations based on border and padding to determine the top position of a text selection for a RootInlineBox when there is no previous box to consider, instead of just returning the m_lineTop value (which is similar to what is correctly being done already now in RootInlineBox::selectionBottom()). This caused that the top position for a selection was usually miscalculated, returning to high values when the line-height value is too big, and too small values when line-height is too small, causing rendering issues both when drawing cursors and selection rectangles. BUG=313593 TEST=Try selecting text over lines with too big and too small values for line-height. R=eae@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167813

Patch Set 1 #

Patch Set 2 : Marking tests failing for linux as NeedsRebaseline and updating one reftest #

Patch Set 3 : Added more tests as NeedsRebaseline which were not detected on Linux builds #

Patch Set 4 : Added [ NeedsRebaseline ] for foreignObject-text-clipping-bug.xml on Windows #

Patch Set 5 : Added [ NeedsRebaseline ] for editing/selection/move-left-right.html on Windows #

Patch Set 6 : Added [ NeedsRebaseline ] for editing/selection/move-left-right.html #

Messages

Total messages: 34 (0 generated)
mario.prada
Hi, Could you please take a look to this patch? It seems to fix the ...
6 years, 11 months ago (2014-01-20 17:19:54 UTC) #1
eae
On 2014/01/20 17:19:54, mario.prada wrote: > Hi, > > Could you please take a look ...
6 years, 11 months ago (2014-01-21 18:19:20 UTC) #2
mario.prada
On 2014/01/21 18:19:20, eae wrote: > On 2014/01/20 17:19:54, mario.prada wrote: > > Hi, > ...
6 years, 11 months ago (2014-01-22 15:16:49 UTC) #3
mario.prada
On 2014/01/22 15:16:49, mario.prada wrote: > [...] > Thanks for the review. Unfortunately I haven't ...
6 years, 11 months ago (2014-01-24 17:33:55 UTC) #4
eae
On 2014/01/24 17:33:55, mario.prada wrote: > On 2014/01/22 15:16:49, mario.prada wrote: > > [...] > ...
6 years, 11 months ago (2014-01-24 18:04:00 UTC) #5
mario.prada
On 2014/01/24 18:04:00, eae wrote: Under a Company CLA, included with my <nickname>@samsung.com email address. ...
6 years, 11 months ago (2014-01-27 09:31:02 UTC) #6
mario.prada
On 2014/01/27 09:31:02, mario.prada wrote: > On 2014/01/24 18:04:00, eae wrote: > > Under a ...
6 years, 10 months ago (2014-01-29 17:52:43 UTC) #7
eae
I'm afraid I cannot find any record of you having signed the SLA, could you ...
6 years, 10 months ago (2014-01-29 21:12:50 UTC) #8
eae
LGTM, sorry about the delay!
6 years, 10 months ago (2014-01-30 18:05:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mario.prada@samsung.com/141683003/1
6 years, 10 months ago (2014-01-30 18:43:22 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=19665
6 years, 10 months ago (2014-01-30 22:01:54 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-30 22:02:02 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-30 22:02:03 UTC) #13
mario.prada
Marking tests failing for linux as NeedsRebaseline and updating one reftest
6 years, 10 months ago (2014-02-06 11:49:57 UTC) #14
eae
The CQ bit was checked by eae@chromium.org
6 years, 10 months ago (2014-02-14 10:38:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mario.prada@samsung.com/141683003/120001
6 years, 10 months ago (2014-02-14 10:38:23 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 12:21:58 UTC) #17
commit-bot: I haz the power
Retried try job too often on mac_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_blink_rel&number=18718
6 years, 10 months ago (2014-02-14 12:21:59 UTC) #18
mario.prada
Added more tests as NeedsRebaseline which were not detected on Linux builds
6 years, 10 months ago (2014-02-14 15:31:41 UTC) #19
mario.prada
Added [ NeedsRebaseline ] for foreignObject-text-clipping-bug.xml on Windows
6 years, 10 months ago (2014-02-17 17:23:21 UTC) #20
mario.prada
On 2014/02/17 17:23:21, mario.prada wrote: > Added [ NeedsRebaseline ] for foreignObject-text-clipping-bug.xml on Windows I ...
6 years, 10 months ago (2014-02-17 17:24:50 UTC) #21
mario.prada
On 2014/02/17 17:24:50, mario.prada wrote: > On 2014/02/17 17:23:21, mario.prada wrote: > > Added [ ...
6 years, 10 months ago (2014-02-24 17:02:57 UTC) #22
eae
The CQ bit was checked by eae@chromium.org
6 years, 10 months ago (2014-02-24 19:55:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mario.prada@samsung.com/141683003/420001
6 years, 10 months ago (2014-02-24 19:56:01 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-24 23:06:32 UTC) #25
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=28708
6 years, 10 months ago (2014-02-24 23:06:33 UTC) #26
mario.prada
Added [ NeedsRebaseline ] for editing/selection/move-left-right.html on Windows
6 years, 10 months ago (2014-02-25 14:42:59 UTC) #27
mario.prada
The CQ bit was checked by mario.prada@samsung.com
6 years, 10 months ago (2014-02-25 15:36:16 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mario.prada@samsung.com/141683003/630001
6 years, 10 months ago (2014-02-25 15:38:00 UTC) #29
mario.prada
The CQ bit was unchecked by mario.prada@samsung.com
6 years, 10 months ago (2014-02-25 16:42:43 UTC) #30
mario.prada
Added [ NeedsRebaseline ] for editing/selection/move-left-right.html
6 years, 10 months ago (2014-02-25 16:44:22 UTC) #31
mario.prada
The CQ bit was checked by mario.prada@samsung.com
6 years, 10 months ago (2014-02-25 16:48:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mario.prada@samsung.com/141683003/650001
6 years, 10 months ago (2014-02-25 16:48:41 UTC) #33
commit-bot: I haz the power
6 years, 10 months ago (2014-02-25 19:12:24 UTC) #34
Message was sent while issue was closed.
Change committed as 167813

Powered by Google App Engine
This is Rietveld 408576698