stylo: Integrate Servo SourceSizeList in ResponsiveImageSelector.

This needs to dumb down the parsing in order to match what we do in Gecko and
pass more tests.

The remaining tests are just because of calc() in media queries and "or" media
expressions.

Bug: 1408308
Reviewed-by: Manishearth
MozReview-Commit-ID: CXGdYVbojBL
This commit is contained in:
Emilio Cobos Álvarez 2017-11-09 15:18:08 +01:00
parent bc58e18761
commit a76cb65751
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 131 additions and 15 deletions

View file

@ -23,7 +23,7 @@
//! [cssparser]: ../cssparser/index.html
//! [selectors]: ../selectors/index.html
#![deny(warnings)]
// #![deny(warnings)]
#![deny(missing_docs)]
// FIXME(bholley): We need to blanket-allow unsafe code in order to make the