aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove some useless Option<T> wrappers from ServoUrl methodsAnthony Ramine2017-03-261-13/+12
|
* Implement the form owner conceptMukilan Thiyagarajan2017-03-151-39/+231
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* An in-memory RNG that shares its file descriptor.Alan Jeffrey2017-01-051-1/+1
|
* Remove and allow some dead code.Ms2ger2016-12-221-4/+2
|
* Remove HeapGCValueAnthony Ramine2016-12-121-2/+2
| | | | | | 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.
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-2/+2
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Auto merge of #13969 - bbansalWolfPack:master, r=jdmbors-servo2016-11-251-7/+38
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | html form validation initial steps with test html file <!-- Please describe your changes on the following line: --> Added code for initial steps in html form validation. 1. Added methods for trait validatable 2. implemented stub methods for elements like HTMLInputElement, HTMLButtonElement, etc <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X ] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13969) <!-- Reviewable:end -->
| * html form validation initial steps with test html file, added stub methods, ↵Bhavya Bansal2016-11-231-7/+38
| | | | | | | | added code to handle validations
* | Remove redundant url clonesPu Xingyu2016-11-181-1/+1
| | | | | | | | | | They are now redundant since now document.url() returns a struct rather than a reference.
* | Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-10/+14
| |
* | Migrate `EventTarget` event firing functions to use `Atom`s.Corey Farwell2016-11-031-4/+4
| | | | | | | | This allows us to utilize more `atom` macros.
* | Remove "fire a simple event" concept, refactor event firing API.Corey Farwell2016-11-031-11/+4
| | | | | | | | | | "fire a simple event" concept was removed in https://github.com/whatwg/html/pull/1933.
* | Update to string-cache 0.3Simon Sapin2016-11-031-21/+21
|/
* Move LoadData to script_traits.Ms2ger2016-10-211-1/+2
|
* Implement "reset algorithm" for `<select>`.Corey Farwell2016-10-191-2/+1
|
* Make make_enumerated_getter prettier again.Corey Farwell2016-10-121-3/+3
| | | | Fixes https://github.com/servo/servo/issues/4723.
* Remove intrinsic Root::r()Anthony Ramine2016-10-111-8/+8
|
* Make TaskSource::queue take a &GlobalScopeAnthony Ramine2016-10-061-2/+1
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-1/+2
|
* script: Fix bogus is_listed_element assertion.Emilio Cobos Álvarez2016-10-021-1/+2
|
* adding macro to return string or url,Jake Goldsborough2016-09-271-2/+2
| | | | | | using that macro with the form action, making the form submit process use base url, adding tests.
* Issue #13350 Report tidy error for space after (Hugo Thiessard2016-09-231-1/+1
|
* Replace current session entry for reloadsConnor Brewster2016-09-191-1/+1
|
* Most of the code refactoring needed to be done is done with this commit.Arthur Marble2016-09-181-4/+4
|
* Use fn pipeline_id consistently, not fn pipelineAneesh Agrawal2016-09-131-1/+1
| | | | | | | | | | | | Consistently use the name 'pipeline_id' to refer to a function that returns an (optional) PipelineId. This was prompted by discovering both fn pipeline and fn pipeline_id doing the same job in htmliframeelement.rs. Note that there is fn pipeline in components/compositing/compositor.rs, but that actually returns an Option<&CompositionPipeline>, not any kind of PipelineId.
* Use Option<T> to return from gettersAnthony Ramine2016-08-301-2/+2
| | | | | This removes the cumbersome &mut bool argument and offers overall a more readable code.
* Add XHR support for FormDataZhen Zhang2016-08-101-70/+73
|
* Add form submission for file type input and related fixingsZhen Zhang2016-08-021-82/+108
|
* Make task queue API usable from non-main threads.Josh Matthews2016-07-141-1/+2
|
* Inline DOM element creation into box expressions in components/script/dom/Kuba Birecki2016-07-141-2/+3
|
* Move boxing to runnable initializationConnor Brewster2016-07-131-1/+1
|
* Make all task source runnables cancellableConnor Brewster2016-07-131-3/+2
| | | | Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable
* Add event runnablesConnor Brewster2016-07-111-1/+1
| | | | Make tasks a wrapper over runnables
* add Runnable::name() implementation for PlannedNavigation resolve #12333sappharx2016-07-101-0/+2
|
* Combined DOMManipulationTask runnable variants into a single variantConnor Brewster2016-07-061-2/+1
|
* Auto merge of #12258 - izgzhen:remove-data-slice, r=Manishearthbors-servo2016-07-051-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove DataSlice, fix #12249 r? @Manishearth --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #12249 <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12258) <!-- Reviewable:end -->
| * Remove DataSlice, fix #12249Zhen Zhang2016-07-051-2/+2
| |
* | Move util::str to styleAnthony Ramine2016-07-051-1/+1
|/
* indexed getter of form elementsmrmiywj2016-06-141-0/+7
|
* Stop re-exporting AttrValue.Ms2ger2016-06-071-1/+1
|
* delete suffixesRafael Quintero2016-06-041-8/+8
| | | | | | | | delete suffixes for variants SubmittedFrom, ResetFrom delete suffixes for variants SubmittedFrom, ResetFrom
* Clean up DOMManipulationTaskSourceKeith Yeung2016-06-021-0/+1
|
* Add file backend support for Blob and relatedZhen Zhang2016-06-011-4/+10
| | | | | | | | Changes include: - Add BlobImpl to Blob, and related caching mechanism - Expose ResourceThreads to document_loader, workerglobalscope, worker, and global - Fix encode_multipart_form_data - Other small fixes to accommodate the above changes
* Move DOMString back to scriptAnthony Ramine2016-05-241-2/+3
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Auto merge of #11333 - Manishearth:submit-submit-button, r=noxbors-servo2016-05-231-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include <button type=submit> data whilst constructing the form dataset This makes it possible to close things in github (see https://github.com/Manishearth/mitochondria/issues/1) - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors Either: - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11333) <!-- Reviewable:end -->
| * Include <button type=submit> data whilst constructing the form datasetManish Goregaokar2016-05-231-1/+6
| |
* | Implement file-type functionalities in htmlinputelement and relatedZhen Zhang2016-05-231-1/+1
|/ | | | | | | | Changes include: - Implement file selection and other DOM behaviours in htmlinputelement - Integrate IpcSender<FileManagerThreadMsg> into ResourceThreads - Improve filemanager_thread, including adding type_string field to SelectedFile - Improve interfaces in FileList/File/Blob to accommodate the above changes
* Removed unused importsPer Lundberg2016-05-151-1/+0
| | | | This fixes #11185.
* Implement text/plain form encodingKeith Yeung2016-05-111-2/+35
|