mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
977a6275d1
Currently, there's no way to tell whether the SIDEWAYS bit is set from `writing-mode:sideways-*` or `writing-mode:vertical-*; text-orientation:sideways;`. To be able to tell them apart, split SIDEWAYS bits into VERTICAL_SIDEWAYS and TEXT_SIDEWAYS. This is needed by my proposed solution in bug 1102175. Also, provide convenience methods related to sideways writing-mode, and replace obscure checks in the codebase. Note that we don't have the use cases to distinguish vertical-rl from sideways-rl in layout, but for the completeness, IsSidewaysLR() is still defined. Differential Revision: https://phabricator.services.mozilla.com/D46321 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
parsing | ||
properties | ||
rule_tree | ||
animated_properties.rs | ||
attr.rs | ||
Cargo.toml | ||
custom_properties.rs | ||
lib.rs | ||
logical_geometry.rs | ||
media_queries.rs | ||
size_of.rs | ||
str.rs | ||
stylesheets.rs | ||
stylist.rs | ||
viewport.rs |