1 Test the (display-mode: ...) media features while the browser window entering/leaving fullscreen mode.
3 ------------- before entering fullscreen -------------
4 Query "(display-mode)": false
5 Query "(display-mode: browser)": true
6 Query "(display-mode: minimal-ui)": false
7 Query "(display-mode: standalone)": false
8 Query "(display-mode: fullscreen)": false
9 ------------- entered fullscreen -------------
10 Query "(display-mode)": false
11 Query "(display-mode: browser)": false
12 Query "(display-mode: minimal-ui)": false
13 Query "(display-mode: standalone)": false
14 Query "(display-mode: fullscreen)": true
15 ------------- left fullscreen -------------
16 Query "(display-mode)": false
17 Query "(display-mode: browser)": true
18 Query "(display-mode: minimal-ui)": false
19 Query "(display-mode: standalone)": false
20 Query "(display-mode: fullscreen)": false