moebius#90: CSS - implement text-justify property

This commit is contained in:
janekptacijarabaci 2018-04-01 19:32:49 +02:00 committed by Roy Tam
commit 1f262f0d2b
26 changed files with 312 additions and 9 deletions

View file

@ -2035,6 +2035,17 @@ KTableEntry nsCSSProps::kTextAlignLastKTable[] = {
{ eCSSKeyword_UNKNOWN, -1 }
};
const KTableEntry nsCSSProps::kTextJustifyKTable[] = {
{ eCSSKeyword_none, StyleTextJustify::None },
{ eCSSKeyword_auto, StyleTextJustify::Auto },
{ eCSSKeyword_inter_word, StyleTextJustify::InterWord },
{ eCSSKeyword_inter_character, StyleTextJustify::InterCharacter },
// For legacy reasons, UAs must also support the keyword "distribute" with
// the exact same meaning and behavior as "inter-character".
{ eCSSKeyword_distribute, StyleTextJustify::InterCharacter },
{ eCSSKeyword_UNKNOWN, -1 }
};
const KTableEntry nsCSSProps::kTextCombineUprightKTable[] = {
{ eCSSKeyword_none, NS_STYLE_TEXT_COMBINE_UPRIGHT_NONE },
{ eCSSKeyword_all, NS_STYLE_TEXT_COMBINE_UPRIGHT_ALL },