Auto merge of #16973 - servo:derive-all-the-things, r=emilio

Derive ToComputedValue

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16973)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-05-21 08:48:10 -05:00 committed by GitHub
commit a25b1e5fe3
21 changed files with 269 additions and 450 deletions

View file

@ -8,8 +8,8 @@ use media_queries::CSSErrorReporterTest;
use style::context::QuirksMode;
use style::parser::{PARSING_MODE_ALLOW_ALL_NUMERIC_VALUES, ParserContext};
use style::stylesheets::{CssRuleType, Origin};
use style::values::HasViewportPercentage;
use style::values::specified::{AbsoluteLength, NoCalcLength, Number, ViewportPercentageLength};
use style_traits::HasViewportPercentage;
#[test]
fn length_has_viewport_percentage() {

View file

@ -5,8 +5,8 @@
use app_units::Au;
use style::properties::PropertyDeclaration;
use style::properties::longhands::border_top_width;
use style::values::HasViewportPercentage;
use style::values::specified::{AbsoluteLength, Length, NoCalcLength, ViewportPercentageLength};
use style_traits::HasViewportPercentage;
#[test]
fn has_viewport_percentage_for_specified_value() {