diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-04-29 18:52:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 18:52:17 +0200 |
commit | 8c146ab24ac1b571d157db17a658cdc38c3a541d (patch) | |
tree | 55b4af8af161bdd67185974bab818c474eb7cab6 /layout/style/nsStyleStruct.cpp | |
parent | b83c51a1a51f58a7a68d1a4877b0f0a8f03a939e (diff) | |
parent | 1f4ce97ecd5fa47eead41e1408d2d26ce50749fa (diff) | |
download | UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar.gz UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar.lz UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar.xz UXP-8c146ab24ac1b571d157db17a658cdc38c3a541d.zip |
Merge pull request #297 from janekptacijarabaci/css_text-justify_1
CSS - implement text-justify property
Diffstat (limited to 'layout/style/nsStyleStruct.cpp')
-rw-r--r-- | layout/style/nsStyleStruct.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/style/nsStyleStruct.cpp b/layout/style/nsStyleStruct.cpp index 553239e0e..52491a288 100644 --- a/layout/style/nsStyleStruct.cpp +++ b/layout/style/nsStyleStruct.cpp @@ -3788,6 +3788,7 @@ nsStyleText::nsStyleText(StyleStructContext aContext) , mTextAlignLast(NS_STYLE_TEXT_ALIGN_AUTO) , mTextAlignTrue(false) , mTextAlignLastTrue(false) + , mTextJustify(StyleTextJustify::Auto) , mTextTransform(NS_STYLE_TEXT_TRANSFORM_NONE) , mWhiteSpace(NS_STYLE_WHITESPACE_NORMAL) , mWordBreak(NS_STYLE_WORDBREAK_NORMAL) @@ -3824,6 +3825,7 @@ nsStyleText::nsStyleText(const nsStyleText& aSource) , mTextAlignLast(aSource.mTextAlignLast) , mTextAlignTrue(false) , mTextAlignLastTrue(false) + , mTextJustify(aSource.mTextJustify) , mTextTransform(aSource.mTextTransform) , mWhiteSpace(aSource.mWhiteSpace) , mWordBreak(aSource.mWordBreak) @@ -3885,6 +3887,7 @@ nsStyleText::CalcDifference(const nsStyleText& aNewData) const (mTextSizeAdjust != aNewData.mTextSizeAdjust) || (mLetterSpacing != aNewData.mLetterSpacing) || (mLineHeight != aNewData.mLineHeight) || + (mTextJustify != aNewData.mTextJustify) || (mTextIndent != aNewData.mTextIndent) || (mWordSpacing != aNewData.mWordSpacing) || (mTabSize != aNewData.mTabSize)) { |