aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/inline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/flow/inline.rs')
-rw-r--r--components/layout_2020/flow/inline.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/layout_2020/flow/inline.rs b/components/layout_2020/flow/inline.rs
index 045d5aaceba..c274e615042 100644
--- a/components/layout_2020/flow/inline.rs
+++ b/components/layout_2020/flow/inline.rs
@@ -473,6 +473,16 @@ impl Lines {
TextAlign::Start
}
},
+ TextAlignKeyword::Justify => {
+ // TODO: Add support for justfied text.
+ TextAlign::Start
+ },
+ TextAlignKeyword::ServoCenter |
+ TextAlignKeyword::ServoLeft |
+ TextAlignKeyword::ServoRight => {
+ // TODO: Implement these modes which seem to be used by quirks mode.
+ TextAlign::Start
+ },
};
let move_by = match text_align {
TextAlign::Start => Length::zero(),