diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-01 19:32:49 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-01 19:32:49 +0200 |
commit | 1f4ce97ecd5fa47eead41e1408d2d26ce50749fa (patch) | |
tree | d47291e5471dc98ebf2e4f4d5281d9c3eda15518 /layout/style/nsComputedDOMStyle.cpp | |
parent | dc8aad9b9dc6983bb88aa586f34d9db007840eb8 (diff) | |
download | UXP-1f4ce97ecd5fa47eead41e1408d2d26ce50749fa.tar UXP-1f4ce97ecd5fa47eead41e1408d2d26ce50749fa.tar.gz UXP-1f4ce97ecd5fa47eead41e1408d2d26ce50749fa.tar.lz UXP-1f4ce97ecd5fa47eead41e1408d2d26ce50749fa.tar.xz UXP-1f4ce97ecd5fa47eead41e1408d2d26ce50749fa.zip |
moebius#90: CSS - implement text-justify property
Diffstat (limited to 'layout/style/nsComputedDOMStyle.cpp')
-rw-r--r-- | layout/style/nsComputedDOMStyle.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/style/nsComputedDOMStyle.cpp b/layout/style/nsComputedDOMStyle.cpp index 4eb24b76b..4f8d3edf6 100644 --- a/layout/style/nsComputedDOMStyle.cpp +++ b/layout/style/nsComputedDOMStyle.cpp @@ -3875,6 +3875,16 @@ nsComputedDOMStyle::DoGetTextIndent() } already_AddRefed<CSSValue> +nsComputedDOMStyle::DoGetTextJustify() +{ + RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue; + val->SetIdent( + nsCSSProps::ValueToKeywordEnum(StyleText()->mTextJustify, + nsCSSProps::kTextJustifyKTable)); + return val.forget(); +} + +already_AddRefed<CSSValue> nsComputedDOMStyle::DoGetTextOrientation() { RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue; |