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
|
|
@ -7013,7 +7013,8 @@ nsLayoutUtils::GetTextRunFlagsForStyle(nsStyleContext* aStyleContext,
|
|||
nscoord aLetterSpacing)
|
||||
{
|
||||
uint32_t result = 0;
|
||||
if (aLetterSpacing != 0) {
|
||||
if (aLetterSpacing != 0 ||
|
||||
aStyleText->mTextJustify == StyleTextJustify::InterCharacter) {
|
||||
result |= gfxTextRunFactory::TEXT_DISABLE_OPTIONAL_LIGATURES;
|
||||
}
|
||||
if (aStyleText->mControlCharacterVisibility == NS_STYLE_CONTROL_CHARACTER_VISIBILITY_HIDDEN) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue