aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllabelelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move DOMString back to scriptAnthony Ramine2016-05-241-2/+2
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Fix HtmlLabelElement activation to run on correct elementRebecca2016-03-291-6/+9
| | | | Also removes old code that caused radio button clicks on disabled elements
* Call synthetic_click_activation for all clicksRebecca2016-03-101-4/+7
| | | | | | | 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
* Fix a bunch of clippy lintsJohannes Linke2016-01-021-1/+1
|
* Remove unnecessary conversion to/from DOMString for localName.Eli Friedman2015-12-021-2/+2
|
* Update string_cache to 0.2.Alan Jeffrey2015-11-251-1/+1
| | | | | | | | | | | 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.
* merge from masterrohan.prinja2015-11-031-1/+38
|\
| * Auto merge of #7965 - frewsxcv:labelable-elements-label-attribute, r=noxbors-servo2015-11-011-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement 'labels' attribute on 'labelable elements' <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7965) <!-- Reviewable:end -->
| | * Implement 'labels' attribute on 'labelable elements'Corey Farwell2015-11-011-1/+1
| | |
| * | Fix unused variable warnings.Eli Friedman2015-10-311-1/+1
| | |
| * | Implementing activation behavior for <label>KALPESH KRISHNA2015-10-311-0/+37
| |/
* / move Castable into dom::bindings::inheritancerohan.prinja2015-10-301-1/+1
|/
* Implement 'htmlFor' attribute for <label> elementsCorey Farwell2015-10-251-0/+6
|
* Implement 'control' attribute for <label> elementsCorey Farwell2015-10-251-1/+48
|
* Explicitly customise flags of new nodes where neededAnthony Ramine2015-10-151-2/+1
| | | | | | | Given codegen now generates the various TypeId enums, it seems pointless to still have to write their respective values in every DOM struct inheriting from Node just to set the initial IS_IN_DOC flag in Document and IN_ENABLED_STATE in form controls.
* Generate all Derived implementations in codegenAnthony Ramine2015-10-141-11/+1
|
* Generate the TypeId enums in codegenAnthony Ramine2015-10-141-5/+5
|
* Explicitly place '/' before fragment for multipage spec linksCorey Farwell2015-10-101-1/+1
| | | | | This prevents us from 301 redirecting, which could cause the fragment to get lost
* Refactor FormControl traitPhilipp Hartwig2015-09-301-7/+2
| | | | | The trait is now implemented for HTMLFooElement instead of &HTMLFooElement and does no longer require an impl body.
* Add form getters for additional elements; update test expectationsPhilipp Hartwig2015-09-271-1/+17
| | | | | This adds form getters for fieldset, label, object, output, select and textarea elements.
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-2/+0
| | | | closes #7357
* sort all usesJohann Tuffe2015-08-201-1/+1
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Upgrade to SM 39Michael Wu2015-06-191-3/+3
|
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-4/+11
| | | | Part of https://github.com/servo/servo/issues/6041
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-1/+1
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Add HTMLElementTypeId enum (fixes #3625)Megha Gupta2015-01-021-4/+4
|
* Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+0
| | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-5/+5
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize EventTarget and EventListenerEntryTim Taubert2014-10-131-1/+1
|
* Privatize InheritTypesTim Taubert2014-10-131-1/+2
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-2/+2
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Use #[must_root] for HTMLElementsManish Goregaokar2014-09-171-0/+2
|
* Cargoify servoJack Moffitt2014-09-081-0/+44