Commit graph

206 commits

Author SHA1 Message Date
Patrick Walton
971f77d2c6 layout: Stop going to the DOM for iframe sizes 2013-12-13 15:10:04 -08:00
Patrick Walton
21e8c72a75 constellation: Stop using futures for frame sizes.
This will allow us to stop going to the DOM in order to handle iframe
sizing. Instead we can just store the pipeline and frame IDs of iframes
inside the flow tree itself.
2013-12-13 10:43:27 -08:00
Simon Sapin
b290823f4d Fix #1264: support namespaced attribute selectors. 2013-12-10 17:53:12 +00:00
Ms2ger
dc6dbc63af Make the HTML parser parse into the document rather than an element.
This removes the duplicate html element.
2013-11-17 13:58:24 +01:00
Ms2ger
591de8cff5 Cleanup attribute setting functions a bit. 2013-11-13 17:38:08 +01:00
James Graham
15b9d4d199 Initial support for Attr and namespaces. 2013-11-12 17:39:04 +09:00
Ms2ger
a431202989 Rewrite Comment::new to current standards. 2013-11-02 22:10:07 +01:00
Ms2ger
da37fde44f Rewrite Text::new to current standards. 2013-11-02 21:55:36 +01:00
Ms2ger
8c388f6bd4 Rewrite DocumentType::new to current standards. 2013-11-02 21:34:44 +01:00
Ms2ger
655a2099ef Rename handle_newable_element to handle_element. 2013-11-02 21:14:15 +01:00
Ms2ger
7700a892fc Cleanup build_element_from_tag's signature. 2013-11-02 21:13:37 +01:00
Ms2ger
b4559334bb Introduce HTMLElement::new. 2013-11-02 21:05:37 +01:00
Ms2ger
4ac0dc1bfd Use HTMLHtmlElement::new in parse_html. 2013-11-02 20:45:22 +01:00
Ms2ger
375af8d437 Remove the now-unused handle_element macro. 2013-11-02 19:40:48 +01:00
Ms2ger
9e236a3dfd Introduce HTMLAnchorElement::new. 2013-11-02 18:49:44 +01:00
Ms2ger
f15620313a Introduce HTMLAppletElement::new. 2013-11-02 18:44:20 +01:00
Ms2ger
05162f16aa Introduce HTMLAreaElement::new. 2013-11-02 18:40:15 +01:00
Ms2ger
d3db3b9f72 Introduce HTMLBaseElement::new. 2013-11-02 18:36:54 +01:00
Ms2ger
74a522b89a Introduce HTMLBRElement::new. 2013-11-02 18:30:25 +01:00
Ms2ger
8796ca5c02 Introduce HTMLBodyElement::new. 2013-11-02 18:26:39 +01:00
Ms2ger
0d56584561 Introduce HTMLButtonElement::new. 2013-11-02 18:22:35 +01:00
Ms2ger
74312da1ba Introduce HTMLCanvasElement::new. 2013-11-02 18:18:29 +01:00
Ms2ger
4d706984e1 Introduce HTMLDataElement::new. 2013-11-02 13:03:16 +01:00
Ms2ger
f81ed712a8 Introduce HTMLDataListElement::new. 2013-11-02 12:58:32 +01:00
Ms2ger
0113717d24 Introduce HTMLDirectoryElement::new. 2013-11-02 12:53:45 +01:00
Ms2ger
4d7b0a5e52 Introduce HTMLDivElement::new. 2013-11-02 12:50:15 +01:00
Ms2ger
dea0f088de Introduce HTMLDListElement::new. 2013-11-02 12:27:23 +01:00
Ms2ger
7290e75c6b Introduce HTMLEmbedElement::new. 2013-11-02 12:15:51 +01:00
Ms2ger
f3b1cabf32 Introduce HTMLFieldSetElement::new. 2013-11-02 12:10:27 +01:00
Ms2ger
a8578701a8 Introduce HTMLFontElement::new. 2013-11-02 12:05:06 +01:00
Ms2ger
b923bcdef7 Introduce HTMLFormElement::new. 2013-11-02 11:55:54 +01:00
Ms2ger
996f2dcbb9 Introduce HTMLFrameElement::new. 2013-11-02 11:51:02 +01:00
Ms2ger
d8198249ec Introduce HTMLFrameSetElement::new. 2013-11-02 11:46:50 +01:00
Ms2ger
5bfc044ee4 Introduce HTMLHRElement::new. 2013-11-02 11:41:51 +01:00
Ms2ger
dac20f11d4 Introduce HTMLHeadElement::new. 2013-11-02 11:37:57 +01:00
Ms2ger
1e42f27560 Introduce HTMLHtmlElement::new. 2013-11-02 11:28:54 +01:00
Ms2ger
1f4cc4182e Introduce HTMLInputElement::new. 2013-11-01 23:34:26 +01:00
Ms2ger
b592742b25 Introduce HTMLLabelElement::new. 2013-11-01 23:28:55 +01:00
Ms2ger
721119132a Introduce HTMLLegendElement::new. 2013-11-01 23:23:52 +01:00
Ms2ger
186a757c05 Introduce HTMLLinkElement::new. 2013-11-01 23:16:25 +01:00
Ms2ger
3b58858c7e Introduce HTMLLIElement::new. 2013-11-01 23:12:56 +01:00
Ms2ger
9afab1807a Introduce HTMLMapElement::new. 2013-11-01 23:06:49 +01:00
Ms2ger
81018b3dcc Introduce HTMLMainElement::new. 2013-11-01 22:46:44 +01:00
Ms2ger
5a18c616d6 Introduce HTMLMetaElement::new. 2013-11-01 22:42:19 +01:00
Ms2ger
db3515240a Introduce HTMLMeterElement::new. 2013-11-01 22:36:17 +01:00
Ms2ger
5cfa70c769 Introduce HTMLModElement::new and use it for del/ins, not the non-existent mod. 2013-11-01 22:12:43 +01:00
Ms2ger
b20461f253 Introduce HTMLObjectElement::new. 2013-11-01 22:02:32 +01:00
Ms2ger
9fbc45ae9c Introduce HTMLOListElement::new. 2013-11-01 21:56:22 +01:00
Ms2ger
6c217c6872 Introduce HTMLOptionElement::new. 2013-11-01 21:52:43 +01:00
Ms2ger
21be4752a1 Introduce HTMLOptGroupElement::new. 2013-11-01 21:47:25 +01:00