aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllabelelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Support arbitrary protos when wrapping DOM objects with constructors.Josh Matthews2023-05-281-1/+4
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+0
|
* Event dispatch rewritten to resemble spec more often, activate on clicks betterPatrick Shaughnessy2020-02-121-18/+8
|
* Labels are a live list in tree orderPatrick Shaughnessy2020-01-061-12/+38
|
* [WIP] solve #22782takumi2019-10-181-12/+0
| | | | TODO: write tests for my change
* Introduce ShadowIncluding enum for tree traversalsFernando Jiménez Moreno2019-04-261-2/+2
|
* Implement concept of shadow including tree orderFernando Jiménez Moreno2019-04-261-1/+1
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-2/+2
|
* Reorder importsPyfisch2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-15/+15
|
* Format script componentchansuke2018-09-191-35/+56
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-9/+9
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* 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-3/+3
|/
* Implement the form owner conceptMukilan Thiyagarajan2017-03-151-5/+31
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Update to string-cache 0.3Simon Sapin2016-11-031-6/+6
|
* Most of the code refactoring needed to be done is done with this commit.Arthur Marble2016-09-181-4/+4
|
* Refactored metaKey to meta_key where possibleArthur Marble2016-09-171-1/+1
|
* This commit refactors altKey to alt_key when possible.Arthur Marble2016-09-171-1/+1
|
* This commit refactors shiftKey to shift_key where possible.Arthur Marble2016-09-171-1/+1
|
* This commit refactors ctrlKey to ctrl_key wherever possible.Arthur Marble2016-09-171-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-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
|