mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Rename box_.rs
to fragment.rs
This commit is contained in:
parent
3ffce02b88
commit
bf9935abbe
14 changed files with 15 additions and 15 deletions
|
@ -12,13 +12,13 @@
|
|||
//!
|
||||
//! CB: Containing Block of the current flow.
|
||||
|
||||
use layout::box_::{Fragment, ImageFragment, ScannedTextFragment};
|
||||
use layout::construct::FlowConstructor;
|
||||
use layout::context::LayoutContext;
|
||||
use layout::floats::{ClearBoth, ClearLeft, ClearRight, FloatKind, Floats, PlacementInfo};
|
||||
use layout::flow::{BaseFlow, BlockFlowClass, FlowClass, Flow, ImmutableFlowUtils};
|
||||
use layout::flow::{MutableFlowUtils, PreorderFlowTraversal, PostorderFlowTraversal, mut_base};
|
||||
use layout::flow;
|
||||
use layout::fragment::{Fragment, ImageFragment, ScannedTextFragment};
|
||||
use layout::model::{Auto, IntrinsicWidths, MarginCollapseInfo, MarginsCollapse};
|
||||
use layout::model::{MarginsCollapseThrough, MaybeAuto, NoCollapsibleMargins, Specified, specified};
|
||||
use layout::model::{specified_or_none};
|
||||
|
|
|
@ -22,14 +22,14 @@
|
|||
|
||||
use css::node_style::StyledNode;
|
||||
use layout::block::BlockFlow;
|
||||
use layout::box_::{Fragment, GenericFragment, IframeFragment, IframeFragmentInfo, ImageFragment, ImageFragmentInfo};
|
||||
use layout::box_::{SpecificFragmentInfo, TableFragment, TableCellFragment, TableColumnFragment, TableColumnFragmentInfo};
|
||||
use layout::box_::{TableRowFragment, TableWrapperFragment, UnscannedTextFragment, UnscannedTextFragmentInfo};
|
||||
use layout::context::LayoutContext;
|
||||
use layout::floats::FloatKind;
|
||||
use layout::flow::{Flow, ImmutableFlowUtils, MutableOwnedFlowUtils};
|
||||
use layout::flow::{Descendants, AbsDescendants};
|
||||
use layout::flow_list::{Rawlink};
|
||||
use layout::fragment::{Fragment, GenericFragment, IframeFragment, IframeFragmentInfo, ImageFragment, ImageFragmentInfo};
|
||||
use layout::fragment::{SpecificFragmentInfo, TableFragment, TableCellFragment, TableColumnFragment, TableColumnFragmentInfo};
|
||||
use layout::fragment::{TableRowFragment, TableWrapperFragment, UnscannedTextFragment, UnscannedTextFragmentInfo};
|
||||
use layout::inline::{FragmentIndex, InlineFragments, InlineFlow};
|
||||
use layout::table_wrapper::TableWrapperFlow;
|
||||
use layout::table::TableFlow;
|
||||
|
|
|
@ -27,10 +27,10 @@
|
|||
|
||||
use css::node_style::StyledNode;
|
||||
use layout::block::BlockFlow;
|
||||
use layout::box_::{Fragment, TableRowFragment, TableCellFragment};
|
||||
use layout::context::LayoutContext;
|
||||
use layout::floats::Floats;
|
||||
use layout::flow_list::{FlowList, Link, Rawlink, FlowListIterator, MutFlowListIterator};
|
||||
use layout::fragment::{Fragment, TableRowFragment, TableCellFragment};
|
||||
use layout::incremental::RestyleDamage;
|
||||
use layout::inline::InlineFlow;
|
||||
use layout::model::{CollapsibleMargins, IntrinsicWidths, MarginCollapseInfo};
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use css::node_style::StyledNode;
|
||||
use layout::box_::{Fragment, ScannedTextFragment, ScannedTextFragmentInfo, SplitInfo};
|
||||
use layout::context::LayoutContext;
|
||||
use layout::floats::{FloatLeft, Floats, PlacementInfo};
|
||||
use layout::flow::{BaseFlow, FlowClass, Flow, InlineFlowClass};
|
||||
use layout::flow;
|
||||
use layout::fragment::{Fragment, ScannedTextFragment, ScannedTextFragmentInfo, SplitInfo};
|
||||
use layout::model::IntrinsicWidths;
|
||||
use layout::model;
|
||||
use layout::text;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
//! Borders, padding, and margins.
|
||||
|
||||
use layout::box_::Fragment;
|
||||
use layout::fragment::Fragment;
|
||||
|
||||
use computed = style::computed_values;
|
||||
use geom::SideOffsets2D;
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
//! CSS table formatting contexts.
|
||||
|
||||
use layout::box_::Fragment;
|
||||
use layout::block::{BlockFlow, MarginsMayNotCollapse, WidthAndMarginsComputer};
|
||||
use layout::block::{WidthConstraintInput, WidthConstraintSolution};
|
||||
use layout::construct::FlowConstructor;
|
||||
use layout::context::LayoutContext;
|
||||
use layout::floats::FloatKind;
|
||||
use layout::flow::{TableFlowClass, FlowClass, Flow, ImmutableFlowUtils};
|
||||
use layout::fragment::Fragment;
|
||||
use layout::table_wrapper::{TableLayout, FixedLayout, AutoLayout};
|
||||
use layout::wrapper::ThreadSafeLayoutNode;
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
//! CSS table formatting contexts.
|
||||
|
||||
use layout::box_::Fragment;
|
||||
use layout::block::{BlockFlow, MarginsMayNotCollapse, WidthAndMarginsComputer};
|
||||
use layout::context::LayoutContext;
|
||||
use layout::flow::{TableCellFlowClass, FlowClass, Flow};
|
||||
use layout::fragment::Fragment;
|
||||
use layout::model::{MaybeAuto};
|
||||
use layout::table::InternalTable;
|
||||
use layout::wrapper::ThreadSafeLayoutNode;
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
//! CSS table formatting contexts.
|
||||
|
||||
use layout::box_::{Fragment, TableColumnFragment};
|
||||
use layout::context::LayoutContext;
|
||||
use layout::flow::{BaseFlow, TableColGroupFlowClass, FlowClass, Flow};
|
||||
use layout::fragment::{Fragment, TableColumnFragment};
|
||||
use layout::model::{MaybeAuto};
|
||||
use layout::wrapper::ThreadSafeLayoutNode;
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
//! CSS table formatting contexts.
|
||||
|
||||
use layout::box_::Fragment;
|
||||
use layout::block::BlockFlow;
|
||||
use layout::block::WidthAndMarginsComputer;
|
||||
use layout::construct::FlowConstructor;
|
||||
use layout::context::LayoutContext;
|
||||
use layout::flow::{TableRowFlowClass, FlowClass, Flow, ImmutableFlowUtils};
|
||||
use layout::flow;
|
||||
use layout::fragment::Fragment;
|
||||
use layout::table::InternalTable;
|
||||
use layout::model::{MaybeAuto, Specified, Auto};
|
||||
use layout::wrapper::ThreadSafeLayoutNode;
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
//! CSS table formatting contexts.
|
||||
|
||||
use layout::box_::Fragment;
|
||||
use layout::block::BlockFlow;
|
||||
use layout::block::WidthAndMarginsComputer;
|
||||
use layout::construct::FlowConstructor;
|
||||
use layout::context::LayoutContext;
|
||||
use layout::flow::{TableRowGroupFlowClass, FlowClass, Flow, ImmutableFlowUtils};
|
||||
use layout::flow;
|
||||
use layout::fragment::Fragment;
|
||||
use layout::table::{InternalTable, TableFlow};
|
||||
use layout::wrapper::ThreadSafeLayoutNode;
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
//! CSS table formatting contexts.
|
||||
|
||||
use layout::box_::Fragment;
|
||||
use layout::block::{BlockFlow, MarginsMayNotCollapse, WidthAndMarginsComputer};
|
||||
use layout::block::{WidthConstraintInput, WidthConstraintSolution};
|
||||
use layout::construct::FlowConstructor;
|
||||
use layout::context::LayoutContext;
|
||||
use layout::floats::FloatKind;
|
||||
use layout::flow::{TableWrapperFlowClass, FlowClass, Flow, ImmutableFlowUtils};
|
||||
use layout::fragment::Fragment;
|
||||
use layout::model::{Specified, Auto, specified};
|
||||
use layout::wrapper::ThreadSafeLayoutNode;
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
//! Text layout.
|
||||
|
||||
use layout::box_::{Fragment, ScannedTextFragment, ScannedTextFragmentInfo, UnscannedTextFragment};
|
||||
use layout::flow::Flow;
|
||||
use layout::fragment::{Fragment, ScannedTextFragment, ScannedTextFragmentInfo, UnscannedTextFragment};
|
||||
use layout::inline::InlineFragments;
|
||||
|
||||
use gfx::font::{FontMetrics, FontStyle};
|
||||
|
|
|
@ -95,12 +95,12 @@ pub mod pipeline;
|
|||
|
||||
pub mod layout {
|
||||
pub mod block;
|
||||
pub mod box_;
|
||||
pub mod construct;
|
||||
pub mod context;
|
||||
pub mod floats;
|
||||
pub mod flow;
|
||||
pub mod flow_list;
|
||||
pub mod fragment;
|
||||
pub mod layout_task;
|
||||
pub mod inline;
|
||||
pub mod model;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue