mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
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:
commit
77afc3f33a
7 changed files with 179 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue