Commit graph

3647 commits

Author SHA1 Message Date
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
Junyoung Cho
6241064681 Generate bindings for HTMLBodyElement 2013-08-08 17:29:33 +09:00
bors-servo
4800ddf742 auto merge of #688 : sonwow/servo/element, r=jdm
Implement `dom::element::Element::TagName` for autogenerate DOM bindings.
2013-08-07 23:03:40 -07:00
bors-servo
ad41c3acfb auto merge of #658 : june0cho/servo/docBindings, r=jdm
Add a getter for document.head and document.title.

Like in the modified test (document.title="changed title"), setters for elements doesn't seem to be called.
2013-08-07 22:27:46 -07:00
Youngsoo Son
cd95636de9 Implement element.tagName 2013-08-08 09:59:28 +09:00
Junyoung Cho
00c3ffb7a4 Add a getter of 'document.head' according to HTML spec.
Add a getter and a setter of 'document.title' according to HTML spec.
Modify the test file.
2013-08-08 09:42:56 +09:00
bors-servo
6ecae7b8db auto merge of #681 : metajack/servo/asymmetric-borders, r=pcwalton 2013-08-07 16:33:32 -07:00
bors-servo
b84552b89d auto merge of #683 : saneyuki/servo/webidl, r=jdm 2013-08-07 10:36:38 -07:00
bors-servo
79bf91999d auto merge of #682 : saneyuki/servo/span-webidl, r=jdm 2013-08-07 10:09:59 -07:00
saneyuki_s
2e3cd1945c Generate bindings for HTMLHRElement. 2013-08-07 22:52:39 +09:00
saneyuki_s
ac4938b7dd Generate bindings for HTMLScriptElement. 2013-08-07 22:22:45 +09:00
saneyuki_s
17542ee14c Generate bindings for HTMLParagraphElement. 2013-08-07 21:23:42 +09:00
saneyuki_s
b5adb37bd2 Generate bindings for HTMLSpanElement 2013-08-07 20:43:03 +09:00
Jack Moffitt
86785d18f4 Implement asymmetric border widths. 2013-08-06 21:03:57 -06:00
bors-servo
b017785aad auto merge of #678 : metajack/servo/style-attributes, r=jdm
If a style attribute is given for a node, it is parsed and attached to the
Element. When selector matching runs on the Element, the style attribute's
stylesheet is passed in.

Fixes #86.
2013-08-06 19:21:32 -07:00
Jack Moffitt
4d71918366 Implement support for style attributes.
If a style attribute is given for a node, it is parsed and attached to the
Element. When selector matching runs on the Element, the style attribute's
stylesheet is passed in.

Fixes #86.
2013-08-06 20:18:03 -06:00
bors-servo
ff9e72a013 auto merge of #679 : jdm/servo/morenodes, r=pcwalton
Nothing too exciting here.
2013-08-06 18:57:35 -07:00
Josh Matthews
8e2c39d2dd Generate bindings for HTMLImageElement. 2013-08-06 21:54:37 -04:00
bors-servo
956646a73d auto merge of #674 : jdm/servo/nodegen, r=kmcallister
The first commit sets up a bunch of the infrastructure required and gets Text nodes onto the generated bindings. The remaining commits generate bindings for and convert selected element types to use them. The last one (HTMLAnchorElement) should be representative of the kind of work required for remaining elements, I've worked out and minimized the repetitive goop that's required.
2013-08-06 16:03:40 -07:00
Josh Matthews
65a33f60e5 Generate bindings for HTMLDivElement, and pass abstract type to methods that need access to the opaque wrappers. 2013-08-06 19:03:09 -04:00
Josh Matthews
08ed6d318e Add missing license header. 2013-08-06 19:00:29 -04:00
Josh Matthews
186bad9924 Remove broken forward declaration. 2013-08-06 17:08:56 -04:00
bors-servo
1337583878 auto merge of #676 : metajack/servo/acid1-all-boxes, r=eric93
This makes acid1 have all 6 boxes show up, and almost correctly positioned.

r? @eric93
2013-08-05 16:54:36 -07:00
Jack Moffitt
3837b9538a Fix the handling of flow_contexts in floats.
The num_floats was hard-coded to 1 and didn't take into account the
children. Also the float context was not being threaded through the children
properly.
2013-08-05 17:24:34 -06:00
Jack Moffitt
9fcf8b4402 Place float children of floats correctly in the flow tree. 2013-08-05 17:23:32 -06:00
bors-servo
63e7866ce3 auto merge of #673 : sanxiyn/servo/clear, r=metajack 2013-08-05 12:30:35 -07:00
eschweic
974ed79144 Refactor compositor; implement compositor iframe support 2013-08-05 11:18:33 -07:00
Josh Matthews
7aa0027384 Generate bindings for HTMLAnchorElement. 2013-08-05 13:18:58 -04:00
bors-servo
e41fdc43f4 auto merge of #672 : jdm/servo/proxysetter, r=metajack
... named getter and setter and indexed getter support, as well as proxy object expandos. Fixes #660.
2013-08-05 10:03:33 -07:00
Josh Matthews
e2468160b5 Generate HTMLHtmlElement bindings. 2013-08-05 11:29:12 -04:00
Josh Matthews
9a545b13c3 Generate bindings for HTMLHeadElement. 2013-08-05 11:29:12 -04:00
Josh Matthews
fd4efad70c Generate bindings for Node, CharacterData, Text, Element, and HTMLElement. Hook up text nodes to use the new bindings. 2013-08-05 11:29:12 -04:00
Seo Sanghyeon
23874eba76 Update submodules 2013-08-05 22:49:09 +09:00
Seo Sanghyeon
a62fae9e62 Implement clear 2013-08-05 19:51:59 +09:00
Josh Matthews
c9bc2046f6 Fill out various proxy binding traps as part of making setters work. Add named getter and setter and indexed getter support, as well as proxy object expandos. Fixes #660. 2013-08-03 13:48:09 -04:00
bors-servo
a4baa7fc6b auto merge of #666 : kmcallister/servo/htmldocument, r=jdm 2013-08-02 10:54:29 -07:00