aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbodyelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #5851 - evilpie:background, r=SimonSapinbors-servo2015-07-291-1/+20
|\ | | | | | | | | | | | | | | | | | | Implement the HTML background attribute Fixes #5835 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5851) <!-- Reviewable:end -->
| * small cleanupTom Schuster2015-06-201-3/+2
| |
| * Implement the HTML background attributeTom Schuster2015-06-201-1/+21
| |
* | Add spec linksBogdan Cuza2015-07-281-2/+3
|/
* Upgrade to SM 39Michael Wu2015-06-191-20/+21
|
* add window method for notifying when the <head> tag has been parsedMike Blumenkrantz2015-06-021-0/+5
|
* script: Address review commentsPatrick Walton2015-05-261-0/+4
|
* script: Reflow 200 milliseconds after the `<body>` is parsed, like GeckoPatrick Walton2015-05-261-5/+19
| | | | does.
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-1/+3
| | | | Part of https://github.com/servo/servo/issues/6041
* Import string_cache::Atom into the attributes' macrosAnthony Ramine2015-05-141-1/+0
|
* Uniformise root() methodsAnthony Ramine2015-04-281-1/+1
| | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* Implement Body.bgColor and Document.bgColorAnthony Ramine2015-04-271-0/+6
|
* Remove as_slice() calls from script.Ms2ger2015-04-261-2/+2
|
* Replace the Str implementation for AttrValue by a Deref implementation.Ms2ger2015-04-251-2/+2
|
* Use new `if let` syntax wherever possible. Fixes #4153.Zack Slayton2015-03-101-3/+2
|
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-0/+1
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Fix some warnings in script.Ms2ger2015-02-121-1/+1
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-1/+1
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Don't shadow lifetimes in script.Ms2ger2015-01-281-1/+1
|
* self importManish Goregaokar2015-01-281-2/+2
|
* Move to to_owned rather than into_string.Ms2ger2015-01-201-1/+3
| | | | into_string has been removed from Rust.
* auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2gerbors-servo2015-01-041-3/+3
|\
| * Add HTMLElementTypeId enum (fixes #3625)Megha Gupta2015-01-021-3/+3
| |
* | Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-6/+6
|/ | | | This changes those calls that were already sound.
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-6/+1
|\ | | | | | | | | | | Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
| * Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+1
| | | | | | | | | | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports
* | script: to_string() -> into_string()Manish Goregaokar2014-12-271-1/+1
|/
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-5/+5
|
* style: Address review comments relating to `bgcolor` and column spansPatrick Walton2014-12-151-4/+5
|
* style: Parse the legacy `bgcolor` attribute per the HTML5 specification.Patrick Walton2014-12-151-9/+44
| | | | Additionally, this patch cleans up some miscellaneous formatting issues.
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-2/+2
|
* Usage of JSRef<Attr> in before_remove_attr & after_set_attrBruno de Oliveira Abinader2014-10-221-7/+9
| | | | | JSRef<Attr> does not require allocating a DOMString for value, which are unused in most cases. It also provides more access to Attr data.
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize EventTarget and EventListenerEntryTim Taubert2014-10-131-1/+1
|
* Privatize InheritTypesTim Taubert2014-10-131-1/+2
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-2/+2
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* Eliminate servo_util::atomKeegan McAllister2014-09-291-1/+1
| | | | We only needed this for Encodable, and now we use JSTraceable instead.
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-4/+4
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-9/+9
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Use #[must_root] for HTMLElementsManish Goregaokar2014-09-171-0/+2
|
* Cargoify servoJack Moffitt2014-09-081-0/+98