mirror of
https://github.com/servo/servo.git
synced 2025-06-17 04:44:28 +00:00
Add an IndexableText structure for text queries. Instead of linear search for a node this now uses a HashMap. Remove the now irrelevant fields from TextDisplayItem.
20 lines
829 B
Rust
20 lines
829 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
pub use self::builder::BlockFlowDisplayListBuilding;
|
|
pub use self::builder::BorderPaintingMode;
|
|
pub use self::builder::DisplayListBuildState;
|
|
pub use self::builder::FlexFlowDisplayListBuilding;
|
|
pub use self::builder::IndexableText;
|
|
pub use self::builder::InlineFlowDisplayListBuilding;
|
|
pub use self::builder::ListItemFlowDisplayListBuilding;
|
|
pub use self::builder::StackingContextCollectionFlags;
|
|
pub use self::builder::StackingContextCollectionState;
|
|
pub use self::conversions::ToLayout;
|
|
pub use self::webrender_helpers::WebRenderDisplayListConverter;
|
|
|
|
mod background;
|
|
mod builder;
|
|
mod conversions;
|
|
mod webrender_helpers;
|