mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: 'text-orientation: upright' forces used 'direction' to LTR. r=jfkthame
Bug: 1315892 Reviewed-by: jfkthame
This commit is contained in:
parent
c78f1b62de
commit
8798549beb
1 changed files with 2 additions and 0 deletions
|
@ -140,6 +140,8 @@ impl WritingMode {
|
||||||
TextOrientation::Mixed => {},
|
TextOrientation::Mixed => {},
|
||||||
TextOrientation::Upright => {
|
TextOrientation::Upright => {
|
||||||
flags.insert(WritingMode::UPRIGHT);
|
flags.insert(WritingMode::UPRIGHT);
|
||||||
|
flags.remove(WritingMode::RTL);
|
||||||
|
flags.remove(WritingMode::INLINE_REVERSED);
|
||||||
},
|
},
|
||||||
TextOrientation::Sideways => {
|
TextOrientation::Sideways => {
|
||||||
flags.insert(WritingMode::SIDEWAYS);
|
flags.insert(WritingMode::SIDEWAYS);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue