Commit graph

117 commits

Author SHA1 Message Date
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
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
Tim Kuehn
2348fbf46d added subpage ids to map from iframe to all associated pipelines 2013-07-31 13:12:32 -07: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
df5306e358 switched window.page from *mut Page to @mut Page 2013-07-29 14:14:31 -07:00
Tim Kuehn
e9888b299c structural changes to support Iframes 2013-07-29 11:03:17 -07:00
Josh Matthews
1a4ea09205 WIP iframe handling. 2013-07-11 13:16:15 -07:00
Tim Kuehn
fba7ec423c add pipeline.rs, modularized pipelines communicating with constellation 2013-07-01 11:03:31 -07:00
Brian Anderson
56e5ba1b82 Update for language changes 2013-06-26 13:44:26 -07:00
Patrick Walton
bf82bc54f3 Separate the DOM and layout into separate crates. 2013-05-28 17:13:40 -07:00
Renamed from src/components/main/dom/element.rs (Browse further)