Commit graph

1855 commits

Author SHA1 Message Date
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
58637a1174 Auto merge of #5433 - dmarcos:issue5290, r=jdm 2015-04-07 18:38:34 -05: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
Anthony Ramine
11b4ff9e94 Use Temporary in ChildElementIterator 2015-04-07 15:46:32 +02:00
Anthony Ramine
bf7c791e3a Hold a Temporary in AncestorIterator 2015-04-07 15:46:31 +02:00
bors-servo
48ee05620d Auto merge of #5536 - jdm:devtools_uint, r=Ms2ger 2015-04-07 08:20:36 -05:00
Anthony Ramine
6a6ecb9afa Hold a Temporary in ReverseChildrenIterator 2015-04-07 14:47:31 +02:00
Anthony Ramine
fc31aef8b4 Add casts to Temporary types 2015-04-07 14:47:31 +02:00
Ms2ger
6b79d57920 When converting a non-finite float, throw the TypeError from the FromJSValConvertible implementation.
This removes some unnecessary custom code in the codegen and makes this
implementation follow the convention of having thrown an exception when
returning Err() from FromJSValConvertible.
2015-04-07 14:16:34 +02:00
Anthony Ramine
5d58dc8f54 Implement NamedNodeMap::getNamedItem*() (fixes #5454) 2015-04-07 13:42:56 +02:00
Ms2ger
e3683c8598 Merge the To/FromJSValConvertible implementations for Finite<T>. 2015-04-07 13:34:06 +02:00
Ms2ger
58a8cfda52 Drop the FromJSValConvertible implementation for interfaces.
It doesn't really fit in the design, and native_from_reflector_jsmanaged has
gained the usability improvements that it used to lack.
2015-04-07 13:11:45 +02:00
bors-servo
7f773d73c4 Auto merge of #5526 - frewsxcv:expect, r=jdm
None
2015-04-07 03:33:11 -05:00
bors-servo
1fd609d198 Auto merge of #5525 - dhodder:master, r=jdm
An empty DOM interface for HTMLDialogElement

r?
2015-04-07 02:50:04 -05:00
bors-servo
45b40d49a5 Auto merge of #5338 - ChrisParis:outerhtml, r=jdm
The first commit refactors the fragment parsing and innerHTML setter. This makes the code mirror the structure of the spec more closely, and also prepares for reusing code with the outerHTML setter.
2015-04-07 01:15:45 -05:00
bors-servo
d0acc33bf2 Auto merge of #5423 - yodalee:issue5397-location-pathname, r=jdm
issue #5397
2015-04-06 23:59:18 -05:00
Chris Paris
f76a137344 Produce output of fragment parsing in &mut RootedVec<JS<Node>> argument 2015-04-06 12:59:54 -10:00
Chris Paris
6422f38574 Remove Root<Node> type annotation in SetOuterHTML
The 'use ... Root' was removed from the file by
another commit, and this annotation wasn't necessary anyway.
2015-04-06 12:59:54 -10:00
Chris Paris
ce16075588 Replace spec quotes with spec step numbers 2015-04-06 12:59:53 -10:00
Aneesh Agrawal
04468a53df Don't consume self when calling root on a Temporary<T>.
Fixes issue #5540.
2015-04-06 18:57:06 -04:00
Chris Paris
d1c5ac31ab unwrap AppendChild result in parse_fragment 2015-04-06 12:56:57 -10:00
Chris Paris
b0ba4d17ee drop try! from parse_fragment 2015-04-06 12:56:56 -10:00
Chris Paris
d83f4d8a6e get rid of and_then in outerHTML setter 2015-04-06 12:56:56 -10:00
Chris Paris
3542360d00 get rid of and_then in innerHTML setter 2015-04-06 12:56:55 -10:00
Chris Paris
cc771fdd68 fragment parsing functions take DOMString instead of HTMLInput 2015-04-06 12:56:55 -10:00
Chris Paris
2cc5bad21e Implement Element.outerHTML setter 2015-04-06 12:56:55 -10:00
Chris Paris
63ced23fca Refactor fragment parsing 2015-04-06 12:54:58 -10:00