Skip to content
Permalink
Browse files

style: 'text-orientation: upright' forces used 'direction' to LTR. r=…

…jfkthame

Bug: 1315892
Reviewed-by: jfkthame
  • Loading branch information...
fantasai authored and emilio committed Sep 16, 2019
1 parent c78f1b6 commit 8798549beb4a4fc26e8aaeb4dd1a2af665ab57e5
Showing with 2 additions and 0 deletions.
  1. +2 −0 components/style/logical_geometry.rs
@@ -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);

0 comments on commit 8798549

Please sign in to comment.
You can’t perform that action at this time.