Maciej Skrzypkowski
6a31a75bc6
Refactoring, added conversion to lowercase for get_attribute_by_name method. ( fixes #5561 )
2015-04-21 16:08:15 +02:00
Corey Farwell
cc4a64e1fe
Add/update comments with links to spec
...
Extracted out of #5649
* add more hyperlinks to associated specification for structs/methods
* follow redirects and update links
* replace broken links
* removal of WHATWG multipage page name since the page name is not
guaranteed to be stable
2015-04-14 18:03:13 -04:00
Mátyás Mustoha
ccfff159e7
Canvas: added lineCap and lineJoin support.
2015-04-14 18:26:41 +02:00
bors-servo
f7c3544d75
Auto merge of #5659 - aneeshusa:add-range-errors-use-for-textencoder-textdecoder, r=jdm
...
Fixes #5620 , and adds a few extra test cases.
Currently waiting on a few upstream PRs in rust-encoding to land.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5659 )
<!-- Reviewable:end -->
2015-04-14 09:44:21 -05:00
Aneesh Agrawal
97301400a5
Throw RangeErrors in TextEncoder/TextDecoder constructors.
...
Fixes #5620 .
Fix the TODOs and FIXMEs to comply with the spec.
Add test case for passing invalid invalid labels.
Update test metadata; three test cases have been resolved upstream and
will be fixed whenever the rust-encoding dependency is sufficiently upgraded.
2015-04-14 09:41:57 -04:00
bors-servo
2dfa28f186
Auto merge of #5674 - nox:get_unsound_ref_forever-misc, r=Ms2ger
2015-04-14 04:56:08 -05:00
Anthony Ramine
3ce368fa28
Remove unnecessary uses of get_unsound_ref_forever()
2015-04-14 11:55:35 +02:00
Ms2ger
49393a8762
Update some URLs.
...
The HTML spec's division into pages is not stable, so it is safer to use the
URL without a specific page (which will redirect).
2015-04-14 10:44:51 +02:00
bors-servo
4997d3a112
Auto merge of #5677 - frewsxcv:https, r=Ms2ger
...
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
2015-04-14 02:57:41 -05:00
bors-servo
b7f59a3646
Auto merge of #5642 - aneeshusa:arc-box-image-to-arc-image, r=Ms2ger
...
Image used to be a trait, but no longer is, so boxing it is no longer
necessary. Fixes #5639 .
2015-04-14 01:57:07 -05:00
bors-servo
4fac8b6810
Auto merge of #5593 - shinglyu:ismap, r=jdm
...
This implements issue 4873
2015-04-14 00:10:08 -05:00
Corey Farwell
5eaa922045
Update WHATWG links to use HTTPS
...
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
2015-04-13 21:34:27 -07:00
Shing Lyu
7a65b95ae5
4873 - Support the image map processing for <img ismap/> inside an <a/>
2015-04-14 10:09:23 +08:00
Chris Paris
61f4fce655
Use NodeFilterConstants from NodeFilterBinding
2015-04-13 13:05:11 -10:00
bors-servo
b9b4389628
Auto merge of #5672 - ChrisParis:nodefilter, r=jdm
2015-04-13 17:18:40 -05:00
Adenilson Cavalcanti
a233cb5ef9
Using unwrap() as suggested in review.
2015-04-13 14:45:14 -07:00
Adenilson Cavalcanti
d2b7cbd4ef
Squashing a few compiler warnings.
2015-04-13 14:25:42 -07:00
Chris Paris
98e2dc5df7
Uncomment NodeFilter constants
2015-04-13 10:13:06 -10:00
bors-servo
1f9c2f9b34
Auto merge of #3726 - ChrisParis:callback-constants, r=jdm
...
This addresses https://github.com/servo/servo/issues/3149 . The immediate purpose is to support the constants in NodeFilter. The changes mostly follow the current Gecko Codegen.py. The main gist is that the generation of certain code artifacts is now gated by hasInterfaceObject() or hasInterfacePrototypeObject(), rather than by isCallback().
2015-04-13 14:34:39 -05:00
Guro Bokum
97714ec5ed
Firefox timeline integration #4957
2015-04-13 21:08:07 +07:00
Anthony Ramine
e20d997b37
Use a simple Temporary value in TreeIterator
2015-04-13 11:01:02 +02:00
Anthony Ramine
c026825e69
Pass a RootedVec to NodeList::new_simple_list()
2015-04-13 11:00:04 +02:00
bors-servo
d2522ea8bf
Auto merge of #5647 - Ms2ger:remove_inline_style_property, r=Manishearth
...
It makes little sense to use map() in a case where we don't care about the
return value.
2015-04-12 13:45:28 -05:00
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