summaryrefslogtreecommitdiff
path: root/layout/style/nsMediaFeatures.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-19 13:11:28 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-04 20:36:05 +0100
commitac663083950b2e00573395d68348302df94e3ac1 (patch)
tree132d04993a49b2b5b4da21189bf0c686a04fce9d /layout/style/nsMediaFeatures.cpp
parentfc7d9fade54dfbe275c4808dabe30a19415082e0 (diff)
downloaduxp-ac663083950b2e00573395d68348302df94e3ac1.tar.gz
Add `@media(-moz-windows-accent-color-applies)`
#31 point 3
Diffstat (limited to 'layout/style/nsMediaFeatures.cpp')
-rw-r--r--layout/style/nsMediaFeatures.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/style/nsMediaFeatures.cpp b/layout/style/nsMediaFeatures.cpp
index c07a4123ef..f314835a40 100644
--- a/layout/style/nsMediaFeatures.cpp
+++ b/layout/style/nsMediaFeatures.cpp
@@ -716,6 +716,14 @@ nsMediaFeatures::features[] = {
GetSystemMetric
},
{
+ &nsGkAtoms::_moz_windows_accent_color_applies,
+ nsMediaFeature::eMinMaxNotAllowed,
+ nsMediaFeature::eBoolInteger,
+ nsMediaFeature::eNoRequirements,
+ { &nsGkAtoms::windows_accent_color_applies },
+ GetSystemMetric
+ },
+ {
&nsGkAtoms::_moz_windows_compositor,
nsMediaFeature::eMinMaxNotAllowed,
nsMediaFeature::eBoolInteger,