Blame view

lib/jsdom/living/window/Screen-impl.js 353 Bytes
858f2bdf5   Boyan Georgiev   fixes
1
2
3
4
5
6
7
8
9
10
11
12
13
  "use strict";
  
  // https://drafts.csswg.org/cssom-view-1/#the-screen-interface
  class ScreenImpl {}
  
  ScreenImpl.prototype.availWidth = 0;
  ScreenImpl.prototype.availHeight = 0;
  ScreenImpl.prototype.width = 0;
  ScreenImpl.prototype.height = 0;
  ScreenImpl.prototype.colorDepth = 24;
  ScreenImpl.prototype.pixelDepth = 24;
  
  exports.implementation = ScreenImpl;