Introduce traits for style structs and computed values.

This commit is contained in:
Bobby Holley 2016-03-04 16:53:57 -08:00
parent 16d2e9af65
commit 5c749127cc
7 changed files with 492 additions and 274 deletions

View file

@ -41,7 +41,7 @@ use std::ops::{Deref, DerefMut};
use std::sync::Arc;
use style::computed_values::{border_style, cursor, filter, image_rendering, mix_blend_mode};
use style::computed_values::{pointer_events};
use style::properties::ComputedValues;
use style::properties::{ComputedValues, TComputedValues};
use style_traits::cursor::Cursor;
use text::TextRun;
use text::glyph::CharIndex;