aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/element.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-958/+0
|
* Rename AttrList to NamedNodeMapAaron Hill2014-08-291-4/+4
| | | | This fixes issue #3135
* Uppercase element.tagName for HTML elements onlyMatt Brubeck2014-08-281-8/+8
| | | | Fixes #3146
* Merge pull request #3145 from wenderen/NamespaceURI.NoneManish Goregaokar2014-08-271-2/+5
|\ | | | | return null from GetNamespaceURI, not the empty string; r=Manishearth, Ms2ger
| * return null from GetNamespaceURI, not the empty stringRohan Prinja2014-08-271-2/+5
| | | | | | | | correctly mark tests
* | Use AttrValue::tokens() in Element::has_class()Bruno de Oliveira Abinader2014-08-251-4/+6
|/
* Merge pull request #3099 from Ms2ger/attr-local_name-atomMs2ger2014-08-191-44/+48
|\ | | | | Make Attr::local_name an Atom; r=abinader
| * Pass an Atom to before_remove_attr and after_set_attr.Ms2ger2014-08-161-7/+7
| |
| * Make Attr::local_name an Atom.Ms2ger2014-08-161-38/+42
| |
* | Make more things private to the style crate.Simon Sapin2014-08-161-13/+4
| |
* | Use Result/Err(()) in Selector parsing.Simon Sapin2014-08-161-2/+2
|/ | | | | | | | … get rid of some custom `enum` types for parsing return values. `Option<Option<T>>` was ridiculous, but `Result<Option<T>, ()>` make perfect sense. Also, we can now take advantage of the `try!()` macro.
* Rename ClientRect and ClientRectList to DOMRect and DOMRectList (fixes ↵hyunjunekim2014-08-091-8/+8
| | | | | | | #2814, fixes #2840). These interfaces were renamed in the specification, in order to use them in other contexts than the getClientRects and getBoundingClientRect methods.
* Upgrade Rust.Jack Moffitt2014-08-081-2/+2
|
* Fix getElementsByTagName[NS] support to match the spec.James Graham2014-08-081-7/+2
|
* Document.getElementById() should return null if the passed argument is empty.Tetsuharu OHZEKI2014-08-061-4/+10
|
* Implement support for :enabled CSS selectorBruno de Oliveira Abinader2014-08-051-0/+4
|
* Implement support for :disabled CSS selectorBruno de Oliveira Abinader2014-08-051-1/+26
|
* Upgrade Rust.Jack Moffitt2014-08-021-5/+5
|
* Use atom to match id selector.Tetsuharu OHZEKI2014-07-301-1/+25
|
* Port `id` attribute to use atom.Tetsuharu OHZEKI2014-07-291-1/+10
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-34/+3
|
* Convert to atom earlier in SetAttributeNSGlenn Watson2014-07-251-3/+6
|
* Port attribute name to use atom.Glenn Watson2014-07-241-9/+10
|
* Element::removeAttribute* does not need to throwBruno de Oliveira Abinader2014-07-231-9/+6
|
* Port element traits to use atoms instead of strings.Glenn Watson2014-07-221-4/+4
|
* Implement Element.matches().Tetsuharu OHZEKI2014-07-201-1/+23
|
* Merge pull request #2844 from glennw/atom-elementglennw2014-07-181-3/+4
|\ | | | | Convert element name to be stored as atom instead of string.
| * Convert element name to be stored as atom instead of string.Glenn Watson2014-07-161-3/+4
| |
* | Added 'parent is/was in tree' param to bind_to_tree/unbind_from_treeBruno de Oliveira Abinader2014-07-161-4/+8
|/ | | | | | | 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.
* Return slices from get_attribute_parts.Ms2ger2014-07-141-8/+10
|
* Make Element.remove_attribute take &str instead of DOMStringJames Graham2014-07-131-10/+10
|
* Revert "Implement Element.matches()."Patrick Walton2014-07-091-7/+0
| | | | This reverts commit b6edd5318f3fe5c751d1c011e87adbfe0cac4fcc.
* Implement Element.matches().Tetsuharu OHZEKI2014-07-051-0/+7
|
* Upgrade to latest Rust.Manish Goregaokar2014-06-271-3/+3
|
* Remove needless mutabilities from script crate.Tetsuharu OHZEKI2014-06-221-2/+2
|
* Use internal mutability for Attr::value.Ms2ger2014-06-221-3/+3
|
* Remove Reflectable::mut_reflector.Ms2ger2014-06-131-4/+0
|
* auto merge of #2616 : Ms2ger/servo/attrvalue, r=jdmbors-servo2014-06-131-31/+74
|\ | | | | | | Obsoletes #2073.
| * Implement parsed 'unsigned long' attributes.Ms2ger2014-06-131-2/+16
| | | | | | | | This commit is partially based on earlier work by Bruno Abinader in #2073.
| * Implement Element.classList (partially fixes #1717).Ms2ger2014-06-131-1/+17
| |
| * Implement support for parsed attributes.Ms2ger2014-06-131-7/+36
| | | | | | | | This commit is heavily based on earlier work by Bruno Abinader in #2073.
| * Simplify Element::set_attribute for its remaining callers.Ms2ger2014-06-081-25/+9
| |
| * Make Attr::value private.Ms2ger2014-06-081-2/+2
| |
* | auto merge of #2640 : Ms2ger/servo/derefmut, r=jdmbors-servo2014-06-111-4/+4
|\ \
| * | Use internal mutability for Document::idmap.Ms2ger2014-06-111-4/+4
| |/
* / Implement support for ParentNode's querySelectorAllBruno de Oliveira Abinader2014-06-101-0/+8
|/
* Use RefCell for mutability of Element::style_attribute.Tetsuharu OHZEKI2014-06-081-6/+6
|
* auto merge of #2591 : brunoabinader/servo/document-queryselector-v3, r=jdmbors-servo2014-06-061-0/+48
|\ | | | | | | | | | | | | This is a subtask for #2254 & #2576. Spec: http://dom.spec.whatwg.org/#dom-parentnode-queryselector
| * Implement querySelector for ElementBruno de Oliveira Abinader2014-06-051-1/+4
| |
| * Added ParentNode.querySelector skeletonBruno de Oliveira Abinader2014-06-051-0/+5
| |