mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1315892 - Add a comment quoting the spec. r=me
MANUAL PUSH: Contributor didn't manage to add author information to lando + comment only follow-up.
This commit is contained in:
parent
d9d30c73ad
commit
97509fc36a
@ -140,6 +140,13 @@ impl WritingMode {
|
|||||||
TextOrientation::Mixed => {},
|
TextOrientation::Mixed => {},
|
||||||
TextOrientation::Upright => {
|
TextOrientation::Upright => {
|
||||||
flags.insert(WritingMode::UPRIGHT);
|
flags.insert(WritingMode::UPRIGHT);
|
||||||
|
|
||||||
|
// https://drafts.csswg.org/css-writing-modes-3/#valdef-text-orientation-upright:
|
||||||
|
//
|
||||||
|
// > This value causes the used value of direction
|
||||||
|
// > to be ltr, and for the purposes of bidi
|
||||||
|
// > reordering, causes all characters to be treated
|
||||||
|
// > as strong LTR.
|
||||||
flags.remove(WritingMode::RTL);
|
flags.remove(WritingMode::RTL);
|
||||||
flags.remove(WritingMode::INLINE_REVERSED);
|
flags.remove(WritingMode::INLINE_REVERSED);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user