summaryrefslogtreecommitdiffstats
path: root/layout/style/nsStyleStruct.h
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-10-23 14:34:55 -0500
committerathenian200 <athenian200@outlook.com>2020-10-28 14:16:42 -0500
commit49765b53af01284a5d5479dfb8bb56da0ba87ca5 (patch)
treefb71b01560fea3049c351d9bd1ff64b1f8d1775e /layout/style/nsStyleStruct.h
parent33a402947c28b35c55fae782be3a45bafa97d293 (diff)
downloadUXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar.gz
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar.lz
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar.xz
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/style/nsStyleStruct.h b/layout/style/nsStyleStruct.h
index 88000c722..831808edf 100644
--- a/layout/style/nsStyleStruct.h
+++ b/layout/style/nsStyleStruct.h
@@ -2087,11 +2087,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