Commit graph

1397 commits

Author SHA1 Message Date
bors-servo
b019df8927 Auto merge of #5633 - jdm:codegencleanup, r=Ms2ger
r? @Ms2ger
2015-04-12 03:37:05 -05:00
Chris Paris
d2b0d5e040 Support callback interfaces with constants. 2015-04-11 09:34:44 -10:00
Ms2ger
bbe494acde Use if let remove_inline_style_property.
It makes little sense to use map() in a case where we don't care about the
return value.
2015-04-11 21:30:56 +02:00
Chris Paris
f51218eb20 Fix typo in NodeFilter.webidl 2015-04-10 18:38:09 -10:00
Aneesh Agrawal
5b593a3d32 Switch Arc<Box<Image>> to Arc<Image> for perf boost.
Image used to be a trait, but no longer is, so boxing it is no longer
necessary.
2015-04-10 18:59:02 -04:00
Matt Brubeck
4e63a5063e Don't allow disabled fields to be focused 2015-04-10 10:16:06 -07:00
Josh Matthews
9619390ece Clean up CGImports a bit more. 2015-04-10 10:31:44 -04:00
Ms2ger
d46db6d7f1 Resume tracing our collections of roots.
The second JS_SetExtraGCRootsTracer call clobbered the first, so
trace_collections was no longer being called.
2015-04-10 14:53:18 +02:00
bors-servo
ec417a84b1 Auto merge of #5621 - frewsxcv:more-spec, r=jdm
None
2015-04-10 05:44:35 -05:00
bors-servo
7d3ba8c7e2 Auto merge of #5617 - nox:wholetext, r=jdm 2015-04-10 05:13:53 -05:00
Anthony Ramine
890d902d6a Implement Text::wholeText 2015-04-10 11:46:30 +02:00
Anthony Ramine
9cee765c96 Add NodeHelpers::inclusively_preceding_siblings() 2015-04-10 11:46:29 +02:00
bors-servo
596091e32c Auto merge of #5619 - jdm:bindglob, r=Manishearth
r? @Ms2ger
2015-04-10 04:41:46 -05:00
bors-servo
c9a413cb6e Auto merge of #5622 - pgonda:NodeChildrenIterator-to-NodeSiblingIterator, r=jdm 2015-04-10 04:10:02 -05:00
Ms2ger
839830d1d8 Fix typo in the substringData implementation. 2015-04-10 09:21:55 +02:00
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
Peter
e7c11f7062 Updated fix #5616, also renamed RevsereChildrenIterator to ReverseSiblingIterator 2015-04-09 16:27:25 -04:00
Peter
1511d7a2ad Resvoled merge conflict 2015-04-09 16:07:10 -04:00
Corey Farwell
82335a1904 Spec links for script::dom::element & script::dom::event 2015-04-09 10:16:10 -07:00
Josh Matthews
81ba72d99c Remove glob import from generated bindings. Fixes #1788. 2015-04-09 12:56:29 -04: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
Peter
0eace5bed8 Renaming NodeChildrenIterator to NodeSiblingIterator, fix #5616 2015-04-09 10:41:02 -04: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