Aneesh Agrawal
f3aee90b06
Add Rust code for RangeErrors.
...
Implementation is alongside that of TypeErrors.
Note: the jsapi codes are reused for our own purposes, namely
distinguishing error_numbers in the get_error_message callback. See
comments in components/script/dom/bindings/error.rs for details.
2015-04-10 01:49:14 -04:00
Anthony Ramine
2411d607d4
Cleanup ProcessingInstruction
2015-04-10 00:32:01 +02:00
bors-servo
51dd6984f7
Auto merge of #5611 - nox:cleanup-characterdata, r=Ms2ger
2015-04-09 10:10:20 -05:00
Anthony Ramine
702cea6fc3
Fix CharacterData::SubstringData()
...
It was not following the spec and it could panic.
2015-04-09 16:54:56 +02:00
Anthony Ramine
8f73b452fb
Cleanup access to CharacterData nodes
2015-04-09 16:54:55 +02:00
Anthony Ramine
45b490c977
Generate from_layout_js() conversion methods
2015-04-09 16:54:53 +02:00
Anthony Ramine
c8f41b473c
Remove CharacterData::set_data()
2015-04-09 16:54:52 +02:00
Anthony Ramine
14cd682210
Fix CharacterData annotations
2015-04-09 16:54:51 +02:00
Anthony Ramine
6eb6e386c1
Add links to CharacterData's spec
2015-04-09 16:54:49 +02:00
bors-servo
325899bfad
Auto merge of #5613 - mmatyas:canvas_miterlimit, r=jdm
...
This exposes some other canvas tests which were marked as PASS before. Two strokeRect related tests are fixed by #5612 , and lineCap/lineJoin will have an implementation soon.
2015-04-09 09:37:44 -05:00
bors-servo
bbe1403b27
Auto merge of #5609 - nox:nondocumenttypechildnode, r=jdm
2015-04-09 09:06:57 -05:00
Anthony Ramine
3d68a46fee
Implement NonDocumentTypeChildNode::*ElementSibling()
2015-04-09 15:43:05 +02:00
Mátyás Mustoha
93fa9e607a
Canvas: added miterLimit support.
2015-04-09 13:00:05 +02:00
Mátyás Mustoha
b9244ec1c2
Canvas: moved Rect validation to a common function.
2015-04-09 11:50:31 +02:00
bors-servo
1c09557398
Auto merge of #5606 - Ms2ger:errors, r=jdm
2015-04-08 21:07:18 -05:00
bors-servo
254f2a3b5f
Auto merge of #5599 - servo:textdecoder, r=jdm
2015-04-08 20:00:40 -05:00
bors-servo
9b7bf415d7
Auto merge of #5590 - nox:document-createattributens, r=Ms2ger
2015-04-08 18:55:19 -05:00
bors-servo
656617a91c
Auto merge of #5578 - nox:collect_text_contents-unsound, r=Ms2ger
2015-04-08 16:16:53 -05:00
Ms2ger
f8dec0fe58
Adjust the assertions in throw_dom_exception.
2015-04-08 20:44:49 +02:00
bors-servo
0f0dd02daa
Auto merge of #5575 - nox:namednodemap-remove, r=Ms2ger
2015-04-08 13:22:29 -05:00
bors-servo
ee7d762213
Auto merge of #5563 - mmatyas:canvas_globalalpha, r=jdm
...
A patch somewhat similar to #5562
2015-04-08 11:58:04 -05:00
bors-servo
a745dda863
Auto merge of #5589 - mbrubeck:dirty, r=pcwalton
...
This fixes a bug where styles are not recalculated immediately when an element's hover or focus state changes. I'm not sure how to write an automated test for this. r? @glennw or @pcwalton
2015-04-08 10:36:33 -05:00
Keith Yeung
e2929403ef
Implement TextDecoder#decode.
2015-04-08 16:55:50 +02:00
Keith Yeung
4e5ab24654
Implement TextDecoder ( fixes #4769 ).
2015-04-08 16:52:59 +02:00
bors-servo
188a0e7b94
Auto merge of #5573 - nox:parentnode-attributes, r=Ms2ger
2015-04-08 07:54:13 -05:00
bors-servo
71e07013de
Auto merge of #5564 - Ms2ger:FromJSValConvertible, r=saneyuki
2015-04-08 06:09:56 -05:00
Mátyás Mustoha
5c560397eb
Canvas: added support for the globalAlpha attribute.
2015-04-08 11:49:22 +02:00
Anthony Ramine
2353bc4798
Implement Document::CreateAttributeNS()
2015-04-08 10:22:32 +02:00
Anthony Ramine
7b4f6126c8
Add script::dom::utils::validate_and_extract()
...
Accidentally fixes bugs about Document::createElementNS() where the
implementation of "validate and extract" used to check whether the local name
extracted from the qualified name was "xmlns" instead of the qualified name
itself.
2015-04-08 10:22:30 +02:00
Anthony Ramine
abc01d598a
Add script::dom::utils::validate_qualified_name()
2015-04-08 10:22:28 +02:00
bors-servo
cad27a9d25
Auto merge of #5568 - jdm:net_uint, r=jdm
2015-04-08 01:47:56 -05:00
bors-servo
f57b487e4d
Auto merge of #5562 - mmatyas:canvas_linewidth, r=jdm
...
Rebase of #5488
2015-04-08 00:56:37 -05:00
bors-servo
2089c1f285
Auto merge of #5550 - aneeshusa:fix-issue-5540, r=jdm
...
Fixes issue #5540 .
As far as I can tell this is all that's necessary, but I'm new to Rust, so let me know if I missed something!
2015-04-07 23:04:12 -05:00
bors-servo
017d105361
Auto merge of #5574 - servo:unit-tests, r=jack
...
On my laptop, running `./mach test-unit` goes from about 11 minutes to 22 seconds, when run after `./mach build`.
Fix #5291 .
2015-04-07 21:16:49 -05:00
bors-servo
58637a1174
Auto merge of #5433 - dmarcos:issue5290, r=jdm
2015-04-07 18:38:34 -05:00
Simon Sapin
dc431c9bdb
Move script crate unit tests into the unit_tests crate.
2015-04-08 01:07:53 +02:00
Matt Brubeck
3d7dad2894
Set dirty flag on hover or focus change
2015-04-07 15:54:35 -07:00
Anthony Ramine
eea80034e6
Implement NamedNodeMap::removeNamedItem*()
2015-04-07 22:34:56 +02:00
Anthony Ramine
33f2cd29fd
Implement ParentNode attributes
2015-04-07 22:27:52 +02:00
Josh Matthews
1757afef27
Remove int_uint from net.
2015-04-07 16:13:37 -04:00
Anthony Ramine
7e07dcc7ee
Add missing NewObject annotation in Document
2015-04-07 21:20:57 +02:00
bors-servo
3fb666cf60
Auto merge of #5569 - Ms2ger:object, r=jdm
2015-04-07 13:32:02 -05:00
Anthony Ramine
cdb3efec87
Use a Temporary iterator in Node::collect_text_contents()
2015-04-07 20:27:30 +02:00
Diego Marcos
88954e3e18
Implements drawImage for html image as ImageSource
2015-04-07 11:02:50 -07:00
Anthony Ramine
70ccd8a02a
Rename name in NamedNodeMap::GetNamedItemNS()
2015-04-07 19:02:50 +02:00
bors-servo
184d214e26
Auto merge of #5543 - jagtalon:jag/slashdot, r=jdm
...
Partially fixes #5504 .
Props to @ehegnes and @jdm for the help!
2015-04-07 11:56:50 -05:00
bors-servo
e57630711f
Auto merge of #5541 - nox:node-iterators-temporary, r=jdm
2015-04-07 10:22:10 -05:00
Ms2ger
5570bc3798
Implement support for object in IDL.
2015-04-07 17:05:27 +02:00
bors-servo
e521860a0e
Auto merge of #5490 - nox:namednodemap, r=jdm
2015-04-07 09:31:20 -05:00
Mátyás Mustoha
6da2ce9b1b
Canvas: added lineWidth support.
2015-04-07 16:10:29 +02:00