bors-servo
8c81d9ab28
Auto merge of #7885 - jimberlage:7858/null-message, r=Ms2ger
...
Creates empty string when passed null
This should fix #7858 . An empty `USVString` is now used when `data` is `None`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7885 )
<!-- Reviewable:end -->
2015-10-09 09:02:45 -06:00
Louis Chan
fb45b0e691
Implement a quota of 5MB per origin for localstorage and sessionstorage
2015-10-09 03:55:27 +08:00
Jim Berlage
0ffd2f636f
Require the argument to WebSocket#send() ( fixes #7858 ).
2015-10-08 12:08:26 -05:00
Corey Farwell
64f4835a4f
Implement <body>'s "text" attribute
2015-10-08 10:55:12 -04:00
Emilio Cobos Álvarez
7030f09823
webgl: Implement WebGLContextEvent and use it on context creation error
...
spec: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.15
2015-10-08 00:29:31 +02:00
Corey Farwell
899f1cab58
Implement HTMLTableCellElement::CellIndex
...
Extracted from #6936
2015-10-06 10:46:02 -04:00
bors-servo
7debfd1f4c
Auto merge of #7683 - frewsxcv:html-font-element-size-attr, r=nox
...
Implement `size` attribute for <font> element
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7683 )
<!-- Reviewable:end -->
2015-10-05 02:33:02 -06:00
Corey Farwell
adbcb5345c
HTMLTableSectionElement improvements
...
'thead' and 'tfoot' now create instances of HTMLTableSectionElement
HTMLTableSectionElement.rows has been implemented
2015-10-03 12:23:22 -04:00
David Zbarsky
4e64ff499b
Implement HTMLTableRowElement::Cells
...
Extracted from #6936
2015-10-01 20:09:48 -04:00
Corey Farwell
74e4c4fdc7
Implement size
attribute for <font> element
2015-09-30 22:51:30 -04:00
bors-servo
8547d132f9
Auto merge of #7745 - frewsxcv:html-option-element-selected, r=nox
...
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 -->
2015-09-28 15:46:48 -06:00
Philipp Hartwig
8d67914c7f
Add form getters for additional elements; update test expectations
...
This adds form getters for fieldset, label, object, output, select and
textarea elements.
2015-09-27 19:08:53 +02:00
Jayflux
e6442767ed
changing test_union.html to union.html fixes #7744
2015-09-27 11:15:48 +01:00
Corey Farwell
dec0031112
Implement <option> 'defaultSelected' and 'selected' attributes
...
Continued from #7743
2015-09-26 15:38:54 -04:00
Corey Farwell
a844b080d6
Imlement 'bgcolor' IDL attrs for table elements
...
The content attributes and presentational hints were implemented in
the #4289 pull request. This just implements the relevant IDL
attributes.
2015-09-26 10:15:58 -04:00
Manish Goregaokar
982e55ac1c
Add better stringifier for DOMException
2015-09-24 11:58:28 +05:30
Manish Goregaokar
b677f0f4ae
Add form getter for input/button elements; update test expectations
2015-09-24 11:58:24 +05:30
bors-servo
4dc986bca3
Auto merge of #7064 - paulrouget:reload, r=Ms2ger
...
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 -->
2015-09-21 09:03:42 -06:00
Corey Farwell
d8da5c20f6
Remove deprecated 'creator' WebIDL attribute
...
According to @Ms2ger, the 'creator' attribute was merged into 'setter'
2015-09-21 07:12:17 -04:00
Corey Farwell
6c6c6663ab
Update spec link to point to exact section
2015-09-21 07:11:58 -04:00
Paul Rouget
c7e5e785b2
implement window.location.reload()
2015-09-21 07:56:33 +02:00
bors-servo
61267cde63
Auto merge of #7601 - nox:cleanup-dom-webidls, r=Ms2ger
...
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 -->
2015-09-19 17:50:22 -06:00
Anthony Ramine
49219baab8
Annotate many DOM attribute and methods with [Constant] and [Pure]
2015-09-19 16:03:13 +02:00
Corey Farwell
3ae76f4e76
Implement <font> 'face' attribute
2015-09-14 20:24:52 -04:00
bors-servo
d5ee58caf2
Auto merge of #7606 - nox:move-typeid, r=jdm
...
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 -->
2015-09-13 11:53:42 -06:00
Anthony Ramine
c25085f68a
Introduce [Abstract] to mark non-leaf interfaces
...
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.
2015-09-13 19:46:28 +02:00
Corey Farwell
fdebd2ae2a
Add obsolete reflecting attributes on <a> and <link>
...
From my understanding, setting any of these will not affect any
presentational hints for the elements
2015-09-13 09:45:02 -04:00
Anthony Ramine
4dbf391e83
Fix NodeIterator.root attributes
...
It should be [SameObject].
2015-09-11 02:57:41 +02:00
Anthony Ramine
d93c8da7d7
Fix Element missing attributes
...
Attributes classList and attributes are [SameObject].
2015-09-11 02:57:24 +02:00
Anthony Ramine
42254bac7e
Fix ParentNode missing attributes
...
ParentNode.children is [SameObject], querySelectorAll() is [NewObject].
2015-09-11 02:57:02 +02:00
Anthony Ramine
a33e5f9179
Fix Node.childNodes attributes
2015-09-11 02:56:45 +02:00
bors-servo
4c64c870c6
Auto merge of #7592 - nox:nonelementparentnode, r=jdm
...
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 -->
2015-09-10 07:29:47 -06:00
Corey Farwell
a4027f0259
Link to Servo issue instead of Gecko bug
2015-09-10 10:54:30 +02:00
bors-servo
c349b7b3a1
Auto merge of #7426 - dzbarsky:surroundcontents, r=glennw
...
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 -->
2015-09-09 21:54:06 -06:00
Anthony Ramine
dc125f9eb1
Implement NonElementParentNode for DocumentFragment
2015-09-10 01:33:13 +02:00
Anthony Ramine
3f5b3053b9
Introduce NonElementParentNode
...
This is the interface where Document.getElementById() belong.
2015-09-10 01:14:26 +02:00
David Zbarsky
3bec4d37dd
Implement Range#surroundContents
2015-09-08 22:01:49 -07:00
bors-servo
5a0be12e43
Auto merge of #7531 - nox:template, r=Ms2ger
...
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 -->
2015-09-08 02:29:00 -06:00
Anthony Ramine
a7476a758e
Bump html5ever to 0.2.4, <template> support!
...
The failing <img> test comes from the now-correct parsing of <font face> elements
in SVG.
2015-09-08 10:28:21 +02:00
Tetsuharu OHZEKI
63627405d9
script: change requestAnimationFrame returns the unsigned long type.
2015-09-04 15:40:30 +09:00
farodin91
f0987380dd
Implement viewport functions for window #1718
2015-09-02 00:40:52 +02:00
bors-servo
347e9b6ef4
Auto merge of #7228 - nox:urlutils-setters, r=jdm
...
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 -->
2015-08-30 12:40:53 -06:00
Anthony Ramine
9c4766bb0d
Implement setters in URLUtils
2015-08-30 19:47:33 +02:00
bors-servo
3062e0c7b1
Auto merge of #7445 - JoshTheGoldfish:Issue6934, r=Manishearth
...
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 -->
2015-08-30 10:19:15 -06:00
erneyja
8d4ed7292d
Implemented onerror event handler for AbstractWorker
2015-08-30 11:37:16 -04:00
Josh Matthews
b62d1a1c43
Add dashed CSS properties to CSSStyleDeclaration.
2015-08-28 13:15:17 -04:00
Josh Matthews
40806977b5
Add infrastructure for supporting dashed CSS property names on CSSStyleDeclaration.
2015-08-28 13:15:16 -04:00
Corey Farwell
bf50145fbd
Implement 'do nothing' methods on Window and Document
2015-08-27 13:13:10 -04:00
bors-servo
a897795dab
Auto merge of #7387 - Yoric:2240-2, r=Ms2ger
...
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 -->
2015-08-27 00:38:46 -06:00
Corey Farwell
6650636063
Mention tracking issue for implementing document.all
2015-08-26 18:19:26 -04:00