When selectionGranularity is set to WKSelectionGranularityCharacter, the selection UI is broken: the selection highlights and the selection handles are never visible.
<rdar://problem/28481984>
Created attachment 289868 [details] Avoid clipping the selection UI when it is not confined to an element
Comment on attachment 289868 [details] Avoid clipping the selection UI when it is not confined to an element I think we should go the extra mile here to add testing.
Created attachment 289965 [details] Avoid clipping the selection UI when it is not confined to an element Added a test. I will need help making it run only in iOS with WebKit2.
Comment on attachment 289965 [details] Avoid clipping the selection UI when it is not confined to an element View in context: https://bugs.webkit.org/attachment.cgi?id=289965&action=review > Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:82 > + readonly attribute object selectionRangeViewRects; Would be nice if a comment said what this returned (like "Returns an array of objects with 'left', 'top', 'width', 'height' properties"
Created attachment 289980 [details] Avoid clipping the selection UI when it is not confined to an element Tried to fix failing builds.
Fixed in <https://trac.webkit.org/r206449>.