mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
moebius#90: CSS - implement text-justify property
This commit is contained in:
parent
5677db4b6e
commit
1f262f0d2b
26 changed files with 312 additions and 9 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue