style: Add telemetry for -moz-appearance usage.

Differential Revision: https://phabricator.services.mozilla.com/D77637
This commit is contained in:
Cameron McCormack 2020-06-05 00:39:50 +00:00 committed by Emilio Cobos Álvarez
parent c578a82adc
commit 9b980e2f49
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
3 changed files with 32 additions and 1 deletions

View file

@ -627,6 +627,21 @@ ${helpers.predefined_type(
gecko_ffi_name="mAppearance",
)}
// A UA-sheet only property that is always set to the same value as
// -moz-appearance. Used to record telemetry for when author sheets
// override the value of -moz-appearance; see
// nsIFrame::RecordAppearanceTelemetry.
${helpers.predefined_type(
"-moz-default-appearance",
"Appearance",
"computed::Appearance::None",
engines="gecko",
animation_value_type="none",
spec="Internal (not web-exposed)",
enabled_in="ua",
gecko_ffi_name="mDefaultAppearance",
)}
${helpers.single_keyword(
"-moz-orient",
"inline block horizontal vertical",