Commit graph

9748 commits

Author SHA1 Message Date
Tim Cuthbertson
2de05450df wpt: Update "running the tests manually" instructions 2015-04-07 16:51:11 +10: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
Xue Fuqiao
2b95c4d33c Update CONTRIBUTING.md
Update the URI of Rust Code of Conduct.
2015-04-07 12:54:53 +08:00
bors-servo
1f57c6d74a Auto merge of #5415 - jdm:webdriver, r=jdm
Requires https://github.com/jgraham/webdriver-rust/pull/6.
2015-04-06 22:09:44 -05:00
Patrick Walton
e10af4fc98 layout: Correctly take the inline size of cleared floats into account
when estimating the inline size of block formatting contexts.

The speculated inline-size of the preceding floats was forced to zero at
the wrong time if the float was itself cleared, causing it to overwrite
the speculated value. Shuffling the code around a bit fixes the problem.
2015-04-06 17:59:14 -07:00
Josh Matthews
a3201bc1ac Enable optional mime sniffing, and integrate it with the file loader. 2015-04-06 20:19:30 -04:00
Jag Talon
f9817da0c4 net/storage_task.rs: Fix remove_item
Use `and_then` and remove `unwrap` instead of using a `map` as described in https://github.com/servo/servo/issues/5548#issuecomment-90254644.
2015-04-06 19:47:20 -04:00
Josh Matthews
2d730f2ae9 Remove the sniffer task. 2015-04-06 19:31:53 -04:00
Nathan Climer
44930b0fb0 Implement MIME sniffing. 2015-04-06 19:01:59 -04: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
Josh Matthews
5728799479 Get the barest bones of webdriver integration ready for keeners. 2015-04-06 18:22:32 -04:00
Corey Farwell
2a01cec521 Utilize Option::expect 2015-04-06 14:06:05 -07:00
Jag Talon
6e013d3c9c RootCollection: Start using RootedVec instead of SmallVec32.
dom/bindings/js.rs: Alphabetize `use`.

dom/bindings/js.rs: moved `unsafe` block to a let binding.

dom/bindings/trace.rs: rename alternate constructor of RootedVec.

dom/bindings/trace.rs: `new()` is now using `new_with_destination_address()` internally.

dom/bindings/js.rs: alphabetize imports.
2015-04-06 16:36:10 -04:00
Anthony Ramine
de97b98c14 Add missing items to NamedNodeMap 2015-04-06 22:27:00 +02:00
Anthony Ramine
fbe2e4b626 Add dom::bindings::error::Error::InUseAttribute 2015-04-06 22:27:00 +02:00
bors-servo
3c5c2f416b Auto merge of #5529 - ehegnes:issue-5521, r=jdm
Fixes #5521
2015-04-06 15:16:39 -05:00
bors-servo
c070ad6196 Auto merge of #5535 - Ms2ger:int-net, r=jdm 2015-04-06 13:17:40 -05:00
Matt Brubeck
32e5679175 mach test-unit -p should not build all tests
This changes the `mach test-unit -p foo` command to build only the requested
crate, not the entire `servo` crate.
2015-04-06 10:54:14 -07:00
Matt Brubeck
910869f63c Change mach test-unit parameter from -c to -p
For consistency with Cargo params, and related mach commands like
`mach update-cargo`.  The `-c` version is still available as an alias for
compatibility with old scripts.
2015-04-06 10:54:13 -07:00
bors-servo
8d1a6c45f6 Auto merge of #5503 - nox:cleanup-attributes, r=Manishearth
This makes all tests in attributes.html pass.
2015-04-06 12:36:09 -05:00
bors-servo
5765930892 Auto merge of #5534 - servo:Manishearth-patch-1, r=larsbergstrom
mostly a test for homu
2015-04-06 11:46:22 -05:00
Josh Matthews
6328946434 Remove int/uint from devtools/devtools_traits. 2015-04-06 10:14:57 -04:00
bors-servo
92b6a0b8e0 auto merge of #5531 : Ms2ger/servo/int, r=jdm 2015-04-06 09:09:52 -05:00
Ms2ger
b50b21d1da Stop using int/uint in net_traits. 2015-04-06 16:08:53 +02:00
bors-servo
a277036dd9 auto merge of #5518 : thiagopnts/servo/devtools-chan-helper, r=jdm
The notification for new globals now works for nested workers too (refs #5309)
2015-04-06 08:18:50 -05:00
Anthony Ramine
561ec7e21d Rename many name arguments to local_name 2015-04-06 14:31:28 +02:00
Anthony Ramine
254207730e Make Element::get_attribute() take its namespace by reference 2015-04-06 14:31:27 +02:00
Anthony Ramine
dd88bcddc4 Fix Element::RemoveAttribute*() 2015-04-06 14:12:56 +02:00
Anthony Ramine
c557736d26 Fix xml_name_type()
Names with a trailing colon are not qualified names.
2015-04-06 14:12:20 +02:00
Anthony Ramine
1906f835b9 Fix Element::GetAttribute()
Local names should not be used to get a attribute without providing a namespace.
2015-04-06 14:12:20 +02:00
thiagopnts
ea5c702f4a Add devtools_chan method to GlobalRef and make new globals notifications work with nested workers
fixup! Add devtools_chan method to GlobalRef and make new globals notifications work with nested workers

fixup! Add devtools_chan method to GlobalRef and make new globals notifications work with nested workers
2015-04-06 00:54:16 -03:00
Manish Goregaokar
c7f1ce69cd Mention Gonk 2015-04-05 23:08:02 +05:30
Ms2ger
9aa9a3b8fd Stop using int and uint in style. 2015-04-05 19:13:01 +02:00
Dave Hodder
d00b9b2fef Add basic HTMLDialogElement interface 2015-04-05 13:48:48 +01:00
bors-servo
f22d920b4d auto merge of #5524 : servo/servo/attributes-ownerElement, r=Manishearth 2015-04-05 05:54:53 -06:00
bors-servo
425b2be04f auto merge of #5530 : nmzaheer/servo/updateSpecLinks, r=saneyuki
I have update the spec links as given in the comments. Hope i've done it right
2015-04-05 04:48:48 -06:00
Muhammad Zaheer
c37a34234a Update the spec links in domexception.rs (fixes #5528) 2015-04-05 12:06:24 +02:00
Eric Hegnes
e398725242 Consistently name enum members in dom::bindings::error::Error
Fixes #5521
2015-04-05 00:09:40 -04:00
bors-servo
b63fb0c0a7 auto merge of #5461 : mbrubeck/servo/focus, r=jdm
Fixes #5460. This supports for simple focusable elements that are their own DOM anchors, like text `input` fields.

Requires servo/rust-selectors#20.  r? @SimonSapin
2015-04-04 18:21:48 -06:00