gecko-dev/servo/ports/geckolib
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
..
tests Bug 1555867 - Inline one child in the rule tree. r=heycam 2019-06-03 16:37:45 +00:00
Cargo.toml Bug 1575008 - Update parking_lot dependency to 0.9.0 r=aosmond 2019-08-19 21:28:51 +00:00
cbindgen.toml Bug 1576703 - Update cbindgen. r=boris 2019-08-26 23:18:46 +00:00
error_reporter.rs Bug 1537876 - Augment CSS errors with the CSS selector r=emilio 2019-03-27 12:12:55 +00:00
glue.rs Bug 1575062 - Support css use counters for unimplemented properties. r=emilio 2019-08-29 23:40:13 +00:00
lib.rs Bug 1474793 - Part 11: Add FFI API to use SharedMemoryBuilder. r=emilio 2019-03-30 00:16:27 +00:00
stylesheet_loader.rs Bug 1552708 - Use cbindgen for URIs. r=heycam 2019-05-29 21:22:04 +02:00