diff options
author | athenian200 <athenian200@outlook.com> | 2020-10-23 14:34:55 -0500 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-18 10:51:09 +0000 |
commit | 4dae04e594f6662dcfb03fd304494841ca542091 (patch) | |
tree | 4c0e3d936c8504f84ab55b3d864d505f1033e7f1 /layout/style/nsStyleStruct.h | |
parent | b9c41e262438d85e2b3f0fb7905b69818ff875aa (diff) | |
download | UXP-4dae04e594f6662dcfb03fd304494841ca542091.tar UXP-4dae04e594f6662dcfb03fd304494841ca542091.tar.gz UXP-4dae04e594f6662dcfb03fd304494841ca542091.tar.lz UXP-4dae04e594f6662dcfb03fd304494841ca542091.tar.xz UXP-4dae04e594f6662dcfb03fd304494841ca542091.zip |
Issue #1673 - Part 1: Allow tab-size to accept <length>.
Currently -moz-tab-size only accepts <number> values, and both Chrome and Firefox currently support <length> values and have for some time now. So with this you would be able to support sizes in px or em, for instance. This was implemented in Firefox 53 and was trivial to backport.
Diffstat (limited to 'layout/style/nsStyleStruct.h')
-rw-r--r-- | layout/style/nsStyleStruct.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/style/nsStyleStruct.h b/layout/style/nsStyleStruct.h index 97724571d..c948d6056 100644 --- a/layout/style/nsStyleStruct.h +++ b/layout/style/nsStyleStruct.h @@ -2088,11 +2088,11 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleText uint8_t mTextEmphasisPosition; // [inherited] see nsStyleConsts.h uint8_t mTextEmphasisStyle; // [inherited] see nsStyleConsts.h uint8_t mTextRendering; // [inherited] see nsStyleConsts.h - int32_t mTabSize; // [inherited] see nsStyleConsts.h mozilla::StyleComplexColor mTextEmphasisColor; // [inherited] mozilla::StyleComplexColor mWebkitTextFillColor; // [inherited] mozilla::StyleComplexColor mWebkitTextStrokeColor; // [inherited] + nsStyleCoord mTabSize; // [inherited] coord, factor, calc nsStyleCoord mWordSpacing; // [inherited] coord, percent, calc nsStyleCoord mLetterSpacing; // [inherited] coord, normal nsStyleCoord mLineHeight; // [inherited] coord, factor, normal |