webkit app region is not taking effect until repaint
Reported by
djunicor...@gmail.com,
Jan 18 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Steps to reproduce the problem: The problem has been detailed here: https://github.com/nwjs/nw.js/issues/6201 Steps are as follows With a basic template containing a simple HTML page and the window set to frameless, open the developer tools and set the css attribute -webkit-app-region: drag for the html or body element. Try to drag the window by dragging the body element on that page and it will not drag. Resize the app window and try dragging again, the page will now drag. Unset/remove that property and drag the window again, it keeps dragging when it shouldn't since the property is no longer enabled. Resize the app window and try dragging again, the page will now no longer drag. What is the expected behavior? When setting or unsetting the -webkit-app-region: drag on an element the app should be draggable when dragging that element or stop dragging when the property is unset. What went wrong? The property change only takes effect when there is a full page repaint. (i.e. font-family change, window resize, etc.) Did this work before? N/A Does this work in other browsers? Yes Chrome version: 63 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: This issue was requested by NWJS developer and can be read in more detail here: https://github.com/nwjs/nw.js/issues/6201
,
Jan 19 2018
Electron is experiencing similar issues: With Developer Tools open, `-webkit-app-region:drag` does not work https://github.com/electron/electron/issues/3647 -webkit-app-region: drag not working after hiding element on top of it with CSS transform https://github.com/electron/electron/issues/4237 Blink's CSS implementation of webkit-app-region has flaws: https://bugs.chromium.org/p/chromium/issues/detail?id=803699 These may or may not be related.
,
Jan 19 2018
I'm not sure which team owns the feature. Is webkit-app-region a layout feature?
,
Jan 26 2018
webkit-app-region is a non-standard feature that we'd like to remove. Realistically we do not have the resources to address this anytime soon, closing as WontFix. |
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Jan 18 2018