[whatwg/fullscreen] css resize in fullscreen mode (#171)

The following test case has the same behavior In Chrome and Firefox,  the resizable DOM element shows a resizer in fullscreen mode, but it can't be resized.

`<style type="text/css">
  #container {
    width: 200px;
    height: 200px;
    background-color: green;
    overflow: hidden;
    resize: both;
  }
</style>

<script type="text/javascript">
    var in_fullscreen = false;
    function click_func() {
        var target = document.getElementById('container');
        if (in_fullscreen)
            document.exitFullscreen();
        else
            target.requestFullscreen();
        in_fullscreen = !in_fullscreen;
    }
</script>

<div id="container">
  <input type="button" value="Enter/Exit Fullscreen" onclick="click_func();" />
</div>
`

Here are some discussions in Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1642598.
Does `resize: none !important` need to be considered in the "User-agent level style sheet defaults"?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/171

Received on Thursday, 4 June 2020 07:18:23 UTC