gecko-dev/servo/ports
Manish Goregaokar 2c28080629 servo: Merge #17173 - Stop parsing @supports rules before Delimiter::Bang (from Manishearth:supports-fixes); r=upsuper
Fixes #15482

Shorthand parsing uses `parse_entirely`, so we have to ask it to stop before the `!important`.

An alternate fix is to not use `parse_entirely` there and ensuring that all callers of `PropertyDeclaration::parse_into()` check that the input is exhausted. Two of the three callers do that anyway because they check for `!important`.

We also weren't checking for the end of the parser for `CSS.supports()`.

Source-Repo: https://github.com/servo/servo
Source-Revision: eaa01223a7add99ce4cc241b686100856b7594d6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 271b84c5cb44b18f04d1c887ae98ec5154ab8817
2017-06-05 23:19:31 -07:00
..
cef servo: Merge #17104 - Bump euclid to 0.13 and heapsize to 0.4 (from Eijebong:bump_euclid_heapsize); r=emilio 2017-06-05 12:34:19 -07:00
geckolib servo: Merge #17173 - Stop parsing @supports rules before Delimiter::Bang (from Manishearth:supports-fixes); r=upsuper 2017-06-05 23:19:31 -07:00
glutin servo: Merge #17104 - Bump euclid to 0.13 and heapsize to 0.4 (from Eijebong:bump_euclid_heapsize); r=emilio 2017-06-05 12:34:19 -07:00
servo servo: Merge #17031 - Update rust-webvr (from MortimerGoro:update_webvr); r=emilio 2017-05-25 07:12:11 -05:00