style: Rewrite media queries so that they work on an evaluator function.

This moves most of the code to be Rust, except potentially some evaluator
functions, and allows to unblock the use case from any-hover / any-pointer and
remove nsMediaFeatures.

Differential Revision: https://phabricator.services.mozilla.com/D2976
This commit is contained in:
Emilio Cobos Álvarez 2018-08-15 16:07:11 +02:00
parent a0cb37d29d
commit dc0f937224
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
10 changed files with 1374 additions and 782 deletions

View file

@ -11,6 +11,7 @@ pub mod arc_types;
pub mod conversions;
pub mod data;
pub mod global_style_data;
pub mod media_features;
pub mod media_queries;
pub mod pseudo_element;
pub mod restyle_damage;