Move some unit type definitions to style_traits.

This commit is contained in:
Ms2ger 2016-07-07 11:55:53 +02:00
parent 42e90f7db9
commit cbfe77cee1
16 changed files with 42 additions and 45 deletions

View file

@ -32,9 +32,10 @@ use range::Range;
use std::default::Default;
use std::{f32, mem, ptr};
use style::computed_values::{border_style, filter, image_rendering, mix_blend_mode};
use style_traits::PagePx;
use text::TextRun;
use text::glyph::ByteIndex;
use util::geometry::{self, MAX_RECT, PagePx, ScreenPx};
use util::geometry::{self, MAX_RECT, ScreenPx};
use util::opts;
pub struct PaintContext<'a> {