[webkit-dev] On/Off selection gap painting during the text selection

Gyuyoung Kim gyuyoung.kim at webkit.org
Tue May 3 08:12:28 PDT 2016

Hi Rego,

Thank you for pointing issues out when removing gaps painting. The issues
probably heads up
when gaps painting is disabled. In newline issue case, I'm able to refer to
the chrome's fix. Let me check it.
In second issue case, although it looks there is no critical issue with new
layout methods yet
I think I need to check it further. But the issues won't appear on port
which uses gaps painting.


On Tue, May 3, 2016 at 10:58 PM, Manuel Rego Casasnovas <rego at igalia.com>

> Hi,
> On 03/05/16 15:24, Gyuyoung Kim wrote:
> > I upload a patch to add a preference API in order to enable/disable the
> > selection gap painting feature.
> BTW, this has been removed from Chrome too past year:
> https://groups.google.com/a/chromium.org/d/msg/blink-dev/6Iu5oIbAGbI/PsJlNvJPhfMJ
> Note that in the discussion they pointed to an issue that happens when
> you remove gaps paining, you don't know if you've selected a newlines or
> not: https://bugs.chromium.org/p/chromium/issues/detail?id=474759
> > Add WKPreference for SelectionPaintingWithoutSelectionGaps
> > https://bugs.webkit.org/show_bug.cgi?id=156900
> As pointed out by Darin on the bug, an issue with selection gaps is what
> happens with the new layout methods like Flexbox and specially Grid
> Layout, where the visual order and the DOM order can be completely
> different.
> My 2 cents,
>   Rego
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20160504/80693865/attachment.html>

More information about the webkit-dev mailing list