Auto merge of #18714 - jdm:sizes, r=jdm

Parse sizes attribute values

Squashed version of #17808.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix (partially) #11416
- [x] There are tests for these changes

<!-- 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/18714)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-10-03 04:16:00 -05:00 committed by GitHub
commit 77afc3f33a
7 changed files with 179 additions and 1 deletions

View file

@ -15,6 +15,10 @@ pub mod area {
pub use dom::htmlareaelement::{Area, Shape};
}
pub mod sizes {
pub use dom::htmlimageelement::{parse_a_sizes_attribute, Size};
}
pub mod size_of {
use dom::characterdata::CharacterData;
use dom::element::Element;