aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlelement.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Audit usages of unicode case-changing methods.Corey Farwell2017-07-261-6/+4
|
* Solving merge conficts related to the html5ever_atoms -> html5ever changeChristian Poveda2017-05-031-1/+1
|\
| * Upgrade to html5ever 0.16Simon Sapin2017-05-021-1/+1
| |
* | Changed all prefixes from DOMString to the atomic Prefix from html5everChristian Poveda2017-05-031-4/+4
|/
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Refactor some window_from_node calls based on feedbackArseniy Ivanov2017-02-031-20/+30
|
* Extend window presence checks to non-native event handlersArseniy Ivanov2017-02-031-10/+40
|
* Implement CSSStyleRule.styleKeith Yeung2016-12-171-3/+6
|
* Remove HeapGCValueAnthony Ramine2016-12-121-3/+3
| | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
* Update to string-cache 0.3Simon Sapin2016-11-031-14/+14
|
* Remove intrinsic Root::r()Anthony Ramine2016-10-111-4/+3
|
* Most of the code refactoring needed to be done is done with this commit.Arthur Marble2016-09-181-2/+2
|
* Reorder `use` statementsUK9922016-09-091-1/+1
|
* Inline DOM element creation into box expressions in components/script/dom/Kuba Birecki2016-07-141-2/+3
|
* Stop re-exporting AttrValue.Ms2ger2016-06-071-1/+1
|
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* dom: Add missing event handlersPiotr Stankiewicz2016-05-201-0/+39
| | | | | | | | | | Adding: * global event handlers, * window event handlers, * document and element handlers, * and support for BeforeUnloadEvent. Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com>
* Remove the custom PartialEq implementations on TypeId enumsAnthony Ramine2016-05-171-23/+0
| | | | https://github.com/rust-lang/rust/pull/33593 made them useless.
* Removed unused importsPer Lundberg2016-05-151-1/+0
| | | | This fixes #11185.
* Update 'Extensions to the HTMLElement Interface' CSSOM spec links.Corey Farwell2016-04-111-5/+5
|
* Remove `get_*` on getters as per RFC 0344.Corey Farwell2016-04-101-3/+3
| | | | | | https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
* Auto merge of #9930 - rebstar6:htmlclick, r=jdmbors-servo2016-03-111-9/+8
|\ | | | | | | | | | | | | | | | | | | | | | | Remove activatable element filter within HTMLElement#click() Address https://github.com/servo/servo/issues/6542 Ensure that click() calls are not limited to activatable elements. Also makes the isTrusted attribute false when synthetic click activation are called from a click() method (as per spec). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9930) <!-- Reviewable:end -->
| * Call synthetic_click_activation for all clicksRebecca2016-03-101-9/+8
| | | | | | | | | | | | | | Moved synthetic_click_actiavtion out of Activatable trait so it can be called by all elements (not just activatable). Calls appropriately from click. Also updates the isdisabled check in click to check for all types of elements
* | use return value of invoking event handlers to cancel the eventJoão Oliveira2016-02-261-0/+18
| |
* | Implement From<DOMString> for AtomAnthony Ramine2016-02-241-2/+2
|/
* Compile raw inline event handlers lazily. Resolves #8489.Josh Matthews2016-02-111-5/+3
|
* Update rust-selectorsEmilio Cobos Álvarez2016-02-031-1/+1
| | | | | This commits updates rust-selectors to use the generic parser, and as such it moves the element state into the style crate.
* Add onresize handler to GlobalEventHandlersJeff Harrison2016-01-291-0/+18
| | | | | Refs: https://github.com/servo/servo/issues/7996 Rebased: https://github.com/servo/servo/pull/8006
* Refactor 'listed element' logic for HTMLFieldSetElement::ElementsCorey Farwell2016-01-091-0/+24
| | | | | `HTMLElement::is_listed_element` method was added, which matches the `HTMLElement::is_labelable_element` method directly above
* Generate PartialEq automaticallyGuillaume Gomez2016-01-031-6/+0
|
* move FocusType enum to the script crateRoman Klauke2015-12-061-2/+1
| | | | | | | This commit moves the FocusType enum to the script crate and replaces all usages with the new `usage`. Fixes #8840
* Remove unnecessary conversion to/from DOMString for localName.Eli Friedman2015-12-021-3/+3
|
* Compute attribute name atoms at compile-time.Eli Friedman2015-11-271-3/+3
|
* Update string_cache to 0.2.Alan Jeffrey2015-11-251-6/+8
| | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom.
* Replaced DOMString constructor by conversion functions.Alan Jeffrey2015-11-121-4/+5
| | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("...").
* Differentiate between error and non-error event handlers per the spec.Josh Matthews2015-11-121-0/+1
|
* 'type' attribute on HTMLInputElement should be stored as an AtomCorey Farwell2015-11-061-1/+1
| | | | Fixes #8180
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-4/+4
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.
* Get rid of a bunch of explicit derefsDavid Zbarsky2015-11-031-12/+9
|
* merge from masterrohan.prinja2015-11-031-4/+95
|\
| * Implement 'labels' attribute on 'labelable elements'Corey Farwell2015-11-011-1/+43
| |
| * Removed JS::root Fixes #8251nxnfufunezn2015-10-311-2/+2
| |
| * Move EventState to rust-selectors.Bobby Holley2015-10-301-3/+4
| |
| * Implement DOMStringMap::SupportedPropertyNames and ↵Nova Fallen2015-10-301-0/+48
| | | | | | | | NamedNodeMap::SupportedPropertyNames
* | rearrange imports to be in alphabetical orderrohan.prinja2015-10-301-2/+2
| |
* | replace InheritTypes imports with inheritance importsrohan.prinja2015-10-301-1/+1
| |
* | more refactoringrohan.prinja2015-10-301-1/+1
| |
* | move Castable into dom::bindings::inheritancerohan.prinja2015-10-301-1/+1
|/
* Implement 'control' attribute for <label> elementsCorey Farwell2015-10-251-0/+20
|
* Clean up the cast callsAnthony Ramine2015-10-211-19/+11
|