mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1857032 [Linux] Test GtkWidget minimal window size range between 100 and 180 pixels on Linux due to CSD decorations size for test_sizetocontent_clamp.html r=ahal
Depends on D191172 Differential Revision: https://phabricator.services.mozilla.com/D191173
This commit is contained in:
parent
fe713ef566
commit
f34ff74915
@ -318,7 +318,6 @@ support-files = [
|
||||
["test_sizetocontent_clamp.html"]
|
||||
skip-if = [
|
||||
"os == 'android'", #Windows can't change size on Android
|
||||
"display == 'wayland' && os_version == '22.04'" # Bug 1857032
|
||||
]
|
||||
|
||||
["test_toJSON.html"]
|
||||
|
@ -35,6 +35,11 @@ var isWin8 = (navigator.userAgent.includes("Windows NT 6.2"));
|
||||
var innerWidthMin = (isWin8 ? 120 : 100);
|
||||
var innerWidthMax = (isWin8 ? 125 : 100);
|
||||
|
||||
// Window size with CSD decorations is 180 pixels
|
||||
if (navigator.platform.includes("Linux")) {
|
||||
innerWidthMax = 180;
|
||||
}
|
||||
|
||||
var isExecuted = false;
|
||||
|
||||
function test() {
|
||||
|
Loading…
Reference in New Issue
Block a user