Commit graph

31 commits

Author SHA1 Message Date
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
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
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
7aa0027384 Generate bindings for HTMLAnchorElement. 2013-08-05 13:18:58 -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
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
Tim Kuehn
43491d5b23 navigation bug fix 2013-07-29 13:50:41 -07:00
Tim Kuehn
e9888b299c structural changes to support Iframes 2013-07-29 11:03:17 -07:00
Keegan McAllister
de65ac7127 Fail the script task when page URL load fails
It's confusing that specifying a nonexistent file on the command line just
gives me a blank page.  Until we have a real 404 page let's just crash.
2013-07-24 16:52:48 -07:00
Jack Moffitt
587738d1b1 Use complete_style instead of bogus unref. 2013-07-19 19:09:25 -06:00
Jack Moffitt
2b44efbbef Remove spurious whitespace. 2013-07-19 15:36:42 -06:00
Jack Moffitt
34106d7e45 Fix broken inline CSS parsing and add a iterator for children.
If '\r' appears in an inline <style> element, libhubbub splits the text nodes
there, creating multiple text children. The inline style logic assumed that
each <style> element had only one child.

The logic was moved to trigger when the style element is finished parsing
completely (including the children), and then the children are concatenated
before sending it to the parser.
2013-07-19 15:18:45 -06:00
Josh Matthews
1a4ea09205 WIP iframe handling. 2013-07-11 13:16:15 -07:00
Jack Moffitt
870db39836 Update to latest Rust. 2013-07-09 14:37:53 -06: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
e50cee9adc Resolve relative URLs that begin with '//' 2013-06-12 11:02:52 -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/html/hubbub_html_parser.rs (Browse further)