aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Fix documentation links for EventTargetKeith Yeung2016-01-091-2/+2
|
* Auto merge of #9213 - frewsxcv:broken-link, r=KiChjangbors-servo2016-01-091-1/+1
|\ | | | | | | | | | | | | | | Fix broken spec link in HTMLScriptElement <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9213) <!-- Reviewable:end -->
| * Fix broken spec link in HTMLScriptElementCorey Farwell2016-01-081-1/+1
| |
* | Auto merge of #9188 - frewsxcv:unused-codegen-options, r=Manishearthbors-servo2016-01-092-4/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | Remove unused command-line Python codegen arguments <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9188) <!-- Reviewable:end -->
| * | Remove unused command-line Python codegen argumentsCorey Farwell2016-01-072-4/+0
| | |
* | | Auto merge of #9187 - Ms2ger:script-comments, r=jdmbors-servo2016-01-091-46/+23
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Update specification references and TODO comments in HTMLScriptElement. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9187) <!-- Reviewable:end -->
| * | Update specification references and TODO comments in HTMLScriptElement.Ms2ger2016-01-071-46/+23
| | |
* | | Rename fire_simple_event_params to fire_eventBrandon Fairchild2016-01-075-30/+33
| | | | | | | | | | | | Fixes #9180.
* | | Auto merge of #9184 - servo:clippy, r=frewsxcvbors-servo2016-01-072-4/+3
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Fix some clippy warnings. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9184) <!-- Reviewable:end -->
| * | Use Option::cloned() in HTMLCanvasElement::GetContext().Ms2ger2016-01-071-1/+1
| | |
| * | Remove an unused argument to CustomEvent::init_custom_event.Ms2ger2016-01-071-3/+2
| | |
* | | Auto merge of #9182 - Ms2ger:es-warning, r=Manishearthbors-servo2016-01-071-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Silence a warning in EventSourceReadyState. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9182) <!-- Reviewable:end -->
| * | | Silence a warning in EventSourceReadyState.Ms2ger2016-01-071-0/+1
| |/ /
* / / Changed blob to use DataSlice with Arc in order to limit wasteful copying of ↵David Raifaizen2016-01-065-89/+110
|/ / | | | | | | byte vector
* | Auto merge of #9029 - KiChjang:event-source, r=jdmbors-servo2016-01-073-0/+134
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Implement EventSource and update test expectations Partial #8925. Most of the processing model for `EventSource` are unimplemented because we currently don't have a fetch implementation. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9029) <!-- Reviewable:end -->
| * Implement EventSource and update test expectationsKeith Yeung2016-01-053-0/+134
| |
* | Auto merge of #9119 - TheKK:input_element_size, r=eefriedmanbors-servo2016-01-061-5/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse size attribute of HTMLInputElemnt correctly Should fix #8773 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9119) <!-- Reviewable:end -->
| * | Invalid type attribute for HTMLInputElement now fallback as text type (fixes ↵Ying-Ruei Liang (KK)2016-01-061-5/+10
| | | | | | | | | | | | #8773)
* | | Auto merge of #9161 - frewsxcv:cleanup-match, r=jdmbors-servo2016-01-061-10/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce 'match' body, remove unnecessary clone <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9161) <!-- Reviewable:end -->
| * | | Reduce 'match' body, remove unnecessary cloneCorey Farwell2016-01-051-10/+3
| | |/ | |/|
* | | Auto merge of #9160 - nerith:spec, r=jdmbors-servo2016-01-061-9/+9
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update FileAPI spec links The links in components/script/dom/blob.rs were pointing to the old location. Fixes #9157. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9160) <!-- Reviewable:end -->
| * | Update FileAPI spec linksBrandon Fairchild2016-01-051-9/+9
| |/ | | | | | | | | | | | | The links in components/script/dom/blob.rs were pointing to the old location. Fixes #9157.
* | conversions: Make a `is_type_compatible` method for ArrayBufferViews.Emilio Cobos Álvarez2016-01-042-21/+67
| |
* | conversions: Add a checked version to array_buffer_view_dataEmilio Cobos Álvarez2016-01-043-12/+35
| |
* | conversion: Extrapolate array_buffer_view_dataEmilio Cobos Álvarez2016-01-044-49/+76
| | | | | | | | And use it instead of the raw jsapi calls.
* | webgl: Unify accessing ArrayBufferView objectsEmilio Cobos Álvarez2016-01-041-28/+13
|/ | | | | | | | | | | | This fixes an invalid length being reported from float32_array_to_slice (which used the byte length), and also to generalize getting data from a JS array buffer view, to reduce code duplication. The pending type safety issues, like where we could send a UInt16Array where we expect a Float32 one, should be solved by IDL bindings in some cases, like uniform[n]fv or vertexAttrib[n]fv, and with extra checks in others, like in the pending texImage2D(..., ArrayBufferView).
* Generate PartialEq automaticallyGuillaume Gomez2016-01-038-42/+6
|
* Auto merge of #9137 - iszak:issue-9135, r=noxbors-servo2016-01-031-5/+13
|\ | | | | | | | | | | | | | | Fixes https://github.com/servo/servo/issues/9135 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9137) <!-- Reviewable:end -->
| * Optimise get_root_element for elements in documentsIszak Bryan2016-01-031-5/+13
| |
* | Auto merge of #9136 - frewsxcv:htmlbodyelement-background, r=noxbors-servo2016-01-033-13/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | HTMLBodyElement 'background' attribute improvements <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9136) <!-- Reviewable:end -->
| * | Remove parsed attribute 'background' field on HTMLBodyElementCorey Farwell2016-01-022-18/+20
| | | | | | | | | | | | https://github.com/servo/servo/issues/7863
| * | Implement 'background' IDL attribute on <body>Corey Farwell2016-01-022-1/+12
| |/
* | Auto merge of #9072 - Manishearth:password-placeholder, r=eefriedmanbors-servo2016-01-031-11/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix placeholders for password inputs currently they show dots instead of the placeholder text <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9072) <!-- Reviewable:end -->
| * | Move placeholder logic out of get_raw_textinput_valueManish Goregaokar2016-01-031-12/+19
| | |
| * | Fix placeholders for password inputsManish Goregaokar2015-12-271-6/+6
| | | | | | | | | | | | currently they show dots
* | | Auto merge of #9123 - karyon:clippy_cleanup, r=Manishearthbors-servo2016-01-0321-148/+127
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bunch of clippy lints This fixes about 130 clippy lints. Let me know if i should split up the commit. I wasn't sure about some of the changes, especially map_or instead of map(...).unwrap_or(...) and if let instead of single arm match were not always a strict improvement in my opinion, but i'll leave that decision to the reviewer :) There are about 150 lints left which i thought were clippy bugs or i didn't know how to fix. cc @Manishearth <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9123) <!-- Reviewable:end -->
| * | | Fix a bunch of clippy lintsJohannes Linke2016-01-0221-148/+127
| | | |
* | | | Auto merge of #9082 - nikkisquared:websocket_bufferedamount, r=eefriedmanbors-servo2016-01-032-14/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated WebSocket buffered_amount to match change to html specification The size of WebSocket's buffered_amount was changed[1] after an issue I opened, which I found while working on WebSocket previously[2]. @jdm suggested I make a PR updating Servo reflecting this, and so I have! As always, I'd like to hear any feedback on anything I can do to improve this. [1] https://github.com/whatwg/html/issues/296 [2] https://github.com/servo/servo/pull/8218#issuecomment-152021737 point 5) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9082) <!-- Reviewable:end -->
| * | | | now panics on integer overflowNikki2015-12-301-2/+1
| | | | |
| * | | | added a check for buffer overflowNikki2015-12-291-1/+5
| | | | |
| * | | | updated websocket buffered_amount to be u64 instead of u32Nikki2015-12-292-14/+4
| | | | |
* | | | | Auto merge of #9134 - iszak:issue-9132, r=noxbors-servo2016-01-031-8/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/servo/servo/issues/9132 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9134) <!-- Reviewable:end -->
| * | | | | Use atom's for matching to gain performance benefitsIszak Bryan2016-01-031-8/+8
| | |_|_|/ | |/| | |
* | | | | Auto merge of #9130 - iszak:issue-9081, r=noxbors-servo2016-01-031-0/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/servo/servo/issues/9081 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9130) <!-- Reviewable:end -->
| * | | | Store state of fill or style for canvas patternIszak Bryan2016-01-021-0/+4
| | |/ / | |/| |
* | | | Auto merge of #9122 - ckimes89:inputevent, r=noxbors-servo2016-01-032-37/+43
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 'input' event for HTMLInputElement Fixes #8613 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9122) <!-- Reviewable:end -->
| * | | De-duplicate input event send codeChad Kimes2016-01-022-21/+17
| | | |
| * | | Add 'input' event for HTMLInputElementChad Kimes2016-01-022-27/+37
| | | |
* | | | Auto merge of #9111 - frewsxcv:rm-parsed-attr, r=noxbors-servo2016-01-021-9/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove parsed attribute 'bgcolor' field HTMLTableElement https://github.com/servo/servo/issues/7863 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9111) <!-- Reviewable:end -->
| * | | Remove parsed attribute 'bgcolor' field HTMLTableElementCorey Farwell2015-12-311-9/+6
| | | | | | | | | | | | | | | | https://github.com/servo/servo/issues/7863