gecko-dev/servo
Boris Chiou c8dba8c886 Bug 1575062 - Support css use counters for unimplemented properties. r=emilio
For developing properties, we will handle them in an other bug.

Besides, I use an iframe for the test because we create a use counter in
the constructor of Document, which use the prefs to decide what kind of
properties we want to record. So, in the test, we have to reload iframe
to make sure we re-create the document, so does the use counter, to make
sure the prefs work properly.

The two prefs affect the css use counters:
1. layout.css.use-counters.enabled: Allocate use counters, and record
   non-custom properties.
2. layout.css.use-counters-unimplemented.enabled: Record all unimplmented
   properties into the use counters.

If we disable layout.css.use-counters.enblaed, we don't create use counters
object, so layout.css.use-counters-unimplemented.enabled doesn't work,
either.

Differential Revision: https://phabricator.services.mozilla.com/D43860

--HG--
extra : moz-landing-system : lando
2019-08-29 23:40:13 +00:00
..
components Bug 1575062 - Support css use counters for unimplemented properties. r=emilio 2019-08-29 23:40:13 +00:00
ports/geckolib Bug 1575062 - Support css use counters for unimplemented properties. r=emilio 2019-08-29 23:40:13 +00:00
tests/unit Bug 1575008 - Update parking_lot dependency to 0.9.0 r=aosmond 2019-08-19 21:28:51 +00:00
moz.build
rustfmt.toml