Skip to content

Commit

Permalink
style: 'text-orientation: upright' forces used 'direction' to LTR. r=…
Browse files Browse the repository at this point in the history
…jfkthame

Bug: 1315892
Reviewed-by: jfkthame
  • Loading branch information
fantasai authored and emilio committed Oct 9, 2019
1 parent c78f1b6 commit 8798549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/style/logical_geometry.rs
Expand Up @@ -140,6 +140,8 @@ impl WritingMode {
TextOrientation::Mixed => {},
TextOrientation::Upright => {
flags.insert(WritingMode::UPRIGHT);
flags.remove(WritingMode::RTL);
flags.remove(WritingMode::INLINE_REVERSED);
},
TextOrientation::Sideways => {
flags.insert(WritingMode::SIDEWAYS);
Expand Down

0 comments on commit 8798549

Please sign in to comment.