Open the console in chrome (whilst on SO) and copy in innerWidth + "|"+outerWidth + "|" + screen.width
, for me this will return 2133|1920|1920
, apparantly the innerWidth
is greater than the outerWidth
... As if this isn't strange enough I next tried running this code in firefox and it returns 1920|1936|1920
. Apparantly my outerWidth
is greater than my screen size. (All screens were normally maximized). Strangely enough running the same code on a 'normal' page (not stackoverflow) will return 1920|1920|1920
in chrome, firefox however still insists my outerWidth
is greater than my screen.
Have looked around on google, found a couple of articles regarding the functionality on mobile devices, but nothing seems to explain any of the above observation.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…