mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Layout 2020: Rename flow_relative
types to Logical...
(#30324)
This makes the names of flow relative geometry consistent with what is used in the style crate and removes them from a module. With this change it's more obvious what makes these types different from the ones in `euclid`.
This commit is contained in:
parent
90ad5920e2
commit
8299868bd5
15 changed files with 314 additions and 317 deletions
|
@ -30,7 +30,7 @@ pub use fragment_tree::FragmentTree;
|
|||
use style::properties::ComputedValues;
|
||||
use style::values::computed::{Length, LengthOrAuto};
|
||||
|
||||
use crate::geom::flow_relative::Vec2;
|
||||
use crate::geom::LogicalVec2;
|
||||
|
||||
pub struct ContainingBlock<'a> {
|
||||
inline_size: Length,
|
||||
|
@ -39,7 +39,7 @@ pub struct ContainingBlock<'a> {
|
|||
}
|
||||
|
||||
struct DefiniteContainingBlock<'a> {
|
||||
size: Vec2<Length>,
|
||||
size: LogicalVec2<Length>,
|
||||
style: &'a ComputedValues,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue