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
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
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
Matt Brubeck
791fa3757d
Implement the :focus pseudo-class selector
...
Fixes #5460 . This supports for simple focusable elements that are their own
DOM anchors, like text `input` fields.
2015-04-04 10:57:11 -07:00
Matt Brubeck
ad6c511a5e
Basic element.focus and blur methods
...
Fixes #5462 .
2015-04-04 10:57:11 -07:00
bors-servo
8758d7d11a
auto merge of #5522 : servo/servo/console-variadic, r=Manishearth
2015-04-04 09:48:52 -06:00
Anthony Ramine
d3d12e6324
Make attributes lose their owner when removed
2015-04-04 17:39:39 +02:00
Bogdan Cuza
c8c79624bd
Support any number of arguments to console methods ( fixes #5495 ).
2015-04-04 17:34:05 +02:00
bors-servo
4ffeb81aa7
auto merge of #5385 : genkku/servo/placeholder, r=jdm
...
I'm unsure whether I should wrap 'placeholder' in Cell, or DomRefCell, or leave as it is now.
Also, the spec says that the placeholder should be presented with line breaks stripped off,
should it be done in this stage?
2015-04-04 08:24:48 -06:00
Mikko Vanhatalo
29387f6c4c
Implemented HTMLInputElement placeholder attribute
...
+ modified HTMLInputElement.webidl to include placeholder
+ modified placeholder test expectations
2015-04-04 14:44:32 +03:00
James Graham
db104b738e
Return correct exit codes.
2015-04-03 23:51:49 +01:00
James Graham
e31744e48e
Better check that required modules are installed
2015-04-03 23:29:22 +01:00
James Graham
6b8aaf3c57
Update the README files to reflect the changes to the update procedure.
2015-04-03 23:29:22 +01:00
James Graham
d27cda44ce
Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
2015-04-03 23:29:21 +01:00
James Graham
92b8d158da
Update web-platform-tests expected data to revision 0d318188757a9c996e20b82db201fd04de5aa255
2015-04-03 23:29:20 +01:00
James Graham
2c9faf5363
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
2015-04-03 23:29:19 +01:00
James Graham
1a81b18b9f
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
2015-04-03 23:28:54 +01:00
James Graham
b2a5225831
Add support for running W3C CSS tests.
...
These are run through the same harness as the web-platform-tests.
2015-04-03 23:28:51 +01:00
James Graham
2bde318d24
Make the test-wpt mach command support all the command line arguments of wptrunner.
...
Also remove the shell script and ensure that default options are set in a single location
2015-04-03 23:28:51 +01:00
James Graham
0a7429f147
Put a copy of the wpt upstreaming scripts in-tree.
...
This is copied from gecko, which is slightly unfortunate. However it allows
committing changes to wpt directly in-tree and having them upstreamed in the
next update.
2015-04-03 23:28:51 +01:00
James Graham
168b81773e
Put a copy of the wptrunner harness in-tree.
...
This is the same configuration as gecko and is convenient for making changes compared
to using releases from pypi
2015-04-03 23:28:51 +01:00
James Graham
f7ff2aa558
Put a copy of mozlog in the tree.
...
This is required to import the command line options for the wpt tests from the harness
2015-04-03 23:28:51 +01:00
James Graham
93fd41df39
Remove web-platform-tests submodule
2015-04-03 23:28:51 +01:00
bors-servo
00145d8c4e
auto merge of #5514 : mbrubeck/servo/warnings, r=larsbergstrom
2015-04-03 14:48:47 -06:00
Matt Brubeck
61ea02d0bf
Fix warnings when building tests
2015-04-03 13:33:57 -07:00
bors-servo
036b3eaa04
auto merge of #5511 : Ms2ger/servo/int, r=jdm
2015-04-03 13:54:46 -06:00
bors-servo
d707d1b78e
auto merge of #5465 : gilles-leblanc/servo/issue-4476-b, r=jdm
...
Fixes #4476
2015-04-03 13:00:46 -06:00
Ms2ger
c2e81be8a5
Stop using int/uint in script.
2015-04-03 20:47:53 +02:00
Manish Goregaokar
51625d7d06
Fix gonk net_traits dependencies
...
Issue #4476
2015-04-03 13:43:16 -04:00
Gilles Leblanc
ba36a108c1
Split out shared networking code into net_traits crate
...
Fixes #4476
2015-04-03 13:38:10 -04:00
bors-servo
74f8c0eeb7
auto merge of #5502 : Ms2ger/servo/impl-send, r=jdm
...
This impl made it possible to put raw pointers in ConstellationControlMsg and
send them across threads without considering the consequences.
This required making SmallVec1<T> Send if T is Send.
2015-04-03 09:48:42 -06:00
bors-servo
539c85f5ec
auto merge of #5501 : Ms2ger/servo/docs, r=jdm
...
Most of this documentation is based on
<https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings >.
2015-04-03 08:24:41 -06:00
Ms2ger
eefb0773a0
Remove the unsafe impl Send for ConstellationControlMsg.
...
This impl made it possible to put raw pointers in ConstellationControlMsg and
send them across threads without considering the consequences.
This required making SmallVec1<T> Send if T is Send.
2015-04-03 13:32:51 +02:00
Ms2ger
02be76bd48
Merge pull request #5492 from Ms2ger/MouseButton
...
Introduce a MouseButton enum.
2015-04-03 13:29:12 +02:00
bors-servo
40fab8e362
auto merge of #5470 : bjwbell/servo/tab-in-pre, r=mbrubeck
...
Display tab characters as 4 spaces for pre and other elements that don't
compress whitespace.
Fixes https://github.com/servo/servo/issues/4651
@pcwalton r?
2015-04-03 04:18:42 -06:00
Ms2ger
03c526dd20
Add more documentation about the DOM bindings.
...
Most of this documentation is based on
<https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings >.
2015-04-03 11:33:53 +02:00
Bryan Bell
29852bb111
Show tabs in pre elements
...
Display tab characters as 8 spaces for pre and other elements that don't
compress whitespace.
2015-04-02 22:15:39 -07:00
bors-servo
c38d9ba6b9
auto merge of #5484 : frewsxcv/servo/document-cleanup, r=Ms2ger
...
* Add whatwg spec links for some Document methods
* Wrap some lines that exceed 100 characters
* Other misc cleanup/refactoring
2015-04-02 22:45:41 -06:00
Ms2ger
8e0ce3d14f
Stop using int/uint in compositing.
2015-04-03 01:24:48 +02:00
Ms2ger
6b127a8df8
Introduce a MouseButton enum.
2015-04-03 01:24:33 +02:00
bors-servo
e4da29b28b
auto merge of #5491 : ChimeraCoder/servo/fix-issue-5466, r=Manishearth
...
@kenpratt and I moved the URL and IFrame fields from Reflow to LayoutTask, as described in #5466 .
This is my first attempt at Rust, so let me know how this is!
2015-04-02 14:18:42 -06:00
aditya
a3eaacccf6
Move iframe and url fields from Reflow to LayoutTask and LayoutTaskFactory
...
* Fix #5466
2015-04-02 16:09:48 -04:00
Corey Farwell
c90e8c19cd
Improvements, cleanup for script::dom::document
...
* Add whatwg spec links for some Document methods
* Wrap some lines that exceed 100 characters
* Other misc cleanup/refactoring
2015-04-02 11:52:34 -07:00
bors-servo
85808c1cdd
auto merge of #5425 : pcwalton/servo/optimize-rooting, r=Ms2ger
...
This was showing up very high in instruction-level profiling.
r? @jdm
2015-04-02 10:51:40 -06:00
Patrick Walton
d1c13faf4b
script: Optimize JS rooting to not move the entire Root
struct from
...
the stack to the return out-pointer.
This was showing up very high in instruction-level profiling.
2015-04-02 09:03:45 -07:00