Cameron Zwarich
176b3f7698
Remove uses of &mut JSRef
...
Since everything with JSRef happens with interior mutability, it doesn't
make any sense to use an &mut JSRef.
2014-09-18 15:30:38 -07:00
Josh Matthews
fae7ce3c1d
Retrieve some basic layout properties for nodes to make the box model somewhat useful.
2014-09-18 15:07:11 -04:00
Josh Matthews
fa57fe890b
Enable real DOM inspector support.
2014-09-18 15:06:40 -04:00
Josh Matthews
9607b468bc
Revert "script: Use atom comparison in more places, especially for attributes." for persistent test failures.
...
This reverts commit 874db26104
.
2014-09-18 09:20:19 -04:00
Josh Matthews
75caade828
Merge pull request #3358 from jdm/thespicemustnotreflow
...
Delay initiating layout operations for as long as possible.
2014-09-17 19:09:31 -04:00
Patrick Walton
874db26104
script: Use atom comparison in more places, especially for attributes.
...
75% improvement in style recalc for Guardians of the Galaxy.
2014-09-17 13:17:12 -07:00
Manish Goregaokar
11ba79894a
Merge pull request #3374 from Manishearth/lint_unrooted_jsmanaged
...
Add lint for ensuring proper rooting of JS<T>; r=jdm
2014-09-17 18:17:19 +05:30
Manish Goregaokar
30014c3919
Make Reflector #[must_root], propagate to non-HTMLElements
2014-09-17 01:02:41 +05:30
Manish Goregaokar
12dc54d238
Add unrooted_must_root lint for enums and structs containing JS<T>, as well as functions with JS<T> in their parameter list
...
For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)].
For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
2014-09-16 22:11:27 +05:30
Josh Matthews
2bd93ed070
Delay initiating layout operations for as long as possible.
2014-09-15 23:16:45 -04:00
Clark Gaebel
acd83ff47b
Added a bloom filter to CSS selector matching.
2014-09-15 16:29:45 -07:00
Tetsuharu OHZEKI
b73b06b9a8
Move Attr helper methods to AttrHelpers trait to avoid to touch them from layout task.
2014-09-11 04:54:38 +09:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00