Bug 66199 - CSSRegions: Region content is not selectable
Summary: CSSRegions: Region content is not selectable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 57312
  Show dependency treegraph
 
Reported: 2011-08-13 19:16 PDT by Alan Stearns
Modified: 2011-08-17 08:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Stearns 2011-08-13 19:16:13 PDT
Content rendered in regions is not selectable. If you open any of the LayoutTests/fast/regions/ files (such as flow-content-basic.html) and try to select the regions text (which would be the first instance of "flow content" in that file) nothing happens. Trying to select around and/or through the flow content results in bad selection artifacts. Doing a select all does select flow content, but not in display order.
Regions content should be selectable in place, and doing a select all and copy should give you the text in display order.
Comment 1 Alan Stearns 2011-08-15 12:58:37 PDT
Hmm. Given that absolute and relative positioned content does not "give you the text in display order" let's drop that part of the expectation from this bug. The only expectation for this bug should be that clicking in the displayed region area should select region content.
Comment 2 Alexandru Chiculita 2011-08-15 23:05:46 PDT
This sounds like the repaint area is not calculated correctly. We should also redirect repaints to the correct RenderRegions.
Comment 3 Mihnea Ovidenie 2011-08-16 10:46:11 PDT
I am currently working on it.
Comment 4 Alexandru Chiculita 2011-08-16 10:56:02 PDT
I think this is related to https://bugs.webkit.org/show_bug.cgi?id=66254 .
Comment 5 Alan Stearns 2011-08-17 08:44:48 PDT
Fixed with the changes from 66254