diff options
author | athenian200 <athenian200@outlook.com> | 2020-10-18 10:12:53 -0500 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-10-24 10:37:01 +0000 |
commit | 67a7e4eabd9b91436cc658431ea1bbd28e480f5b (patch) | |
tree | 26e8869a76559dc8a6d9bec8fa9477019318ff6b /dom | |
parent | c1ef9546792e8d5881c9516d8e51de3cd6999f79 (diff) | |
download | UXP-67a7e4eabd9b91436cc658431ea1bbd28e480f5b.tar UXP-67a7e4eabd9b91436cc658431ea1bbd28e480f5b.tar.gz UXP-67a7e4eabd9b91436cc658431ea1bbd28e480f5b.tar.lz UXP-67a7e4eabd9b91436cc658431ea1bbd28e480f5b.tar.xz UXP-67a7e4eabd9b91436cc658431ea1bbd28e480f5b.zip |
Issue #1668 - Part 2: Visited color and auto support for caret-color property.
Mozilla's original implementation of this failed a couple of tests, but this seems to solve all the problems. Basically, the caret-color wasn't able to be set differently based on whether a link was visited, and the auto value implementation was incomplete. The only test we fail now is the one where you have grey text on a grey background and the caret is supposed to be visible, but I think that may have been removed from the spec. Even if it wasn't, no other browser supports it anyway.
Diffstat (limited to 'dom')
-rw-r--r-- | dom/smil/nsSMILCSSProperty.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/smil/nsSMILCSSProperty.cpp b/dom/smil/nsSMILCSSProperty.cpp index 14e428c05..070f3489e 100644 --- a/dom/smil/nsSMILCSSProperty.cpp +++ b/dom/smil/nsSMILCSSProperty.cpp @@ -195,6 +195,7 @@ nsSMILCSSProperty::IsPropertyAnimatable(nsCSSPropertyID aPropID) // writing-mode switch (aPropID) { + case eCSSProperty_caret_color: case eCSSProperty_clip: case eCSSProperty_clip_rule: case eCSSProperty_clip_path: |