aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-12-07 22:59:38 -0800
committerPatrick Walton <pcwalton@mimiga.net>2014-12-15 17:41:44 -0800
commit14bafb11bec973cd1362ff38a8e4aa2385c6ff37 (patch)
treee1dd41c6f1a2829e2be800cb27e7bdd4ee5f0a4f /components/script/dom/bindings
parent10f1ed5e311e7092d3e24b58c4960f5e8a511ac0 (diff)
downloadservo-14bafb11bec973cd1362ff38a8e4aa2385c6ff37.tar.gz
servo-14bafb11bec973cd1362ff38a8e4aa2385c6ff37.zip
style: Parse the legacy `bgcolor` attribute per the HTML5 specification.
Additionally, this patch cleans up some miscellaneous formatting issues.
Diffstat (limited to 'components/script/dom/bindings')
-rw-r--r--components/script/dom/bindings/trace.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs
index afd329137c0..d5acb22ad7b 100644
--- a/components/script/dom/bindings/trace.rs
+++ b/components/script/dom/bindings/trace.rs
@@ -48,7 +48,7 @@ use script_traits::UntrustedNodeAddress;
use servo_msg::compositor_msg::ScriptListener;
use servo_msg::constellation_msg::ConstellationChan;
use servo_util::smallvec::{SmallVec1, SmallVec};
-use servo_util::str::LengthOrPercentageOrAuto;
+use servo_util::str::{LengthOrPercentageOrAuto, SimpleColor};
use std::cell::{Cell, RefCell};
use std::collections::HashMap;
use std::comm::{Receiver, Sender};
@@ -214,6 +214,7 @@ no_jsmanaged_fields!(LayoutChan)
no_jsmanaged_fields!(WindowProxyHandler)
no_jsmanaged_fields!(UntrustedNodeAddress)
no_jsmanaged_fields!(LengthOrPercentageOrAuto)
+no_jsmanaged_fields!(SimpleColor)
impl<'a> JSTraceable for &'a str {
#[inline]