summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSPropList.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-10-20 09:47:00 +0000
committerGitHub <noreply@github.com>2020-10-20 09:47:00 +0000
commit23a30020df8a4be6a96fd514fe870260b64a96a1 (patch)
treeeb7ca4ae3da96bf3049c3da41fc511ff3154515e /layout/style/nsCSSPropList.h
parent87c4c77ad79f346d9104d9586c9928f30a500632 (diff)
parent95b4e5084b7fbe62609cfe9680eed5db135a57c8 (diff)
downloadUXP-23a30020df8a4be6a96fd514fe870260b64a96a1.tar
UXP-23a30020df8a4be6a96fd514fe870260b64a96a1.tar.gz
UXP-23a30020df8a4be6a96fd514fe870260b64a96a1.tar.lz
UXP-23a30020df8a4be6a96fd514fe870260b64a96a1.tar.xz
UXP-23a30020df8a4be6a96fd514fe870260b64a96a1.zip
Merge pull request #1670 from athenian200/caret_color
Implement CSS caret-color
Diffstat (limited to 'layout/style/nsCSSPropList.h')
-rw-r--r--layout/style/nsCSSPropList.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h
index 890019245..4f79db5a5 100644
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -1394,6 +1394,17 @@ CSS_PROP_TABLEBORDER(
kCaptionSideKTable,
CSS_PROP_NO_OFFSET,
eStyleAnimType_Discrete)
+CSS_PROP_USERINTERFACE(
+ caret-color,
+ caret_color,
+ CaretColor,
+ CSS_PROPERTY_PARSE_VALUE |
+ CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED,
+ "",
+ VARIANT_AUTO | VARIANT_HC,
+ nullptr,
+ offsetof(nsStyleUserInterface, mCaretColor),
+ eStyleAnimType_ComplexColor)
CSS_PROP_DISPLAY(
clear,
clear,