aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #7745 - frewsxcv:html-option-element-selected, r=noxbors-servo2015-09-281-2/+2
|\ | | | | | | | | | | | | | | | | | | Implement <option> 'defaultSelected' and 'selected' attributes Continued from #7743 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7745) <!-- Reviewable:end -->
| * Implement <option> 'defaultSelected' and 'selected' attributesCorey Farwell2015-09-261-2/+2
| | | | | | | | Continued from #7743
* | Add form getters for additional elements; update test expectationsPhilipp Hartwig2015-09-276-6/+6
| | | | | | | | | | This adds form getters for fieldset, label, object, output, select and textarea elements.
* | changing test_union.html to union.html fixes #7744Jayflux2015-09-271-1/+1
|/
* Imlement 'bgcolor' IDL attrs for table elementsCorey Farwell2015-09-262-2/+2
| | | | | | The content attributes and presentational hints were implemented in the #4289 pull request. This just implements the relevant IDL attributes.
* Add better stringifier for DOMExceptionManish Goregaokar2015-09-241-0/+2
|
* Add form getter for input/button elements; update test expectationsManish Goregaokar2015-09-242-2/+2
|
* Auto merge of #7064 - paulrouget:reload, r=Ms2gerbors-servo2015-09-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement location.reload() This is a naive implementation of `window.location.reload()`. I'd appreciate any feedback. I was wondering if it'd be better to implement `ConstellationMsg::Reload` instead of using `load_url`. Also, what kind of test should I write? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7064) <!-- Reviewable:end -->
| * implement window.location.reload()Paul Rouget2015-09-211-1/+1
| |
* | Remove deprecated 'creator' WebIDL attributeCorey Farwell2015-09-214-5/+5
| | | | | | | | According to @Ms2ger, the 'creator' attribute was merged into 'setter'
* | Update spec link to point to exact sectionCorey Farwell2015-09-211-1/+1
|/
* Auto merge of #7601 - nox:cleanup-dom-webidls, r=Ms2gerbors-servo2015-09-1918-21/+75
|\ | | | | | | | | | | | | | | | | | | Improve DOM interfaces' extended attributes Some should have been `[SameObject]` instead of `[Constant]`. The rest of the changes are additional `[Constant]` and `[Pure]` extended attributes on many operations. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7601) <!-- Reviewable:end -->
| * Annotate many DOM attribute and methods with [Constant] and [Pure]Anthony Ramine2015-09-1918-14/+69
| |
| * Fix NodeIterator.root attributesAnthony Ramine2015-09-111-1/+1
| | | | | | | | It should be [SameObject].
| * Fix Element missing attributesAnthony Ramine2015-09-111-2/+2
| | | | | | | | Attributes classList and attributes are [SameObject].
| * Fix ParentNode missing attributesAnthony Ramine2015-09-111-3/+2
| | | | | | | | ParentNode.children is [SameObject], querySelectorAll() is [NewObject].
| * Fix Node.childNodes attributesAnthony Ramine2015-09-111-1/+1
| |
* | Implement <font> 'face' attributeCorey Farwell2015-09-141-1/+1
| |
* | Auto merge of #7606 - nox:move-typeid, r=jdmbors-servo2015-09-137-3/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the type_id fields to DOMClass Cc @michaelwu. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7606) <!-- Reviewable:end -->
| * | Introduce [Abstract] to mark non-leaf interfacesAnthony Ramine2015-09-137-3/+8
| |/ | | | | | | | | | | | | Some interfaces like Node, CharacterData and HTMLTableCellElement are never instantiated directly, only their descendant interfaces are. Those are marked with [Abstract] to set their type_id to None instead of having dummy values in the TypeId enums.
* / Add obsolete reflecting attributes on <a> and <link>Corey Farwell2015-09-132-7/+7
|/ | | | | From my understanding, setting any of these will not affect any presentational hints for the elements
* Auto merge of #7592 - nox:nonelementparentnode, r=jdmbors-servo2015-09-103-1/+14
|\ | | | | | | | | | | | | | | | | | | Introduce NonElementParentNode This is the interface where Document.getElementById() belong. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7592) <!-- Reviewable:end -->
| * Implement NonElementParentNode for DocumentFragmentAnthony Ramine2015-09-101-0/+1
| |
| * Introduce NonElementParentNodeAnthony Ramine2015-09-102-1/+13
| | | | | | | | This is the interface where Document.getElementById() belong.
* | Link to Servo issue instead of Gecko bugCorey Farwell2015-09-102-2/+4
| |
* | Auto merge of #7426 - dzbarsky:surroundcontents, r=glennwbors-servo2015-09-091-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | Implement Range#surroundContents <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7426) <!-- Reviewable:end -->
| * Implement Range#surroundContentsDavid Zbarsky2015-09-081-2/+2
| |
* | Auto merge of #7531 - nox:template, r=Ms2gerbors-servo2015-09-081-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Implement <template> All tests using iframes can't currently pass, same for innerHTML-related tests with <template> elements. The latter contradicts the spec, see the links below. Apart from this, they work, AFAICT. https://github.com/servo/html5ever/issues/164 https://www.w3.org/Bugs/Public/show_bug.cgi?id=27314 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7531) <!-- Reviewable:end -->
| * Bump html5ever to 0.2.4, <template> support!Anthony Ramine2015-09-081-1/+1
| | | | | | | | | | The failing <img> test comes from the now-correct parsing of <font face> elements in SVG.
* | script: change requestAnimationFrame returns the unsigned long type.Tetsuharu OHZEKI2015-09-041-2/+2
|/
* Implement viewport functions for window #1718farodin912015-09-021-18/+35
|
* Auto merge of #7228 - nox:urlutils-setters, r=jdmbors-servo2015-08-301-19/+11
|\ | | | | | | | | | | | | | | | | | | Implement setters in URLUtils This fixes #6145 and takes care of most of #4250. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7228) <!-- Reviewable:end -->
| * Implement setters in URLUtilsAnthony Ramine2015-08-301-19/+11
| |
* | Auto merge of #7445 - JoshTheGoldfish:Issue6934, r=Manishearthbors-servo2015-08-301-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #6934 - Implement onerror event handler for AbstractWorker Please review. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7445) <!-- Reviewable:end -->
| * | Implemented onerror event handler for AbstractWorkererneyja2015-08-301-1/+1
| |/
* | Add dashed CSS properties to CSSStyleDeclaration.Josh Matthews2015-08-281-0/+104
| |
* | Add infrastructure for supporting dashed CSS property names on ↵Josh Matthews2015-08-281-0/+2
|/ | | | CSSStyleDeclaration.
* Implement 'do nothing' methods on Window and DocumentCorey Farwell2015-08-272-3/+9
|
* Auto merge of #7387 - Yoric:2240-2, r=Ms2gerbors-servo2015-08-271-2/+2
|\ | | | | | | | | | | | | | | | | | | Fixes #2240 - NamedGetter and NamedSetter do not assume that the arg is named `name` I'm not totally sure about how to test this. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7387) <!-- Reviewable:end -->
| * Fixes #2240 - NamedGetter and NamedSetter do not assume that the argument is ↵David Rajchenbach-Teller2015-08-261-2/+2
| | | | | | | | named `name`
* | Mention tracking issue for implementing document.allCorey Farwell2015-08-261-0/+1
|/
* webgl: Implement multiple calls and improve error detectionecoal952015-08-251-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements WebGL's: * cullFace * frontFace * enable * disable * depthMask * colorMask * clearDepth * clearStencil * depthFunc * depthRange * hint * lineWidth * pixelStorei * polygonOffset * texParameteri * texParameterf * texImage2D (partially) It inlines a lot of OpenGL calls to keep the file `components/canvas/webgl_paint_task.rs` as small as possible while keeping readability. It also improves error detection on previous calls, and sets node damage on the canvas in the drawing calls. It adds a `TexImage2D` reftest, even though it's not enabled because: * WebGL paints the image when it loads (asynchronously), so the reftest doesn't wait for it and it finishes early * If we change the source for the base64 src of the image it works as expected in non-headless mode, but the test harness locks
* Auto merge of #7288 - mdibaiee:computedstyle-element, r=Ms2gerbors-servo2015-08-221-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Fix #7268 - getComputedStyle should take `Element`, not `HTMLElement` This is my first patch, I hope I'm doing it right. About the test, do you think this is enough and reliable? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7288) <!-- Reviewable:end -->
| * Fix #7268 - getComputedStyle should take `Element`, not `HTMLElement`Mahdi Dibaiee2015-08-221-2/+1
| |
* | Parse flex-direction CSS property.Kyle Zentner2015-08-211-0/+2
| |
* | Initial implementation of ownPropertyKeys proxy handlerCorey Farwell2015-08-201-0/+1
|/ | | | | | | | | | | Generates `SupportedPropertyNames` on DOM structs that should implement it. Most of them are unimplemented now (which can be implemented in later PRs), with the exception of `HTMLCollection`. Also added a couple relevant WPT tests. Closes #6390 Closes #2215
* Support required dictionary members (fixes #7216)Anthony Ramine2015-08-161-0/+1
|
* Update WebIDL parserAnthony Ramine2015-08-161-20/+60
|
* Auto merge of #7214 - tomjakubowski:websocket-binaryType, r=Ms2gerbors-servo2015-08-151-1/+1
|\ | | | | | | | | | | | | | | | | | | Implement WebSocket#binaryType Closes #7098 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7214) <!-- Reviewable:end -->
| * WebSocket: Implement WebSocket#binaryTypeTom Jakubowski2015-08-151-1/+1
| |