Move the computed style to a new SharedLayoutData struct.

Implementing the CSSOM requires giving the script task access to the
computed style for a node. Moving it into a new SharedLayoutData struct
member of LayoutDataRef seems to be the best way to achieve this.

This is the first step towards #1721.
This commit is contained in:
Cameron Zwarich 2014-05-09 12:45:12 -07:00
parent d56a308524
commit 0e67202bc2
7 changed files with 23 additions and 14 deletions

View file

@ -30,6 +30,7 @@ extern crate servo_macros = "macros";
extern crate servo_net = "net";
extern crate servo_util = "util";
extern crate style;
extern crate sync;
extern crate servo_msg = "msg";
extern crate url;