[csswg-drafts] Defining Draggable Regions in Web Content (for custom title bars) (#6368)

diekus has just created a new issue for https://github.com/w3c/csswg-drafts:

== Defining Draggable Regions in Web Content (for custom title bars) ==
Hola CSSWG! Diego from Edge here, looking to get your feedback and ideas on standardizing the prefixed CSS property `-webkit-app-region`. The reason for this is that while [defining custom title bars](https://github.com/WICG/window-controls-overlay/blob/main/explainer.md) we need a way for the developer to mark regions and content as draggable/not-draggable. 

The values we want to leverage to enable marking content draggable are:
- `-webkit-app-region: drag` 
- `-webkit-app-region: no-drag`

Here's a [link](https://github.com/WICG/window-controls-overlay/blob/main/explainer.md#defining-draggable-regions-in-web-content) to the explainer of Window Controls Overlay that addresses this challenge.

If the developer included a textbox in the title bar for example, this area should be marked as not draggable, since it receives input and is generally not poised for be dragged from while moving the window. 



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6368 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 June 2021 13:42:48 UTC