From 3fd0cf9628fa6722a5cf93d3b60e1845573cd283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 18 Sep 2019 12:04:59 +0000 Subject: [PATCH] Bug 1578661 - Add a note about CSS use counters to the documentation. r=chutten Not sure how much detail does it need (it just works) but suggestions welcome. Differential Revision: https://phabricator.services.mozilla.com/D45929 --HG-- extra : moz-landing-system : lando --- .../components/telemetry/docs/collection/use-counters.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/toolkit/components/telemetry/docs/collection/use-counters.rst b/toolkit/components/telemetry/docs/collection/use-counters.rst index 50cd3538763c..39c6388370a6 100644 --- a/toolkit/components/telemetry/docs/collection/use-counters.rst +++ b/toolkit/components/telemetry/docs/collection/use-counters.rst @@ -36,6 +36,11 @@ parameter must have the same value of the deprecation note added to the *IDL* fi See this `changeset `_ for a sample deprecated operation. +CSS Properties +~~~~~~~~~~~~~~ + +Use counters for CSS properties are generated for every property Gecko supports automatically, and are counted via StyleUseCounters (`Rust code `_, `C++ code `_). + The UseCounters registry ------------------------ Use counters for WebIDL methods/attributes are registered in the `UseCounters.conf `_ file. The format of this file is very strict. Each line can be: @@ -50,7 +55,7 @@ Use counters for WebIDL methods/attributes are registered in the `UseCounters.co Custom use counters ~~~~~~~~~~~~~~~~~~~ -The for custom counters will be appended to "When a document " or "When a page ", so phrase it appropriately. For instance, "constructs a Foo object" or "calls Document.bar('some value')". It may contain any character (including whitespace). Custom counters are incremented when SetDocumentAndPageUseCounter(eUseCounter_custom_MyName) is called on an ns(I)Document object. +The for custom counters will be appended to "When a document " or "When a page ", so phrase it appropriately. For instance, "constructs a Foo object" or "calls Document.bar('some value')". It may contain any character (including whitespace). Custom counters are incremented when SetUseCounter(eUseCounter_custom_MyName) is called on a Document object. WebIDL methods and attributes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~