mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-04 22:37:29 +09:00
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.
This commit is contained in:
parent
b28dba9f03
commit
633d50eb3f
7 changed files with 124 additions and 62 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue