Commit graph

4860 commits

Author SHA1 Message Date
Tetsuharu OHZEKI
0de35fdc2f Implement HTMLTableDataCellElement & HTMLTableHeaderCellElement. 2013-10-15 22:37:06 +09:00
bors-servo
74d84ba099 auto merge of #1061 : saneyuki/servo/th, r=larsbergstrom 2013-10-15 04:27:47 -07:00
Tetsuharu OHZEKI
31b873789b Handle th tag as HTMLTableCellElement. #1060 2013-10-15 20:22:32 +09:00
bors-servo
c268417ff1 auto merge of #1048 : ttaubert/servo/documenttype, r=jdm
This should fix #1046.
2013-10-15 00:00:49 -07:00
Tim Taubert
189bb6c95f Remove View type parameter from DocumentType 2013-10-14 17:32:38 -07:00
bors-servo
a3d3337aed auto merge of #1058 : Ms2ger/servo/get_cx-followup, r=jdm
These changes landed in parallel.
2013-10-14 15:30:55 -07:00
bors-servo
ef524aec0d auto merge of #1059 : SimonSapin/servo/newnewcss, r=kmcallister
Some progress on #1006 and #1057.
2013-10-14 14:52:25 -07:00
Simon Sapin
8b0fdf9efd Add CSS parser support for 'vertical-align'. 2013-10-14 21:44:24 +01:00
Simon Sapin
9048bce3be Restore the font shorthand, accidentally dropped in commit 622bc5705c 2013-10-14 21:44:24 +01:00
Simon Sapin
9a0cabb38c Change the range of percentages to 0..1 in specified and computed values. 2013-10-14 21:44:24 +01:00
Simon Sapin
2fe127f880 Add the margin and padding shorthands. 2013-10-14 21:44:24 +01:00
Simon Sapin
e3b536e20d Flat is better than nested. 2013-10-14 21:44:24 +01:00
Simon Sapin
dc882b8ecf Move the content of 'script/style' into the new 'style' crate. 2013-10-14 21:44:24 +01:00
Simon Sapin
c0a5e8f6eb Add a new 'style' crate. (Empty for now.) 2013-10-14 21:44:24 +01:00
Ms2ger
b34432471e Use Window::get_cx() in DocumentFragment::Constructor. 2013-10-14 21:06:00 +02:00
bors-servo
8d3c7a2ded auto merge of #1051 : Ms2ger/servo/private-root, r=jdm
In preparation for removing it as part of making Document a Node.
2013-10-14 10:22:00 -07:00
bors-servo
90baad3fff auto merge of #983 : saneyuki/servo/getid, r=jdm
This has not implemented these features yet:
* Update hashmap which is used for `getElementById()` when updating element attributes.
* Keep node order in tree.

However, this has the quality of that we can use this method for testcases.
2013-10-14 10:01:10 -07:00
bors-servo
5d00b52055 auto merge of #1050 : Ms2ger/servo/get_cx, r=jdm 2013-10-14 09:37:14 -07:00
bors-servo
dc4dc19a43 auto merge of #1044 : Ms2ger/servo/DocumentFragment, r=jdm 2013-10-14 08:49:11 -07:00
bors-servo
72b3c8c317 auto merge of #1043 : kmcallister/servo/misc, r=larsbergstrom 2013-10-14 08:28:11 -07:00
Tetsuharu OHZEKI
db3b5c3c4c Basic Implementation of document.getElementById(), #740 2013-10-15 00:21:13 +09:00
bors-servo
33e938a965 auto merge of #1040 : kmcallister/servo/monocache, r=metajack 2013-10-14 08:07:17 -07:00
bors-servo
999fe2ef82 auto merge of #1054 : sanxiyn/servo/fix-stamp, r=jdm 2013-10-14 07:10:22 -07:00
Tetsuharu OHZEKI
f9be872e61 Pass AbstractNode to Node<ScriptView>.add_to_doc(). 2013-10-14 23:01:03 +09:00
Tetsuharu OHZEKI
75b83e38db Define "isnot()" for script test. 2013-10-14 22:44:46 +09:00
Seo Sanghyeon
f90d12486e Trigger Rust 2013-10-14 20:28:09 +09:00
Seo Sanghyeon
3fa46480e1 Fix parallel build with rust-auto-clean-trigger 2013-10-14 19:13:34 +09:00
Ms2ger
b6b2606c96 Make Document::root private, in preparation for removing it as part of making Document a Node. 2013-10-13 14:08:37 +02:00
Ms2ger
da2cf6cbd7 Implement Window::get_cx() to reduce code repetition. 2013-10-13 12:06:32 +02:00
Ms2ger
f4edbb6b2e Remove some type variables and an explicit dereference. 2013-10-12 16:08:45 +02:00
Ms2ger
438d121cd8 Implement DocumentFragment. 2013-10-12 15:14:09 +02:00
Keegan McAllister
3f11523610 Add CONTRIBUTING.md
Fixes #1026
2013-10-11 16:52:55 -07:00
Keegan McAllister
e0fc4d252e Make rust-png depend on libpng
Fixes #1014.
2013-10-11 16:52:55 -07:00
Keegan McAllister
346591e41a configure: Prevent in-tree builds
Fixes #251.
2013-10-11 16:52:55 -07:00
Keegan McAllister
5289d35145 Fix eviction in MonoCache::find_or_create 2013-10-11 13:50:58 -07:00
bors-servo
fc9fdf30a6 auto merge of #1018 : ttaubert/servo/nodelist, r=jdm
This should fix #652 and #775. I'm not sure if that's all that is needed to properly implement NodeList? Should we add tests somewhere? Sorry for any stupid stuff I might have done :)

r? @jdm
2013-10-11 07:51:59 -07:00
Tim Taubert
9fe9145be4 implement NodeList and consolidate common scope and context retrieval 2013-10-11 07:34:38 -07:00
bors-servo
bc3eeb6f1c auto merge of #1036 : Ms2ger/servo/createComment, r=jdm 2013-10-11 03:53:14 -07:00
Ms2ger
98cdf5c118 Implement Document.createComment. 2013-10-11 12:40:35 +02:00
bors-servo
3690c375cd auto merge of #1037 : kmcallister/servo/data-url, r=jdm 2013-10-11 01:28:08 -07:00
Keegan McAllister
68e4e1c9a2 Add tests for data: URLs 2013-10-10 19:24:57 -07:00
Keegan McAllister
a9ed37189b Comment out some failing tests for now
I'll open a ticket about these and make sure that they and/or the code under
test get fixed eventually.
2013-10-10 18:18:39 -07:00
Keegan McAllister
b33af8852e Fix bitrotten tests 2013-10-10 18:18:39 -07:00
Keegan McAllister
bb4b9d6195 Run tests from non-main crates
Fixes #1035
2013-10-10 18:18:39 -07:00
Keegan McAllister
4bd1ea8760 Makefile: Consolidate lib crate rules 2013-10-10 18:18:39 -07:00
Keegan McAllister
10bc45226d Add a data: URL test page 2013-10-10 18:18:39 -07:00
Keegan McAllister
2aa05e8d23 make_url: Drop whitespace within data: URLs 2013-10-10 18:18:39 -07:00
Keegan McAllister
3824a01dc5 Add support for data: URLs
Fixes #778
2013-10-10 18:18:39 -07:00
Keegan McAllister
f73e48b32f Extract content type and character set from HTTP response headers
We don't use this information anywhere, yet.
2013-10-10 18:18:39 -07:00
Keegan McAllister
ec2111edbf Use rust-http typed headers 2013-10-10 18:18:39 -07:00