WICG / window-controls-overlay

https://wicg.github.io/window-controls-overlay/
Other
99 stars 20 forks source link

"Update the overlay area information" is not well-defined #33

Closed yoavweiss closed 3 years ago

yoavweiss commented 3 years ago

Update the overlay area information doesn't indicate processing model steps, but says in prose what should happen when. That's not great.

What you want is to define what the "title bar area" is, hook up a resize algorithm for it, and then call this algorithm from there. Then you want this algorithm to be specific:

yoavweiss commented 3 years ago

https://wicg.github.io/window-controls-overlay/#update-the-overlay-area-information is an improvement. At the same time, it's not yet clear when this algorithm is called.

inexorabletash commented 3 years ago

Oooops, left a comment on the wrong issue. I think this was further updated, though?

diekus commented 3 years ago

@inexorabletash Hola Joshua, yes, I had a meeting with Yoav and ironed out the problems. The new changes, (including the monkey patch to CSSOM) should be live very soon.

yoavweiss commented 3 years ago

It's now called from https://wicg.github.io/window-controls-overlay/#dfn-title-bar-region-resizes Closing.