mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add spec links
This commit is contained in:
parent
f039827dcd
commit
233a769c67
61 changed files with 284 additions and 87 deletions
|
@ -1738,10 +1738,12 @@ impl<'a> DocumentMethods for &'a Document {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-document-bgcolor
|
||||
fn BgColor(self) -> DOMString {
|
||||
self.get_body_attribute(&atom!("bgcolor"))
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-document-bgcolor
|
||||
fn SetBgColor(self, value: DOMString) {
|
||||
self.set_body_attribute(&atom!("bgcolor"), value)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue