diff options
author | athenian200 <athenian200@outlook.com> | 2020-10-23 19:45:52 -0500 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-18 10:51:22 +0000 |
commit | 4de0e9c68d3f1a04d5d6c236d5f06fff7244c074 (patch) | |
tree | 74a729c2baee1bb1836939dc33c4b136d6a91aa3 /layout/style | |
parent | 4dae04e594f6662dcfb03fd304494841ca542091 (diff) | |
download | UXP-4de0e9c68d3f1a04d5d6c236d5f06fff7244c074.tar UXP-4de0e9c68d3f1a04d5d6c236d5f06fff7244c074.tar.gz UXP-4de0e9c68d3f1a04d5d6c236d5f06fff7244c074.tar.lz UXP-4de0e9c68d3f1a04d5d6c236d5f06fff7244c074.tar.xz UXP-4de0e9c68d3f1a04d5d6c236d5f06fff7244c074.zip |
Issue #1673 - Part 2: Make tab-size animatable and fix typos.
There were a few typos in the previous patch and this patch also makes tab-size animatable which didn't really require much of a change at all.
Diffstat (limited to 'layout/style')
-rw-r--r-- | layout/style/nsCSSPropList.h | 2 | ||||
-rw-r--r-- | layout/style/nsRuleNode.cpp | 2 | ||||
-rw-r--r-- | layout/style/test/test_transitions_per_property.html | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h index 5c5cfcda1..53bc84547 100644 --- a/layout/style/nsCSSPropList.h +++ b/layout/style/nsCSSPropList.h @@ -3888,7 +3888,7 @@ CSS_PROP_TEXT( VARIANT_INHERIT | VARIANT_LNCALC, nullptr, offsetof(nsStyleText, mTabSize), - eStyleAnimType_Discrete) + eStyleAnimType_Coord) CSS_PROP_TABLE( table-layout, table_layout, diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp index c2fd70879..739deaea1 100644 --- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -4510,7 +4510,7 @@ TruncateStringToSingleGrapheme(nsAString& aStr) struct LengthNumberCalcObj { - float LengthNumberCalcObj; + float mValue; bool mIsNumber; }; diff --git a/layout/style/test/test_transitions_per_property.html b/layout/style/test/test_transitions_per_property.html index f188f4f6f..b7659adb7 100644 --- a/layout/style/test/test_transitions_per_property.html +++ b/layout/style/test/test_transitions_per_property.html @@ -248,6 +248,8 @@ var supported_properties = { // test_length_percent_calc_transition. "stroke-width": [ test_length_transition_svg, test_percent_transition, test_length_clamped_svg, test_percent_clamped ], + "-moz-tab-size": [ test_float_zeroToOne_transition, + test_float_aboveOne_transition, test_length_clamped ], "text-decoration": [ test_color_shorthand_transition, test_true_currentcolor_shorthand_transition ], "text-decoration-color": [ test_color_transition, |