Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00
Ms2ger
1b543144f1
Pass an Atom to before_remove_attr and after_set_attr.
2014-08-16 12:32:19 +02:00
Bruno de Oliveira Abinader
1dea5d2680
Implement support for 'enabled' property in HTMLLinkElement
2014-08-05 11:01:54 -04:00
Bruno de Oliveira Abinader
d94be160e4
Implement support for 'enabled' property in HTMLAreaElement
2014-08-05 11:01:54 -04:00
Bruno de Oliveira Abinader
09583d94b8
Implement support for 'disabled' property in HTMLTextAreaElement
2014-08-05 11:01:54 -04:00
Bruno de Oliveira Abinader
186c8d9edd
Implement support for 'disabled' property in HTMLSelectElement
2014-08-05 11:01:54 -04:00
Bruno de Oliveira Abinader
cad5f990d1
Implement support for 'disabled' property in HTMLOptionElement
2014-08-05 11:01:53 -04:00
Bruno de Oliveira Abinader
1e52a5afb8
Implement support for 'disabled' property in HTMLOptGroupElement
2014-08-05 11:01:53 -04:00
Bruno de Oliveira Abinader
4e37b3c8c7
Implement support for 'disabled' property in HTMLInputElement
2014-08-05 11:01:53 -04:00
Bruno de Oliveira Abinader
c257a2e8ad
Implement support for 'disabled' property in HTMLFieldSetElement
2014-08-05 11:01:53 -04:00
Bruno de Oliveira Abinader
2017ffce37
Implement support for 'disabled' property in HTMLButtonElement
2014-08-05 11:01:53 -04:00
Jack Moffitt
b91e6f30e0
Upgrade Rust.
2014-08-02 21:11:47 -06:00
Aalhad
f8ba2c1190
Implement very basic canvas rendering context logic. No visual display present.
2014-07-25 10:00:37 +02:00
Bruno de Oliveira Abinader
aea4ccf849
Added 'parent is/was in tree' param to bind_to_tree/unbind_from_tree
...
According to a talk with Ms2ger, both bind_to_tree / unbind_from_tree
should be called regardless if the tree is part of a Document. This
information is now passed as a parameter to their respective virtual
methods.
2014-07-16 08:59:56 -04:00
Manish Goregaokar
f5b5b337d3
Upgrade to latest Rust.
2014-06-27 18:50:32 -06: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
Tetsuharu OHZEKI
2aa1554b0c
Remove needless '&self mut' from VirtualMethods trait.
2014-06-07 00:58:43 +09:00
Josh Matthews
04931adf70
Compile JS strings when setting inline event handlers via element attributes.
2014-05-27 20:43:48 +02:00
Tetsuharu OHZEKI
46d31632e0
Initial spec-incompliant implementation of default click action for anchor elements.
...
This is cherry-picked from https://github.com/mozilla/servo/pull/1688 :
* Initial spec-incompliant implementation of default click action for anchor elements.
* Add documentation; gut the new document URL loading method
and move it all into the new Window method.
* Add test for default event prevention.
Original developer: Josh Matthews <josh@joshmatthews.net>
2014-05-23 23:30:09 +09:00
Josh Matthews
91278da9dd
Address review comments.
2014-05-03 14:18:31 -04:00
Josh Matthews
46a33b4b38
Fix up the virtual method unsoundness.
2014-05-03 14:18:31 -04:00
Josh Matthews
d7b96db33c
Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.
2014-05-03 14:18:30 -04:00
Matt Brubeck
28a013cfc5
Move child_inserted into VirtualMethods.
...
Follow-up from #1984 .
2014-04-14 13:39:11 -07:00
Josh Matthews
6388dec996
Add overridable tree binding/unbinding behaviour.
2014-04-10 10:27:32 +02:00
Josh Matthews
ca6cfb5bca
Add support for trait-based virtual methods on Nodes, and use it for before_remove_attr and after_set_attr.
2014-04-10 10:27:28 +02:00