Commit graph

2442 commits

Author SHA1 Message Date
Brian Anderson
a875b12c22 Don't use 'select'
The new runtime isn't quite mature enough to deal with it, and this
is faster anyway.
2013-08-15 11:37:10 -06:00
Ilyong Cho
cba0caf7a5 Call old Element::{get, set}_attr() from new Element::{Get, Set}Attribute() 2013-08-15 11:36:15 -06:00
Ilyong Cho
2ad350531a Handle style attributes in element setter instead of html parser 2013-08-15 11:36:15 -06:00
Ilyong Cho
eadda9411b Add get_ref() method to DOMString 2013-08-15 11:36:15 -06:00
Seo Sanghyeon
425e8377c9 Implement clear for floats 2013-08-15 11:30:42 -06:00
Jack Moffitt
034536e531 Update rust-http-client submodule. 2013-08-15 11:25:11 -06:00
Jack Moffitt
dc64121e15 Update rust-http-client to make tests pass. 2013-08-14 13:30:25 -06:00
Jack Moffitt
c88ba4b157 Implement HTMLDListElement binding. 2013-08-14 12:24:27 -06:00
Simon Sapin
b5860f407f Only allow one @charset rule. 2013-08-14 14:17:33 +01:00
Simon Sapin
be51f4fb8f Remove the peekable() overhead in font-family parsing. 2013-08-14 00:30:31 +01:00
Simon Sapin
449683565f Add parsing of supported shorthand properties. 2013-08-13 23:43:42 +01:00
Simon Sapin
3343de55e6 Logic fixes in CSS longhand properties parsing. 2013-08-13 21:13:08 +01:00
Simon Sapin
9ea09f9d0d Parse all longhand properties that Servo seems to support. 2013-08-13 20:17:08 +01:00
Simon Sapin
c1b7e157b7 Update to rustc 0.8-pre (ecfc9a8 2013-08-12 04:29:11 -0700) 2013-08-12 17:08:02 +01:00
bors-servo
33f299c403 auto merge of #713 : saneyuki/servo/canvas, r=jdm 2013-08-10 17:00:27 -07:00
Tetsuharu OHZEKI
35e87d0a99 Clean up importing. 2013-08-11 05:41:24 +09:00
Tetsuharu OHZEKI
b44d4346df Generate bindings for HTMLCanvasElement. 2013-08-11 05:32:53 +09:00
Simon Sapin
70c281fc25 Use a borrowed "device" for Media Queries matching. 2013-08-10 16:46:41 +01:00
Simon Sapin
e1bde72c59 Add a recursive style rule iterator for stylesheets. 2013-08-10 16:27:28 +01:00
Simon Sapin
5758c31df7 Add @media and media type parsing (no Media Queries yet.) 2013-08-10 16:27:06 +01:00
Simon Sapin
9b22acf2f3 Factor out parsing of various types of rules. 2013-08-10 13:22:30 +01:00
bors-servo
0f957c9e22 auto merge of #710 : jdm/servo/titleelem, r=jdm 2013-08-09 13:42:37 -07:00
Yusuke Suzuki
6f2c24eca7 Generate bindings for HTMLTitleElement 2013-08-09 16:41:25 -04:00
bors-servo
2ab430b9b1 auto merge of #711 : jdm/servo/ulist, r=jdm 2013-08-09 12:36:58 -07:00
Youngsoo Son
fa7f367d22 Generate bindings for HTMLUListElement 2013-08-09 15:26:21 -04:00
bors-servo
490e81f75c auto merge of #704 : eric93/servo/parallel-layout-ownedtree, r=pcwalton
Don't do a whole inorder traversal because we can't parallelize that. Parts of this traversal can be bottom-up
2013-08-09 09:42:36 -07:00
bors-servo
96e928a653 auto merge of #709 : jdm/servo/webidl, r=jdm 2013-08-09 09:18:40 -07:00
saneyuki_s
c1f9f43808 Generate bindings for HTMLTextAreaElement. 2013-08-09 12:11:53 -04:00
saneyuki_s
d0e0a16ee6 Generate bindings for HTMLTableRowElement. 2013-08-09 12:01:03 -04:00
Simon Sapin
ff1f4e62ec Add a license (MPL2) and readme. 2013-08-09 16:49:07 +01:00
Simon Sapin
bde1fcc7e9 Parse :nth-child() using an+b parsing from rust-cssparser. 2013-08-09 16:21:28 +01:00
Simon Sapin
1195759e79 Makefile: rebuild when rust-cssparser changes. 2013-08-09 16:17:50 +01:00
bors-servo
ebb4f3b3d1 auto merge of #692 : recrack/servo/brelement, r=jdm 2013-08-09 07:49:39 -07:00
Simon Sapin
cc302053ed Add selector specificity. 2013-08-09 11:54:29 +01:00
Simon Sapin
af2f90fe74 Stop the madness and use cssparser as an external lib / crate.
See mozilla-servo/rust-cssparser@bb35329bd6
and mozilla/rust#7899
2013-08-09 11:54:01 +01:00
Eric Atkinson
eb1b40db13 Don't use a whole in-order traversal for computing heights. 2013-08-09 00:05:31 -07:00
Youngmin, Yoo
bc49686c3b Generate bindings for HTMLBRElement 2013-08-09 15:42:15 +09:00
bors-servo
73e7b6519b auto merge of #705 : sonwow/servo/collection, r=jdm
Simplify some APIs that returns HTMLCollection in `dom::Document`.
In order to do this, `dom::htmldocument::createHTMLCollection` is moved to `dom::document::createHTMLCollection`.
2013-08-08 23:00:38 -07:00
Youngsoo Son
133cf9caf1 Simplify HTMLCollection predicates 2013-08-09 12:54:06 +09:00
bors-servo
1da9f34082 auto merge of #701 : saneyuki/servo/tbody, r=jdm 2013-08-08 16:36:40 -07:00
Simon Sapin
3f6a557578 Mostly complete, untested selector parser. 2013-08-08 23:51:14 +01:00
saneyuki_s
fa395d2b27 Generate bindings for HTMLTableSectionElement. 2013-08-09 05:42:16 +09:00
saneyuki_s
1a3faf8584 Rename HTMLTableBodyElement to HTMLTableSectionElement. 2013-08-09 05:38:55 +09:00
bors-servo
c91359f071 auto merge of #700 : saneyuki/servo/section, r=jdm
This is for these elements which use HTMLElement.
* aside
* section
* b
* i

Do you have any good idea of this commit log?
2013-08-08 11:06:39 -07:00
bors-servo
0d46164b43 auto merge of #675 : eschweic/servo/multi-layer, r=metajack
This refactors the compositor and adds initial support for multiple compositor layers being displayed at once. A new module, `compositor_layer.rs`, does most of the heavy lifting that was once in `mod.rs`.

--- clipped so bors is happy ---
2013-08-08 10:40:14 -07:00
Simon Sapin
9512d13cbb Parse @namespace rules. 2013-08-08 18:38:03 +01:00
eschweic
4b2d7f0901 Update submodule pointers; address nits; add optional page_size 2013-08-08 10:24:42 -07:00
saneyuki_s
9cbaf13334 Bindings for elements that use HTMLElement.
* aside
* section
* b
* i
2013-08-09 01:57:12 +09:00
Simon Sapin
10827f160b Initial pass at a stylesheet and selector parser 2013-08-08 17:13:48 +01:00
bors-servo
a8b03857fc auto merge of #698 : jdm/servo/elements, r=jdm
Rebased from #694.
2013-08-08 08:51:39 -07:00