<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">- R. Niwa</div></div>
<br><div class="gmail_quote">On Tue, May 3, 2016 at 6:24 AM, Gyuyoung Kim <span dir="ltr">&lt;<a href="mailto:gyuyoung.kim@webkit.org" target="_blank">gyuyoung.kim@webkit.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hello all,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I upload a patch to add a preference API in order to enable/disable the selection gap painting feature.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Add WKPreference for SelectionPaintingWithoutSelectionGaps<br></div><div style="font-size:12.8px"><a href="https://bugs.webkit.org/show_bug.cgi?id=156900" target="_blank">https://bugs.webkit.org/show_bug.cgi?id=156900</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">You&#39;re able to see what is the selection gap painting in below screenshots.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">1. Enable selection gap painting on WebKitGTK+ (Red circles point out the selection gaps)</div><div style="font-size:12.8px"><br><img src="cid:ii_inrgskst0_15476c8a4abdbb09" width="544" height="406"><br>​<br>​</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>2. Disable selection gap painting on WebKitGTK+</div><div><br></div><div><img src="cid:ii_inrgsy541_15476c8e91da5636" width="544" height="539"><br>​</div></div><div style="font-size:12.8px">Almost browsers don&#39;t support the selection gap painting when doing text selection. So I wonder why WebKit has been <span style="font-size:12.8px">doing support this feature so far.</span></div></div></blockquote><div><br></div><div>Selection gap primarily exists to match TextEdit / NSTextView&#39;s selection behavior on Mac.</div><div><br></div><div>At last year&#39;s contributor&#39;s meeting, there was a discussion about revising that to adopt iOS like block selection in the future once we adopt visual selection of contents.</div><div><br></div><div>- R. Niwa</div><div><br></div></div></div></div>