Ms2ger
b012c99e05
Implement parsed 'unsigned long' attributes.
...
This commit is partially based on earlier work by Bruno Abinader in #2073 .
2014-06-13 14:13:29 +02:00
Ms2ger
972c69883e
Implement Element.classList (partially fixes #1717 ).
2014-06-13 14:13:00 +02:00
Ms2ger
0803e5d0ac
Implement support for parsed attributes.
...
This commit is heavily based on earlier work by Bruno Abinader in #2073 .
2014-06-13 14:07:49 +02:00
Ms2ger
37e9458514
Simplify Element::set_attribute for its remaining callers.
2014-06-08 17:09:22 +02:00
Ms2ger
efe69f3a82
Make Attr::value private.
2014-06-08 17:09:22 +02:00
Tetsuharu OHZEKI
a2a94d9421
Use RefCell for mutability of Element::style_attribute.
2014-06-08 23:36:38 +09:00
Manish Goregaokar
7843b7b317
Allow union types to be used as return values
2014-06-07 23:44:21 +05:30
bors-servo
f1194fc85b
auto merge of #2607 : bjz/servo/leeeeeak, r=jdm
...
Introduced by yours-truly in 7212c3573e
Oopsie.
2014-06-06 17:49:21 -04:00
bors-servo
b52fbe0a5f
auto merge of #2591 : brunoabinader/servo/document-queryselector-v3, r=jdm
...
This is a subtask for #2254 & #2576 .
Spec:
http://dom.spec.whatwg.org/#dom-parentnode-queryselector
2014-06-06 17:22:25 -04:00
Bruno de Oliveira Abinader
c89112dabf
Fixed traversal issues
2014-06-06 13:40:08 -07:00
Brendan Zabarauskas
bf21217504
Fix leak
...
Introduced by yours-truly in 7212c3573e
Oopsie.
2014-06-06 12:26:30 -07:00
Ms2ger
1a2896a3f3
Bonus: Make Reflector::object private.
2014-06-06 20:57:56 +02:00
Ms2ger
3e3536cf39
Fix and disable some compile warnings.
2014-06-06 20:56:44 +02:00
bors-servo
eae9b94399
auto merge of #2599 : Ms2ger/servo/constantspec, r=jdm
2014-06-06 14:04:29 -04:00
bors-servo
c54baa663e
auto merge of #2598 : Ms2ger/servo/unsafe-deriving, r=jdm
2014-06-06 13:31:31 -04:00
bors-servo
60fba1055c
auto merge of #2597 : Ms2ger/servo/main, r=jdm
2014-06-06 13:04:35 -04:00
bors-servo
af9da5cc24
auto merge of #2596 : Ms2ger/servo/CreateProxyHandler-transmute, r=jdm
2014-06-06 12:34:58 -04:00
bors-servo
a575cb7d9e
auto merge of #2600 : saneyuki/servo/mut, r=Ms2ger
...
Related #2514
2014-06-06 12:01:45 -04:00
Tetsuharu OHZEKI
1f9f0a28ed
Use Cell for mutability of HTMLIFrameElement.sandbox.
2014-06-07 00:58:43 +09:00
Tetsuharu OHZEKI
2aa1554b0c
Remove needless '&self mut' from VirtualMethods trait.
2014-06-07 00:58:43 +09:00
bors-servo
e997090d8e
auto merge of #2590 : Manishearth/servo/xhr-json, r=jdm
2014-06-06 10:46:40 -04:00
Ms2ger
d882bb7cc0
Store a slice in ConstantSpec, rather than a raw pointer.
2014-06-06 14:23:09 +02:00
Ms2ger
ba68203ebf
Remove the pointless terminator from ConstantSpec slices.
2014-06-06 14:10:41 +02:00
Ms2ger
0c54cd1634
Pass slices to CreateInterfaceObjects2 rather than raw pointers.
2014-06-06 14:01:09 +02:00
Ms2ger
3dece6b7ab
Remove some code to support preffing off APIs.
...
We won't be using this feature in the near future, and the implementation is
not really Rustic.
2014-06-06 13:22:47 +02:00
Ms2ger
999fc973c0
Squash a warning about deriving traits on a struct that contains a raw pointer.
2014-06-06 13:10:28 +02:00
Manish Goregaokar
cfa20e9fba
JSON response support and some default headers
2014-06-06 16:10:54 +05:30
Ms2ger
e997d0bfbd
Remove htmlmainelement.rs again (re-fixes #2541 ).
2014-06-06 12:33:28 +02:00
Ms2ger
f0a87bcf64
Don't use mem::transmute for the argument to CreateProxyHandler.
2014-06-06 12:29:43 +02:00
Bruno de Oliveira Abinader
3601aebaa2
Implement querySelector for Element
2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
c874c6470c
Implement querySelector for DocumentFragment
2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
249c484c24
Implement querySelector for Document
2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
f0aadb790d
Added ParentNode.querySelector skeleton
2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
f78d04b620
Implement TNode for JS<Node>
2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
8187916ee4
Implement TElement for JSRef<Element>
2014-06-05 16:54:26 -07:00
Brendan Zabarauskas
7212c3573e
Use bitflags! for NodeFlags
2014-06-05 15:43:57 -07:00
Jack Moffitt
629c4c6afe
Upgrade Rust.
2014-06-05 09:58:59 -06:00
Cameron Zwarich
7a18ab59c8
Drop event listener exceptions on the floor.
...
We get a lot of failures from assertions that event listeners haven't
thrown exceptions. As the FIXME above these assertions suggests, we
should just drop them on the floor.
2014-06-04 17:05:50 -07:00
Manish Goregaokar
ef126be28f
Add responseText and status code support to XHR
2014-06-04 17:13:02 +05:30
bors-servo
5a97f5fd79
auto merge of #2557 : saneyuki/servo/mut, r=jdm
...
related #2514
2014-06-03 13:31:26 -04:00
Ms2ger
d8801da9c5
Move WebIDL unions into their own module.
...
This will allow multiple unions to contain the same type.
2014-06-03 18:47:59 +02:00
Tetsuharu OHZEKI
dc0164071e
Remove needless '&mut self' from DocumentMethods.
2014-06-04 00:57:23 +09:00
Tetsuharu OHZEKI
884346030c
Remove needless '&mut self' from WindowMethods.
2014-06-04 00:55:23 +09:00
Manish Goregaokar
161bc102f6
Order of firing events
2014-06-03 19:05:31 +05:30
bors-servo
246c9759be
auto merge of #2555 : brson/servo/warnings, r=metajack
...
Depends on https://github.com/mozilla-servo/rust-fontconfig/pull/19 , https://github.com/mozilla-servo/rust-harfbuzz/pull/21 , https://github.com/mozilla-servo/rust-hubbub/pull/23 , https://github.com/mozilla-servo/rust-layers/pull/68 , https://github.com/mozilla-servo/sharegl/pull/29 , https://github.com/mozilla-servo/rust-mozjs/pull/85 .
2014-06-02 20:46:25 -04:00
Brian Anderson
c85e2c9594
Eliminate some warnings
2014-06-02 17:42:10 -07:00
bors-servo
52a809259a
auto merge of #2550 : Ms2ger/servo/default-handling, r=jdm
2014-06-02 18:01:22 -04:00
bors-servo
1d6a1fc066
auto merge of #2552 : saneyuki/servo/mut, r=jdm
...
related #2514
2014-06-02 14:58:27 -04:00
Tetsuharu OHZEKI
d2a590a3db
Remove needless 'self' mutability from CharacterDataMethods::Remove().
2014-06-03 03:29:41 +09:00
Tetsuharu OHZEKI
a837106f54
Remove needless 'self' mutability from DocumentTypeMethods::Remove().
2014-06-03 03:28:50 +09:00