Bug 11516

Summary: Dragging a text selection on an RSS page can select all text above the intended selection
Product: WebKit Reporter: boblet <2006+opendarwin.org>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mitz, tim
Priority: P2 Keywords: NeedsReduction
Version: 420+   
Hardware: Macintosh Intel   
OS: OS X 10.4   
URL: feed://feeds.feedburner.com/theshowzefrank

Description boblet 2006-11-04 06:42:16 PST
when I click-drag on an RSS feed page to select text for copying, the text selection automatically expands to the top of the page and includes the right column (gray background). Pasting this gives me all the text of the right column, then all the text from the feed until the bottom point of the selection. This doesn't occur if the selection only contains text below the height of the bottom of the text in the right column (the Actions: options) - selecting some text on the very bottom of the viewport and it works fine. I tested on a couple of feeds so I'm guessing it's something to do with the way Webkit makes the RSS page (rather than RSS errors).

(btw my workaround to select unlinked text is to double-click the first word, hold shift and then double-click the last word)
Comment 1 Tim Coulter 2007-06-19 17:26:47 PDT
1. Open an XML/RSS feed in Safari's RSS reader.
2. Attempt to select a single word in the middle of the page.

RESULT: Selection expands to the beginning of the page.

This also affects Coda's Books section, which uses WebKit to display HTML-formatted reference material laid out with CSS techniques similar to those in Safari's stylized RSS reader.
Comment 2 Tim Coulter 2007-06-20 11:54:36 PDT
Kind of reduced here:


Something about nested absolutely positioned elements and the "overflow" property.  The 'overflow' property seems to be the key. Using 'visible' or 'hidden' causes normal (non-wonky) text selection.  Using 'scroll' or 'auto' invokes the weirdness.
Comment 3 Tim Coulter 2007-11-05 16:10:30 PST
This appears to be fixed in Leopard.