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

@ -5694,6 +5694,17 @@ if (IsCSSPropertyPrefEnabled("layout.css.text-combine-upright.enabled")) {
}
}
if (IsCSSPropertyPrefEnabled("layout.css.text-justify.enabled")) {
gCSSProperties["text-justify"] = {
domProp: "textJustify",
inherited: true,
type: CSS_TYPE_LONGHAND,
initial_values: [ "auto" ],
other_values: [ "none", "inter-word", "inter-character", "distribute" ],
invalid_values: []
};
}
if (IsCSSPropertyPrefEnabled("svg.paint-order.enabled")) {
gCSSProperties["paint-order"] = {
domProp: "paintOrder",