mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add spec links
This commit is contained in:
parent
f039827dcd
commit
233a769c67
61 changed files with 284 additions and 87 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue