mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
merge from master
This commit is contained in:
commit
6e774ea6eb
1044 changed files with 46059 additions and 1506 deletions
|
@ -70,7 +70,7 @@ impl HTMLBodyElementMethods for HTMLBodyElement {
|
|||
fn SetText(&self, value: DOMString) {
|
||||
let element = self.upcast::<Element>();
|
||||
let color = str::parse_legacy_color(&value).ok();
|
||||
element.set_attribute(&Atom::from_slice("text"), AttrValue::Color(value, color));
|
||||
element.set_attribute(&atom!("text"), AttrValue::Color(value, color));
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#the-body-element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue