diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-12-07 22:59:38 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2014-12-15 17:41:44 -0800 |
commit | 14bafb11bec973cd1362ff38a8e4aa2385c6ff37 (patch) | |
tree | e1dd41c6f1a2829e2be800cb27e7bdd4ee5f0a4f /components/style/lib.rs | |
parent | 10f1ed5e311e7092d3e24b58c4960f5e8a511ac0 (diff) | |
download | servo-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/style/lib.rs')
-rw-r--r-- | components/style/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/style/lib.rs b/components/style/lib.rs index 23a674151b4..f2344e3e807 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -54,8 +54,9 @@ pub use selectors::{PseudoElement, Before, After, SelectorList, parse_selector_l pub use selectors::{AttrSelector, NamespaceConstraint, SpecificNamespace, AnyNamespace}; pub use selectors::{SimpleSelector, LocalNameSelector}; pub use cssparser::{Color, RGBA}; -pub use legacy::{BorderUnsignedIntegerAttribute, IntegerAttribute, LengthAttribute}; -pub use legacy::{SizeIntegerAttribute, UnsignedIntegerAttribute, WidthLengthAttribute}; +pub use legacy::{BgColorSimpleColorAttribute, BorderUnsignedIntegerAttribute, IntegerAttribute}; +pub use legacy::{LengthAttribute, SimpleColorAttribute, SizeIntegerAttribute}; +pub use legacy::{UnsignedIntegerAttribute, WidthLengthAttribute}; pub use font_face::{Source, LocalSource, UrlSource_}; mod stylesheets; |