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

Issue 1057953002: Make flexibleBox visible position cadidate only where it is editable.

Created:
5 years, 8 months ago by changseok
Modified:
5 years, 8 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, Manuel Rego, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make flexibleBox visible position cadidate only where it is editable. FlexibleBox has been a candidate for VisiblePosition after r189482. But it was enough only when it has editable style. Why we needed r189482 was flexibleBox could not be focusable when it became an empty box in desing mode since it was not a candidate for VisiblePosition. We gave it too much power. It causes useless selection region while dragging even though it was not in desing mode. Unwanted selection region could be watched conditionally, this is because font rendering depends on platforms. Unfortunately Mac paints font relatively smaller than others do. I suspect a floating point truncation error though, we don't need to go too far. In anycase we can avoid the unwanted selection region radically with this way. BUG=468745

Patch Set 1 #

Patch Set 2 : Use helvetica if possible. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -1 line) Patch
M LayoutTests/TestExpectations View 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/drag-in-flex.html View 1 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/drag-in-flex-expected.txt View 1 1 chunk +12 lines, -0 lines 0 comments Download
A + LayoutTests/platform/mac/fast/events/drag-in-flex-expected.png View 1 Binary file 0 comments Download
M Source/core/dom/Position.cpp View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 24 (3 generated)
changseok
PTAL
5 years, 8 months ago (2015-04-02 16:27:11 UTC) #2
pdr.
+cc leviw and cbiesinger
5 years, 8 months ago (2015-04-03 03:21:44 UTC) #5
cbiesinger
Does't this apply to the grid part of the condition as well?
5 years, 8 months ago (2015-04-03 17:58:41 UTC) #6
changseok
On 2015/04/03 17:58:41, cbiesinger wrote: > Does't this apply to the grid part of the ...
5 years, 8 months ago (2015-04-03 18:20:06 UTC) #7
cbiesinger
On 2015/04/03 18:20:06, changseok wrote: > As my testing, grid also passes LayoutFlexisbleBox into Position::isCandidate ...
5 years, 8 months ago (2015-04-03 18:27:04 UTC) #8
changseok
On 2015/04/03 18:27:04, cbiesinger wrote: > On 2015/04/03 18:20:06, changseok wrote: > > As my ...
5 years, 8 months ago (2015-04-03 19:01:52 UTC) #9
pdr.
This bug is currently marked as releaseblockstable and P1. WDYT about rolling out the original ...
5 years, 8 months ago (2015-04-06 18:25:47 UTC) #10
changseok
I got where the FlexibleBox came from. It's LayoutButton which is a subclass of LayoutFlexibleBox. ...
5 years, 8 months ago (2015-04-07 06:24:41 UTC) #11
leviw_travelin_and_unemployed
On 2015/04/06 at 18:25:47, pdr wrote: > This bug is currently marked as releaseblockstable and ...
5 years, 8 months ago (2015-04-07 17:19:52 UTC) #12
changseok
On 2015/04/07 17:19:52, leviw wrote: > On 2015/04/06 at 18:25:47, pdr wrote: > > This ...
5 years, 8 months ago (2015-04-07 17:41:25 UTC) #13
leviw_travelin_and_unemployed
FWIW: it seems to me that the only case where we'd want to allow FlexBox ...
5 years, 8 months ago (2015-04-07 17:48:22 UTC) #14
changseok
On 2015/04/07 17:48:22, leviw wrote: > What does it mean to have a position between ...
5 years, 8 months ago (2015-04-07 18:42:33 UTC) #15
leviw_travelin_and_unemployed
On 2015/04/07 at 18:42:33, shivamidow wrote: > On 2015/04/07 17:48:22, leviw wrote: > > What ...
5 years, 8 months ago (2015-04-07 20:24:30 UTC) #16
changseok
On 2015/04/07 20:24:30, leviw wrote: > On 2015/04/07 at 18:42:33, shivamidow wrote: > > On ...
5 years, 8 months ago (2015-04-08 09:26:12 UTC) #17
changseok
We can not leave this behind. crbug.com/450617 which was fixed by the reverted patch happens ...
5 years, 8 months ago (2015-04-08 16:08:08 UTC) #18
leviw_travelin_and_unemployed
On 2015/04/08 at 09:26:12, shivamidow wrote: > On 2015/04/07 20:24:30, leviw wrote: > > On ...
5 years, 8 months ago (2015-04-08 17:52:52 UTC) #19
pdr.
On 2015/04/08 at 17:52:52, leviw wrote: > I'll be happy to chat with anyone who ...
5 years, 8 months ago (2015-04-08 20:34:12 UTC) #20
leviw_travelin_and_unemployed
On 2015/04/08 at 20:34:12, pdr wrote: > On 2015/04/08 at 17:52:52, leviw wrote: > > ...
5 years, 8 months ago (2015-04-08 20:38:04 UTC) #21
changseok
On 2015/04/08 20:38:04, leviw wrote: > On 2015/04/08 at 20:34:12, pdr wrote: > > On ...
5 years, 8 months ago (2015-04-09 04:18:19 UTC) #22
leviw_travelin_and_unemployed
On 2015/04/09 at 04:18:19, shivamidow wrote: > On 2015/04/08 20:38:04, leviw wrote: > > On ...
5 years, 8 months ago (2015-04-09 23:40:33 UTC) #23
leviw_travelin_and_unemployed
5 years, 8 months ago (2015-04-09 23:40:37 UTC) #24

          

Powered by Google App Engine
This is Rietveld 408576698