diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-10-03 04:16:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 04:16:00 -0500 |
commit | 77afc3f33a72627fd4d6e83485722f3b38ae8420 (patch) | |
tree | 13a83dfaedd3dfbeb98b63e74fb4da640cae6945 /components/script/test.rs | |
parent | 2a5121357a76e2b558ecd0dae7689d709b6a2b41 (diff) | |
parent | c31b0e4bd2777aaaa822ffa9e7df6e80c793f2db (diff) | |
download | servo-77afc3f33a72627fd4d6e83485722f3b38ae8420.tar.gz servo-77afc3f33a72627fd4d6e83485722f3b38ae8420.zip |
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 -->
Diffstat (limited to 'components/script/test.rs')
-rw-r--r-- | components/script/test.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/test.rs b/components/script/test.rs index 0ff6811b14d..88baa21f42f 100644 --- a/components/script/test.rs +++ b/components/script/test.rs @@ -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; |