aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/css/parser.rs
diff options
context:
space:
mode:
authorBrian J. Burg <burg@cs.washington.edu>2012-09-06 16:37:12 -0700
committerBrian J. Burg <burg@cs.washington.edu>2012-09-06 16:59:15 -0700
commit17552aae37e220c6d234425c63233a21f22c16b8 (patch)
treebeffe5080fa5f762556bc2fe4f14d50f343db6b0 /src/servo/css/parser.rs
parent2a0761732e72bae3ffd0d28f3cc5ab29031d4802 (diff)
downloadservo-17552aae37e220c6d234425c63233a21f22c16b8.tar.gz
servo-17552aae37e220c6d234425c63233a21f22c16b8.zip
Fill in remaining DisplayType values, replace uses, and make box-building return and option'd box since display:none nodes generate no boxes.
Diffstat (limited to 'src/servo/css/parser.rs')
-rw-r--r--src/servo/css/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/servo/css/parser.rs b/src/servo/css/parser.rs
index 9f2dfcde4bd..2e02d154306 100644
--- a/src/servo/css/parser.rs
+++ b/src/servo/css/parser.rs
@@ -3,8 +3,8 @@
// TODO: fail according to the css spec instead of failing when things
// are not as expected
-use css::values::{DisInline, DisBlock, DisNone, Display, TextColor, BackgroundColor, FontSize,
- Height, Width, StyleDeclaration};
+use css::values::{TextColor, BackgroundColor, FontSize, Height, Width,
+ Display, StyleDeclaration};
// Disambiguate parsed Selector, Rule values from tokens
use css = css::values;
use tok = lexer;