mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove TDocument from the style and layout crates.
The style system never actually does anything with the document. This allows us to remove a bunch of stubbing on the Gecko side and streamline some things on the Servo side in future patches.
This commit is contained in:
parent
b7eb36fa84
commit
dda2928386
6 changed files with 22 additions and 88 deletions
|
@ -103,7 +103,7 @@ use std::sync::atomic::{AtomicUsize, Ordering};
|
|||
use std::sync::mpsc::{Receiver, Sender, channel};
|
||||
use style::animation::Animation;
|
||||
use style::context::{LocalStyleContextCreationInfo, ReflowGoal, SharedStyleContext};
|
||||
use style::dom::{TDocument, TElement, TNode};
|
||||
use style::dom::{TElement, TNode};
|
||||
use style::error_reporting::{ParseErrorReporter, StdoutErrorReporter};
|
||||
use style::logical_geometry::LogicalPoint;
|
||||
use style::media_queries::{Device, MediaType};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue