aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-031-41/+50
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-031-18/+25
| | | | timers. Fix borrow errors during tracing.
* Stop passing owned strings to fail!().Ms2ger2014-05-031-1/+1
| | | | The ~"string" expression is being removed in upstream rust.
* Use Vec for the remaining ~[T]s in script.Ms2ger2014-04-281-4/+4
|
* Make ProgressMsg use Vec.Ms2ger2014-04-282-3/+3
|
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-271-4/+4
| | | | | | April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
* Remove resource_task argument from css_link_listener.(fixes #2153)lpy2014-04-181-4/+2
|
* Associate ResourceTask with UrlProvenanceJames Sanders2014-04-172-12/+8
|
* Add transparent Traceable and Untraceable types to aid proper rooting ↵Josh Matthews2014-04-171-1/+1
| | | | practices, and replace ad-hoc Untraceable structs with empty Encodable implementations.
* Stop using deprecated RefCell<T>::getMatt Brubeck2014-04-161-2/+2
| | | | It's going away in the next Rust upgrade.
* Move inline stylesheet parsing out of HTML parser.Matt Brubeck2014-04-142-40/+37
| | | | | | | Instead, use shared code to parse stylesheet content when it is inserted, whether during parsing or dynamically by script. Based on work by sanools in #1350.
* auto merge of #2045 : Manishearth/servo/pub-struct-2044, r=SimonSapinbors-servo2014-04-091-1/+1
|\ | | | | | | See #2044
| * fix visibility warnings in script crate (#2044)Manish Goregaokar2014-04-061-1/+1
| |
* | Remove trailing whitespace.Ms2ger2014-04-071-1/+1
|/
* Upgrade rust.Ms2ger2014-04-042-25/+24
|
* Move attributes-related functions onto JS<Element>.Ms2ger2014-03-201-9/+7
|
* Split TCast::to into TCast::to_unchecked and TCast::to.Tetsuharu OHZEKI2014-03-201-3/+3
|
* Warning police.Josh Matthews2014-03-181-6/+8
|
* Remove all traces of Box representation from bindings. Work around file read ↵Josh Matthews2014-03-181-0/+1
| | | | runtime problem.
* Rust upgradesLars Bergstrom2014-03-182-16/+38
|
* script: Fix background color of Acid2.Patrick Walton2014-03-131-7/+12
| | | | | | There were two problems here: (1) we did not process style sheets with an unexpected `rel` attribute but a correct MIME type; (2) we did not consider `none` a valid value for the `background` property.
* Don't use the Untraceable fields outside the module they're defined in.Ms2ger2014-03-121-1/+1
| | | | This pattern will become illegal with the next Rust upgrade.
* Remove next_subpage_id argument from parse_html.(fixes #1801)lpy2014-03-041-2/+2
|
* De-@mut the script crate.Josh Matthews2014-02-281-18/+10
|
* Renamed HTMLIframeElementTypeId to HTMLIFrameElementTypeIdhgentry2014-02-271-2/+2
|
* Remove the image loading workaround from the parser.Ms2ger2014-02-251-11/+2
|
* Implement JSManaged for DOM objects.Josh Matthews2014-02-241-99/+93
|
* Impl Basic support for object elementYoungmin Yoo2014-02-201-1/+0
|
* Support base_url in stylesheetYoungmin Yoo2014-02-191-4/+3
|
* Change <em> and <strong> to be HTMLElement (fixes #1704)lpy2014-02-171-0/+2
|
* Use eq() and eq_slice() less, and map_default() more.Ms2ger2014-02-161-2/+1
|
* Change Text, Comment and ProcessingInstructions parent name from element to ↵Adam Sinnett2014-02-151-2/+2
| | | | | | | | characterdata All other node's parent type names reflect the actual type of the parent. This change extends that convention to the indicated nodes. closes #1594
* Move DOMString into servo_util.Ms2ger2014-02-141-3/+3
|
* Use DOMString more consistently.Ms2ger2014-02-131-1/+2
|
* Reduce copying on parse_url() call sites.Tetsuharu OHZEKI2014-02-091-3/+3
|
* auto merge of #1608 : SimonSapin/servo/url, r=metajackbors-servo2014-02-072-10/+4
|\ | | | | | | Align with spec terminology.
| * Rename make_url/current_url to parse_url/base_url, to align with spec ↵Simon Sapin2014-02-011-4/+4
| | | | | | | | terminology.
| * Remove some dead code.Simon Sapin2014-02-011-6/+0
| |
* | Implement document.characterSetBruno de Oliveira Abinader2014-02-061-3/+4
|/ | | | | | | Spec: http://dom.spec.whatwg.org/#dom-document-characterset This is a sub-task for #1428.
* Implement document.compatModeBruno de Oliveira Abinader2014-01-301-0/+1
| | | | | | | Spec: http://dom.spec.whatwg.org/#dom-document-compatmode This is a sub-task for #1428.
* Move script::dom::namespace into util, in order to use it from style later.Simon Sapin2014-01-251-1/+1
|
* Change `get_attr()` to `get_attr_val_for_layout()`.Jack Moffitt2014-01-221-9/+9
| | | | | | | | The old code was used by both layout and script, but was erroneously borrowing for the layout case (which causes parallelism problems). script now uses only `value_ref()` or `get_attribute()`, and layout now has its own unsafe version that dances around the borrows of `@mut Attr`.
* DocumentType does not need to know about quirks modeBruno de Oliveira Abinader2014-01-151-2/+1
| | | | TSIA. Closes #1498.
* add names for all servo spawned taskszmike2014-01-132-3/+5
| | | | | | | | * add servo_util::task::{spawn_named,spawn_with_named} functions * add name param for spawn_listener and spawn_conversation functions this should resolve #1169
* Upgrade to latest Rust.Jack Moffitt2014-01-122-73/+58
|
* Make Element::set_attribute not lower-case the name argument.Ms2ger2014-01-041-5/+3
| | | | In particular, for SetAttributeNS, we should not change the case.
* Pass a Namespace to Element::get_attr.Ms2ger2013-12-231-3/+4
|
* script: Eliminate the phantom type in favor of just whitelisting methodsPatrick Walton2013-12-171-9/+9
| | | | | | | that layout can safely call. This is simpler. Currently, the set of methods is not safe, but I plan to lock it down more soon.
* script: Make trees less genericPatrick Walton2013-12-171-2/+1
|
* auto merge of #1377 : SimonSapin/servo/encoding, r=kmcallisterbors-servo2013-12-171-6/+15
|\ | | | | | | | | | | | | | | | | | | | | | | Depends on https://github.com/mozilla-servo/rust-cssparser/pull/33 being merged. Also (unrelated) pass around a base URL for stylesheets. Adds a new dependency: Upstream: https://github.com/lifthrasiir/rust-encoding Servo’s fork: https://github.com/mozilla-servo/rust-encoding As of this writing, upstream’s master branch targets Rust 0.8, and its rust-0.9-pre branch targets Rust master. Servo uses a Rust version in-between those. I pushed a rust-servo branch to our fork that backports from rust-0.9-pre, and also included some changes that have yet to be merged in upstream pull requests.