mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
remove extern crate
(#30311)
* remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
a0cff6a085
commit
711dbbd4af
274 changed files with 415 additions and 429 deletions
|
@ -5,6 +5,7 @@
|
|||
use crate::layout_debug::DebugId;
|
||||
use bitflags::bitflags;
|
||||
use gfx_traits::{combine_id_with_fragment_type, FragmentType};
|
||||
use serde::Serialize;
|
||||
use style::dom::OpaqueNode;
|
||||
use style::selector_parser::PseudoElement;
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ use crate::cell::ArcRefCell;
|
|||
use crate::geom::flow_relative::{Rect, Sides};
|
||||
use crate::geom::{PhysicalPoint, PhysicalRect, PhysicalSides, PhysicalSize};
|
||||
use gfx_traits::print_tree::PrintTree;
|
||||
use serde::Serialize;
|
||||
use servo_arc::Arc as ServoArc;
|
||||
use style::computed_values::overflow_x::T as ComputedOverflow;
|
||||
use style::computed_values::position::T as ComputedPosition;
|
||||
|
|
|
@ -11,6 +11,7 @@ use gfx::font::FontMetrics as GfxFontMetrics;
|
|||
use gfx::text::glyph::GlyphStore;
|
||||
use gfx_traits::print_tree::PrintTree;
|
||||
use msg::constellation_msg::{BrowsingContextId, PipelineId};
|
||||
use serde::Serialize;
|
||||
use servo_arc::Arc as ServoArc;
|
||||
use std::sync::Arc;
|
||||
use style::logical_geometry::WritingMode;
|
||||
|
|
|
@ -11,6 +11,7 @@ use app_units::Au;
|
|||
use euclid::default::{Point2D, Rect, Size2D};
|
||||
use fxhash::FxHashSet;
|
||||
use gfx_traits::print_tree::PrintTree;
|
||||
use serde::Serialize;
|
||||
use style::animation::AnimationSetKey;
|
||||
use style::dom::OpaqueNode;
|
||||
use style::values::computed::Length;
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
use super::Fragment;
|
||||
use crate::{cell::ArcRefCell, geom::flow_relative::Vec2};
|
||||
use serde::Serialize;
|
||||
use style::values::computed::{Length, LengthPercentage};
|
||||
|
||||
/// A reference to a Fragment which is shared between `HoistedAbsolutelyPositionedBox`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue