Bug 1457652: Fix serialization order of the outline shorthand. r?xidorn draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 28 Apr 2018 09:41:48 +0200
changeset 789340 fe55be0f7553032cb69164c123c680fcc6d260b9
parent 789339 eb451c84fd3cb87276884c5ef478584472dbdafd
push id108254
push userbmo:emilio@crisal.io
push dateSat, 28 Apr 2018 07:44:00 +0000
reviewersxidorn
bugs1457652, 10700
milestone61.0a1
Bug 1457652: Fix serialization order of the outline shorthand. r?xidorn This is going to be tested in https://github.com/w3c/web-platform-tests/pull/10700. MozReview-Commit-ID: 7Oi1it70YFw
servo/components/style/properties/shorthand/outline.mako.rs
--- a/servo/components/style/properties/shorthand/outline.mako.rs
+++ b/servo/components/style/properties/shorthand/outline.mako.rs
@@ -1,16 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 <%namespace name="helpers" file="/helpers.mako.rs" />
 
 <%helpers:shorthand name="outline"
-                    sub_properties="outline-width outline-style outline-color"
+                    sub_properties="outline-color outline-style outline-width"
                     derive_serialize="True"
                     spec="https://drafts.csswg.org/css-ui/#propdef-outline">
     use properties::longhands::{outline_color, outline_width, outline_style};
     use values::specified;
     use parser::Parse;
 
     pub fn parse_value<'i, 't>(
         context: &ParserContext,