Implements case insensitive font family names.

One part (of 8!) of css font family disambiguation is that font families should
be matched case-insensitively.

This patch implements that. Once it lands, a bug needs to be filed to do lowercasing
properly (as a string, instead of char-by-char -- it's a unicode thing).

r? @gw
This commit is contained in:
Clark Gaebel 2014-11-03 16:46:21 -08:00
parent 39960f32e4
commit d22a64884d
7 changed files with 44 additions and 14 deletions

View file

@ -21,6 +21,7 @@ extern crate rustrt;
extern crate stb_image;
extern crate png;
extern crate serialize;
extern crate unicode;
#[phase(plugin)]
extern crate "plugins" as servo_plugins;
extern crate "net" as servo_net;
@ -71,4 +72,3 @@ pub mod platform;
// Text
#[path = "text/mod.rs"]
pub mod text;