Commit graph

106 commits

Author SHA1 Message Date
Yusuke Suzuki
6f2c24eca7 Generate bindings for HTMLTitleElement 2013-08-09 16:41:25 -04:00
Youngsoo Son
fa7f367d22 Generate bindings for HTMLUListElement 2013-08-09 15:26:21 -04: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
bors-servo
ebb4f3b3d1 auto merge of #692 : recrack/servo/brelement, r=jdm 2013-08-09 07:49:39 -07:00
Youngmin, Yoo
bc49686c3b Generate bindings for HTMLBRElement 2013-08-09 15:42:15 +09:00
Youngsoo Son
133cf9caf1 Simplify HTMLCollection predicates 2013-08-09 12:54:06 +09: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
saneyuki_s
9cbaf13334 Bindings for elements that use HTMLElement.
* aside
* section
* b
* i
2013-08-09 01:57:12 +09: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
Taro Matsuzawa
ca0ae14368 Generate bindings for HTMLOListElement 2013-08-08 10:32:38 -04:00
Josh Matthews
ddf4bee6df Generate HTMLIFrameElement bindings. 2013-08-08 09:34:08 -04: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
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
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
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
Josh Matthews
8e2c39d2dd Generate bindings for HTMLImageElement. 2013-08-06 21:54:37 -04: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
Josh Matthews
7aa0027384 Generate bindings for HTMLAnchorElement. 2013-08-05 13:18:58 -04: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
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
Keegan McAllister
fad7df8e7a Simplify HTMLCollection predicates 2013-08-02 10:38:48 -07:00
bors-servo
5f62c95437 auto merge of #659 : sonwow/servo/dom, r=jdm
Basic implementation about DOM tree accessors in HTMLDocument.
(image, embeds, plugins, links, forms, scripts, anchors, applets)
2013-08-02 05:39:32 -07:00
Youngsoo Son
7b20da05f6 Fix some implementations for DOM tree accessors 2013-08-02 18:53:38 +09:00
Keegan McAllister
a9a5e90787 Move is_root() into AbstractNode 2013-08-01 15:31:57 -07:00
Keegan McAllister
c047a4b436 Replace some Option matching with higher order methods
This shrinks the code and should be easier to read if we are used to the
idioms.

Also change one copy to clone() while we're here.
2013-08-01 15:31:57 -07:00
Youngsoo Son
8032b17e36 This implements the DOM tree accessors that return a HTMLCollection 2013-08-01 11:56:17 +09:00
Keegan McAllister
e661ce66b6 Fix freeze scope extension warning
Fixes #455 (for now)

Also add a comment about how what we're doing here is unsafe (for reasons that
are mostly unrelated to the warning)
2013-07-31 17:54:26 -07:00
Tim Kuehn
97a60f35e3 add next_subpage_id to Page struct 2013-07-31 13:12:33 -07:00
Tim Kuehn
2348fbf46d added subpage ids to map from iframe to all associated pipelines 2013-07-31 13:12:32 -07:00
Josh Matthews
a2bdab7989 Generate bindings for Window. 2013-07-30 16:30:46 -04:00
Josh Matthews
5546f2105b Generate HTMLDocument bindings. Introduce invariant into generated bindings that associated DOM classes are named the same as their interfaces, so Event and Event_ need to be swapped. 2013-07-30 16:28:02 -04:00
Youngmin Yoo
0c1a277e8f FIXME: uint::range to vec`s iter().advance 2013-07-30 19:28:24 +09:00
Tim Kuehn
2e6ad0a4a3 fix borrow check failures by reverting to storing *mut Page in window 2013-07-29 20:22:01 -07:00
Tim Kuehn
2b94dd6664 remove unused arg from script_task::handle_navigate_msg
remove unnecessary commented-out code
2013-07-29 15:53:28 -07:00
Tim Kuehn
df5306e358 switched window.page from *mut Page to @mut Page 2013-07-29 14:14:31 -07:00
Tim Kuehn
43491d5b23 navigation bug fix 2013-07-29 13:50:41 -07:00