Commit graph

65 commits

Author SHA1 Message Date
Simon Sapin
a325905fa6 Move the gfx::geometry module to servo_util::geometry.
This is part of #1006, in order to use Au from the script crate
without introducing a circular crate dependency.
2013-10-16 14:55:07 +01:00
Ms2ger
60b6d1bb57 Issue #1071 - Ensure that Documents always have a non-null Window. 2013-10-16 10:15:09 +02:00
Ms2ger
04319fdb68 Issue #888 - Node's owner document should never be None. 2013-10-10 10:57:38 +02:00
Luis de Bethencourt
cfd726f7d6 Rename the node field of the DOM node hierarchy
Renamed the Node elements

Fixes #924
2013-09-19 19:39:38 -04:00
Luis de Bethencourt
2dbd065d91 Rename the element field of the DOM Node hierarchy
Renamed htmlelement, and element

Fixes #924
2013-09-19 19:39:38 -04:00
Keegan McAllister
73c1a12f30 bindings: Return errors in Result rather than setting an out parameter
Fixes #909.
2013-09-18 18:07:37 -07:00
Keegan McAllister
68ddc6b4ab Make DOMString an alias for Option<~str>
Fixes #898.
2013-09-18 14:46:42 -07:00
Josh Matthews
21b0fc35b6 Allow image prefetching to occur during parsing when no window or document is present. Fixes #939. 2013-09-13 23:10:31 -07:00
Patrick Walton
76d288fe62 script: Implement image source setting from script and write a demo for this. 2013-09-12 18:03:11 -07:00
bors-servo
ab743c17fe auto merge of #920 : jdm/servo/setattrabstract, r=metajack
r? @metajack
2013-09-12 15:51:49 -07:00
Josh Matthews
8ae725146c Make Window store an @Page instead of a *Page and remove a bunch of unsafe code. 2013-09-12 14:45:47 -07:00
Josh Matthews
a410651fba Make Element.set_attr require an AbstractNode so we can always downcast. 2013-09-12 14:40:00 -07:00
Brian Anderson
42c6a53148 Implement getters and setters for img width and height properties 2013-09-11 22:08:44 -07:00
Keegan McAllister
be061a9aa0 Library changes 2013-08-15 13:55:40 -07:00
Josh Matthews
8e2c39d2dd Generate bindings for HTMLImageElement. 2013-08-06 21:54:37 -04:00