aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/screen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/screen.rs')
-rw-r--r--components/script/dom/screen.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/screen.rs b/components/script/dom/screen.rs
index 8c185ae77f1..ff0be321c0c 100644
--- a/components/script/dom/screen.rs
+++ b/components/script/dom/screen.rs
@@ -29,10 +29,12 @@ impl Screen {
}
impl<'a> ScreenMethods for &'a Screen {
+ // https://drafts.csswg.org/cssom-view/#dom-screen-colordepth
fn ColorDepth(self) -> u32 {
24
}
+ // https://drafts.csswg.org/cssom-view/#dom-screen-pixeldepth
fn PixelDepth(self) -> u32 {
24
}