diff options
author | Jeremy Chen <jeremychen@mozilla.com> | 2017-04-18 16:56:04 +0000 |
---|---|---|
committer | Jeremy Chen <jeremychen@mozilla.com> | 2017-04-21 18:52:39 +0800 |
commit | 43525819f4f40d0852f49724592ebc75dd5cf849 (patch) | |
tree | df285d0c64f941ab1d1ef67ce750aa4b398c5a14 /components/script/dom/htmloptgroupelement.rs | |
parent | 350d9c6c47fe1f20ebbd911f7675c23bcaa9ba2f (diff) | |
download | servo-43525819f4f40d0852f49724592ebc75dd5cf849.tar.gz servo-43525819f4f40d0852f49724592ebc75dd5cf849.zip |
Stylo - reset longhands of border-image to their initial value while parsing border shorthand.
To do so, we need to declare the border-image longhands as part of border
shorthand and always reset them. This could fix couple stylo test failures.
See Gecko Bug 1357350 for the test update patches.
Spec link: https://drafts.csswg.org/css-backgrounds-3/#the-border-shorthands
Note that two unit tests have been fixed as well:
1. border_should_serialize_correctly
To verify the correctness of serialization of 'border' shorthand, we need
to reset 'border-image' as well.
2. same_longhands_should_serialize_correctly
Due to the same reason as above, since the 'border-image' is not reset,
the test expectation should be fixed.
Diffstat (limited to 'components/script/dom/htmloptgroupelement.rs')
0 files changed, 0 insertions, 0 deletions