Screen.width error

I use HE 4.7.1 compile a HTML exe on Win10 NB.
And I use javascript to get screen.width , screen.height , screen.availWidth and screen.availHeight.
And show them on screen, I found that they are incorrect.
For example,
Resolution:1366x768 Display 1708960 (incorrect)
Resolution:1600x900 Display 2000
1125 (incorrect)
Resolution:1920x1080 Display 1920*1080 (correct)
Can anyone help?

HTMLEXE can’t set screen.width and screen.height JS functions itself, so their values are not necessarily accurate.

But I have tested HE 4.6 compile a HTML exe on Win8 NB.
And I use javascript to get screen.width , screen.height , screen.availWidth and screen.availHeight.

And show them on screen, I found that them are all correct.
For example,
Resolution:1366x768 Display 1366x768
Resolution:1280x768 Display 1280x768
Resolution:1024x768 Display 1024x768

Does that mean the new Engine of HE4.7.1 can not work with JS well?

Is there any methed to get screen.width , screen.height?

It looks like more a problem with high DPI screens. We’ll check that deeper. Thank you!