aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlstyleelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use new `if let` syntax wherever possible. Fixes #4153.Zack Slayton2015-03-101-6/+4
|
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-2/+3
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* add `unwrap` to `send/recv` callsAlexandru Cojocaru2015-02-031-1/+1
|
* End the libstyle 'pub use' madness.Simon Sapin2015-01-301-3/+2
|
* 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
|
* auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2gerbors-servo2015-01-041-4/+4
|\
| * Add HTMLElementTypeId enum (fixes #3625)Megha Gupta2015-01-021-4/+4
| |
* | Remove unsound Root::deref() calls in HTML elements.Ms2ger2015-01-011-0/+1
|/
* Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+0
| | | | | | | | | 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: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-2/+2
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-7/+8
|
* Make media queries work with resize and page zoom.Glenn Watson2014-11-041-2/+2
|
* 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
* Remove Traceable/Untraceable from page.rsManish Goregaokar2014-10-051-1/+1
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* Convert various helper traits from &JSRef to JSRefCameron Zwarich2014-09-201-3/+3
| | | | | | | | | | | | | | | I converted them all with a few exceptions: - Methods that were used by trait objects, since trait objects don't work with `self` methods. - Methods that take an &'b JSRef<'a, T> and return an &'b. In reality, many (all?) could return an &'a instead, but this isn't allowed by the Deref trait. - Methods that internally rely on the same issue with Deref. - I left out the traits involved in layout entirely, even though not all of their methods suffer from one of the above problems. There will probably be solutions to all of these problems in the future.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-6/+6
| | | | | | | | | 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.
* Merge pull request #3374 from Manishearth/lint_unrooted_jsmanagedManish Goregaokar2014-09-171-0/+2
|\ | | | | Add lint for ensuring proper rooting of JS<T>; r=jdm
| * Use #[must_root] for HTMLElementsManish Goregaokar2014-09-171-0/+2
| |
* | Move link rel=stylesheet fetching to layout taskMatt Brubeck2014-09-161-2/+2
|/ | | | Fixes #3346.
* Cargoify servoJack Moffitt2014-09-081-0/+97