Bug 119622

Summary: [CSS Regions] Not possible to clear the selection when mixing content from different FlowThreads
Product: WebKit Reporter: Javier Fernandez <jfernandez>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, eflews.bot, esprehn+autocc, glenn, gyuyoung.kim, hyatt, jfernandez, kondapallykalyan, mibalan, rniwa, WebkitBugTracker, webkit-ews
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 106817, 109283    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Javier Fernandez
Reported 2013-08-09 05:15:59 PDT
This bug was hidden by the fix for the bug 105641, which basically prevented the selection to be rendered when crossing the FlowThread boundaries. Such fix is not correct, because instead of fixing the actual bug it adds restrictions on how the selection works with Regions. We need to properly fix the selection clearing operation, allowing selections to cross RenderFlow boundaries and select content from different Regions.
Attachments
Patch (5.08 KB, patch)
2013-08-09 06:10 PDT, Javier Fernandez
no flags
Patch (5.08 KB, patch)
2013-08-09 06:34 PDT, Javier Fernandez
no flags
Patch (5.77 KB, patch)
2013-08-09 12:07 PDT, Javier Fernandez
no flags
Patch (10.17 KB, patch)
2013-08-14 15:30 PDT, Javier Fernandez
no flags
Javier Fernandez
Comment 1 2013-08-09 06:10:21 PDT
Build Bot
Comment 2 2013-08-09 06:13:30 PDT
Build Bot
Comment 3 2013-08-09 06:14:33 PDT
EFL EWS Bot
Comment 4 2013-08-09 06:15:04 PDT
Early Warning System Bot
Comment 5 2013-08-09 06:15:55 PDT
Early Warning System Bot
Comment 6 2013-08-09 06:16:04 PDT
EFL EWS Bot
Comment 7 2013-08-09 06:16:12 PDT
Javier Fernandez
Comment 8 2013-08-09 06:34:42 PDT
Build Bot
Comment 9 2013-08-09 06:38:30 PDT
Build Bot
Comment 10 2013-08-09 06:41:31 PDT
Sergio Villar Senin
Comment 11 2013-08-09 07:31:50 PDT
Comment on attachment 208429 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=208429&action=review Not really my field of expertise, just doing an informal general review. > Source/WebCore/rendering/RenderView.cpp:782 > + bool cond = os && os != stop; Do not use "cond", use a more descriptive name. > Source/WebCore/rendering/RenderView.cpp:849 > + cond = o && o != stop; Ditto. > Source/WebCore/rendering/RenderView.cpp:873 > + } The code looks exactly the same than the above, would it be possible to refactor it in some function?
EFL EWS Bot
Comment 12 2013-08-09 08:00:24 PDT
EFL EWS Bot
Comment 13 2013-08-09 08:28:31 PDT
Early Warning System Bot
Comment 14 2013-08-09 08:41:43 PDT
Early Warning System Bot
Comment 15 2013-08-09 08:42:53 PDT
Javier Fernandez
Comment 16 2013-08-09 12:07:19 PDT
Dave Hyatt
Comment 17 2013-08-14 13:34:42 PDT
Comment on attachment 208447 [details] Patch Patch looks fine, but you need a test.
Javier Fernandez
Comment 18 2013-08-14 15:30:32 PDT
Created attachment 208765 [details] Patch Added missing layout tests
Dave Hyatt
Comment 19 2013-09-04 12:26:34 PDT
Comment on attachment 208765 [details] Patch r=me
WebKit Commit Bot
Comment 20 2013-09-04 12:51:25 PDT
Comment on attachment 208765 [details] Patch Clearing flags on attachment: 208765 Committed r155058: <http://trac.webkit.org/changeset/155058>
WebKit Commit Bot
Comment 21 2013-09-04 12:51:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.