Commit graph

4860 commits

Author SHA1 Message Date
Ms2ger
bf73a47ce0 Reimplement SetAttribute. 2014-04-08 20:17:15 +02:00
Ms2ger
883d67882a Move SetAttributeNS onto JS<Element>. 2014-04-08 20:16:55 +02:00
Ms2ger
b19165e9e1 Move SetAttribute onto JS<Element>. 2014-04-08 20:16:55 +02:00
Ms2ger
3347c3ef80 Split out a do_set_attribute method. 2014-04-08 20:16:55 +02:00
bors-servo
6b1799caa3 auto merge of #2063 : lpy/servo/issue2059, r=Ms2ger
see #2059
2014-04-08 11:37:09 -04:00
bors-servo
aa36ae62cd auto merge of #2058 : jdm/servo/rmcrust, r=Ms2ger 2014-04-08 11:13:12 -04:00
bors-servo
51ff762bc5 auto merge of #1917 : lpy/servo/issue1822, r=jdm
see #1822
2014-04-08 10:49:14 -04:00
bors-servo
384183a31f auto merge of #2040 : SimonSapin/servo/fontconfig-compile, r=jdm
This of course depends on https://github.com/mozilla-servo/fontconfig/pull/1 being merged.
2014-04-08 10:25:18 -04:00
Josh Matthews
b87d351fee Remove all traces of C wrappers for SpiderMonkey class stubs. 2014-04-08 10:15:12 -04:00
lpy
77941dc996 Move Node.namespaceURI to Element.(fixes #2059) 2014-04-08 22:13:28 +08:00
bors-servo
c02328bea1 auto merge of #2062 : j3parker/servo/issue346-reftest, r=jdm
ref-test for #346
2014-04-08 10:01:24 -04:00
lpy
50aea70f98 Make sure getElementById always returns the first element with the given ID in tree order.(fixes #1822) 2014-04-08 12:21:58 +08:00
Jacob Parker
62227009b0 Add reftest for setAttribute restyling 2014-04-07 23:18:13 -04:00
Sankha Narayan Guria
58e5feca9f HTMLImageElement attribute getters and setters 2014-04-08 08:44:38 +05:30
bors-servo
7541b57526 auto merge of #2051 : Ms2ger/servo/more-xray, r=jdm
On top of #2050
2014-04-07 13:01:16 -04:00
bors-servo
a65ff6089a auto merge of #2048 : Ms2ger/servo/set_uint_attribute, r=jdm 2014-04-07 12:34:18 -04:00
bors-servo
f9c9e62340 auto merge of #2053 : Ms2ger/servo/createElementNS, r=jdm
#1391 rebased
2014-04-07 11:43:22 -04:00
bors-servo
3d1a4324b7 auto merge of #2057 : Ms2ger/servo/evaluate_script, r=jdm 2014-04-07 11:19:26 -04:00
Ms2ger
9ada80e4c0 Handle an exception from cx.evaluate_script more gracefully. 2014-04-07 17:05:59 +02:00
bors-servo
bf405ac81f auto merge of #2055 : Ms2ger/servo/trws, r=jdm
Done with `git ls-tree --name-only -r HEAD . | grep "\.rs" | xargs sed -i 's/\s\+$//g'`
2014-04-07 10:52:26 -04:00
Ms2ger
4e34fcd264 Remove trailing whitespace. 2014-04-07 11:41:58 +02:00
Daniel Glazman
4b0da08573 Implement Document.createElementNS. 2014-04-07 10:20:10 +02:00
Ms2ger
2e2a39b8d5 Remove some more xray code. 2014-04-06 23:08:54 +02:00
bors-servo
86c83f7bfc auto merge of #2050 : sankha93/servo/rmxray, r=Ms2ger 2014-04-06 17:04:26 -04:00
Sankha Narayan Guria
9a4bec304f Remove XRay related stuff from codegen (fixes #1936) 2014-04-07 02:27:53 +05:30
bors-servo
68385dfde6 auto merge of #2049 : Ms2ger/servo/enum-jsval, r=jdm 2014-04-06 15:31:30 -04:00
Ms2ger
a52cffebeb Use ToJSValConvertible to convert nullable enums to JSVal. 2014-04-06 19:51:12 +02:00
Ms2ger
ccaa46e4a3 Use ToJSValConvertible to convert enums to JSVal. 2014-04-06 19:42:39 +02:00
Ms2ger
9a909229e3 Remove EnumEntry, as Rust already provides O(1) access to the string length. 2014-04-06 19:16:24 +02:00
Ms2ger
3e0d4a2509 Move all the generated code for enums into CGEnum. 2014-04-06 19:06:58 +02:00
Ms2ger
bb732ef4e6 Introduce a set_uint_attribute method. 2014-04-06 14:19:30 +02:00
lpy
ce363ba43a Make box_ not Option in block flows.(fixes #2012) 2014-04-06 19:24:31 +08:00
Manish Goregaokar
c397c5233d fix visibility warnings in script crate (#2044) 2014-04-06 02:53:55 +05:30
Manish Goregaokar
57f63b350e fix visibility warnings in main crate (#2044) 2014-04-06 02:53:33 +05:30
bors-servo
4386bae576 auto merge of #2034 : saneyuki/servo/timer, r=jdm
Now, our rust compiler has `std::io::timer`!
2014-04-05 06:46:27 -04:00
bors-servo
44e7e365c9 auto merge of #2043 : Manishearth/servo/case-insen, r=Ms2ger
(See https://github.com/mozilla/servo/pull/1968)
2014-04-05 05:01:30 -04:00
Manish Goregaokar
05e793f4fb make attr getters/setters case insensitive (#1962) 2014-04-05 14:11:33 +05:30
bors-servo
2a5f82a764 auto merge of #2032 : brunoabinader/servo/html-whitespace, r=Ms2ger
Specs:
http://dom.spec.whatwg.org/#concept-ordered-set-parser
http://encoding.spec.whatwg.org/#ascii-whitespace

This PR implements the HTMLSpaceCharSplits iterator, used to split a string in a subset of strings separated by valid HTML space characters. Its first usage is upon splitting ```class``` attribute values.

Closes #1840.
2014-04-05 04:04:34 -04:00
bors-servo
0f0b0b33bf auto merge of #2038 : SimonSapin/servo/min-height-collapse, r=pcwalton
[Relevant spec](http://dev.w3.org/csswg/css2/box.html#collapsing-margins):

> top and bottom margins of a box that does not establish a new block formatting context and that has zero computed 'min-height', zero or 'auto' computed 'height', and no in-flow children
2014-04-04 23:04:37 -04:00
Tetsuharu OHZEKI
7019ba1bc8 Use std::io::timer instead of servo_util::time::Timer. 2014-04-05 10:50:27 +09:00
bors-servo
e3cc46a782 auto merge of #2042 : SimonSapin/servo/silence-ua-stylesheet, r=jdm
r? @Ms2ger
2014-04-04 21:01:43 -04:00
bors-servo
ef5567b585 auto merge of #1994 : hyunjunekim/servo/try, r=jdm
#1991
2014-04-04 20:01:47 -04:00
bors-servo
83aabe327d auto merge of #2041 : mozilla/servo/rustup_20140321b, r=larsbergstrom 2014-04-04 18:52:50 -04:00
Josh Matthews
4b8254f32b Fix tests. 2014-04-04 18:45:43 -04:00
Ms2ger
ebc51c268a Update to merged commits in submodules. 2014-04-04 22:11:14 +02:00
Ms2ger
fb09979502 Address review comments. 2014-04-04 21:30:33 +02:00
Simon Sapin
ac2b7c6700 Fix the silencing of CSS errors in the UA stylesheet. 2014-04-04 19:53:14 +01:00
Ms2ger
31eee791dd Upgrade rust. 2014-04-04 20:10:32 +02:00
Simon Sapin
a24e52ae99 Update fontconfig submodule for https://github.com/mozilla-servo/fontconfig/pull/1
This of course depends on https://github.com/mozilla-servo/fontconfig/pull/1 being merged.
2014-04-04 18:45:21 +01:00
Simon Sapin
3a829d084d 'min-height' can prevent margin collapsing through an element, like 'height' 2014-04-04 18:24:37 +01:00