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
Matt Brubeck
0e2cdc5cca
Merge pull request #3352 from mbrubeck/link-style
...
Move link rel=stylesheet fetching to layout task. r=jdm
2014-09-16 08:16:29 -07:00
Josh Matthews
dd35ea223e
Merge pull request #3357 from glennw/empty-iframe-src
...
Handle src='' in an iframe element. Without this, infinitely creates iframes with the same url.
2014-09-16 10:16:35 -04:00
Matt Brubeck
1ae3bda172
Move link rel=stylesheet fetching to layout task
...
Fixes #3346 .
2014-09-16 07:12:01 -07:00
Jack Moffitt
ad02534c10
Merge pull request #3212 from cgaebel/style-resolution-bloom-filter
...
Added a bloom filter to CSS selector matching.
2014-09-15 22:27:24 -06:00
Glenn Watson
111de569ac
Handle src='' in an iframe element. Without this, infinitely creates iframes with the same url.
2014-09-16 13:47:41 +10:00
Josh Matthews
2bd93ed070
Delay initiating layout operations for as long as possible.
2014-09-15 23:16:45 -04:00
Jack Moffitt
8a02fe0fc6
Merge pull request #3347 from jdm/blankiframe
...
Make all iframes attached to a document default to about:blank.
2014-09-15 19:37:29 -06:00
Clark Gaebel
acd83ff47b
Added a bloom filter to CSS selector matching.
2014-09-15 16:29:45 -07:00
Josh Matthews
151cbf07a6
Make all iframes attached to a document default to about:blank.
2014-09-15 14:15:44 -04:00
Jack Moffitt
b605929134
Handle iframe.src with a javascript protocol URL.
...
This change prevents us from crashing on Amazon and other pages with
iframe.src="javascript:foo".
2014-09-15 10:02:02 -06:00
Ms2ger
aa3ca283d4
Remove obsolete FIXME comment.
2014-09-14 10:27:42 +02:00
Ms2ger
d0e095a3e5
Stop messing with the case of the attribute name in AttributeHandlers::get_attribute.
...
This fixes a bug where GetAttributeNS would incorrectly match lower-case
attributes when called with an upper-case argument.
2014-09-13 21:01:54 +02:00
Gilles Leblanc
81a0d065f1
Make use of the list of Atoms in ClassSelector
...
Make use of the list of Atoms in the class attribute selector
(ClassSelector) in selector_matching.
Fixes #3111
2014-09-11 23:19:26 -04:00
Tetsuharu OHZEKI
a4ec892dbc
Move Attr::local_name() to AttrHelpers/AttrHelpersForLayout.
2014-09-11 04:54:38 +09: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