Bug 93676

Summary: DraggableRegion doesn't update when content size changed.
Product: WebKit Reporter: Junmin Zhu <junmin.zhu>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: jianli, thenarant
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
html file
none
css file
none
js file none

Junmin Zhu
Reported 2012-08-09 19:01:03 PDT
In the frameless packaged app, window can be dragged if set with "-webkit-widget-region" in app. But draggableRegion doesn't update when content size changed, such as: window resized, window maximized etc.
Attachments
html file (229 bytes, text/html)
2012-08-13 23:00 PDT, Junmin Zhu
no flags
css file (321 bytes, text/css)
2012-08-13 23:00 PDT, Junmin Zhu
no flags
js file (352 bytes, application/x-javascript)
2012-08-13 23:01 PDT, Junmin Zhu
no flags
Jian Li
Comment 1 2012-08-09 22:13:01 PDT
(In reply to comment #0) > In the frameless packaged app, window can be dragged if set with "-webkit-widget-region" in app. > But draggableRegion doesn't update when content size changed, such as: window resized, window maximized etc. Please include the html/js that shows this bug. I think I observe that the browser process receives the notification when the window is resized on Windows.
Junmin Zhu
Comment 2 2012-08-13 23:00:30 PDT
Created attachment 158221 [details] html file
Junmin Zhu
Comment 3 2012-08-13 23:00:54 PDT
Created attachment 158222 [details] css file
Junmin Zhu
Comment 4 2012-08-13 23:01:21 PDT
Junmin Zhu
Comment 5 2012-08-13 23:03:07 PDT
please check the attachment, when enlarge the content size, the enlarged region is't treated as draggable region.
Note You need to log in before you can comment on or make changes to this bug.