Commit graph

5232 commits

Author SHA1 Message Date
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
saneyuki_s
655bdcc511 Generate bindings for HTMLTableElement. 2013-08-08 11:21:37 -04:00
saneyuki_s
c5125ca5e2 Generate bindings for HTMLStyleElement. 2013-08-08 11:20:02 -04:00
saneyuki_s
fba2cea097 Generate bindings for HTMLMetaElement. 2013-08-08 11:15:42 -04:00
bors-servo
ab2e5b854e auto merge of #697 : jdm/servo/olelement, r=jdm
Rebased for @smellman
2013-08-08 07:36:50 -07:00
Taro Matsuzawa
ca0ae14368 Generate bindings for HTMLOListElement 2013-08-08 10:32:38 -04:00
bors-servo
db55724cd3 auto merge of #686 : jdm/servo/nodesnodesnodes, r=jack 2013-08-08 06:51:57 -07:00
Josh Matthews
ddf4bee6df Generate HTMLIFrameElement bindings. 2013-08-08 09:34:08 -04:00
bors-servo
db9c1b31e3 auto merge of #693 : saneyuki/servo/fix, r=jdm
I forgot to add testcases.
2013-08-08 06:24:45 -07:00
bors-servo
c8be8edbb2 auto merge of #691 : june0cho/servo/genBinding_Body, r=jdm
I commented out the last line of HTMLBodyElement.webidl, 'HTMLBodyElement implements WindowEventHandlers;' in order to avoid compile error.
2013-08-08 05:57:47 -07:00
saneyuki_s
1d5d781448 Add binding test case of HTMLHRElement and HTMLParagraphElement. 2013-08-08 19:13:45 +09:00