summaryrefslogtreecommitdiff
path: root/layout/style/nsCSSPropList.h
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-04-29 18:52:17 +0200
committerGitHub <noreply@github.com>2018-04-29 18:52:17 +0200
commit8c146ab24ac1b571d157db17a658cdc38c3a541d (patch)
tree55b4af8af161bdd67185974bab818c474eb7cab6 /layout/style/nsCSSPropList.h
parentb83c51a1a51f58a7a68d1a4877b0f0a8f03a939e (diff)
parent1f4ce97ecd5fa47eead41e1408d2d26ce50749fa (diff)
downloaduxp-8c146ab24ac1b571d157db17a658cdc38c3a541d.tar.gz
Merge pull request #297 from janekptacijarabaci/css_text-justify_1
CSS - implement text-justify property
Diffstat (limited to 'layout/style/nsCSSPropList.h')
-rw-r--r--layout/style/nsCSSPropList.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h
index 6931d8c2b4..b04921dcb5 100644
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -4027,6 +4027,17 @@ CSS_PROP_TEXT(
nullptr,
offsetof(nsStyleText, mTextIndent),
eStyleAnimType_Coord)
+CSS_PROP_TEXT(
+ text-justify,
+ text_justify,
+ TextJustify,
+ CSS_PROPERTY_PARSE_VALUE |
+ CSS_PROPERTY_APPLIES_TO_PLACEHOLDER,
+ "layout.css.text-justify.enabled",
+ VARIANT_HK,
+ kTextJustifyKTable,
+ CSS_PROP_NO_OFFSET,
+ eStyleAnimType_Discrete)
CSS_PROP_VISIBILITY(
text-orientation,
text_orientation,