aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlstyleelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-97/+0
|
* Upgrade Rust.Jack Moffitt2014-08-021-2/+2
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-4/+2
|
* Use tree_in_doc on Style elem to parse its own CSS, if neededBruno de Oliveira Abinader2014-07-161-6/+10
|
* Added 'parent is/was in tree' param to bind_to_tree/unbind_from_treeBruno de Oliveira Abinader2014-07-161-2/+2
| | | | | | | According to a talk with Ms2ger, both bind_to_tree / unbind_from_tree should be called regardless if the tree is part of a Document. This information is now passed as a parameter to their respective virtual methods.
* Remove generate_cacheable_wrapper_htmlelement!Tetsuharu OHZEKI2014-06-281-0/+7
|
* Upgrade to latest Rust.Manish Goregaokar2014-06-271-2/+2
|
* HTMLStyleElement only applies CSS in the documentMartin Richard2014-06-211-1/+14
| | | | | | | | | | | | | | | HTMLStyleElement will not parse a style element created in Javascript until it is attached to the DOM. I added a reftest for the given cases: * a style element is defined in the HTML code, * a style element is created in Javascript, CSS content is added to the element and the element is later attached to the document, * a style element is created in Javascript, attached to the document and later CSS content is added to the element, * a style element is created in Javascript, CSS content is added to the * element but the element is never attached to the document.
* Remove needless '&self mut' from VirtualMethods trait.Tetsuharu OHZEKI2014-06-071-5/+5
|
* Rename BindingDeclarations to Bindings.Ms2ger2014-06-021-1/+1
|
* Remove not-yet-implemented members from IDL and Rust code.Ms2ger2014-06-011-42/+0
| | | | | | | | These stub implementations bring no value, and significantly increased maintenance costs. This commit also synchronizes the IDL with the HTML specification and makes the URLs consistent.
* Remove needless '&mut self' from HTMLStyleElementMethods.Tetsuharu OHZEKI2014-05-311-4/+4
|
* Update Rust.Ms2ger2014-05-221-1/+1
|
* Use == instead of match for tests against a single enum valueMartin Robinson2014-05-081-4/+1
| | | | | | | The performance of using == should now equal that of match, so many identity methods can be simplified to a single line. Fixes #1596.
* Replace all ~"" with "".to_owned().Ms2ger2014-05-031-2/+2
|
* Address review comments.Josh Matthews2014-05-031-5/+5
|
* Address review comments.Josh Matthews2014-05-031-3/+3
|
* Remove all root collections.Josh Matthews2014-05-031-3/+2
|
* s/Unrooted/Temporary/gJosh Matthews2014-05-031-2/+2
|
* Remove abstract_self.Josh Matthews2014-05-031-1/+1
|
* Move WebIDL methods to traits implemented by JSRef types.Josh Matthews2014-05-031-11/+22
|
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-031-11/+10
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-031-4/+6
| | | | timers. Fix borrow errors during tracing.
* Remove the 'pub use self::BindingDeclarations::*;' export.Tetsuharu OHZEKI2014-05-011-1/+1
|
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-271-1/+1
| | | | | | 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.
* 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.
* Move child_inserted into VirtualMethods.Matt Brubeck2014-04-141-1/+17
| | | | Follow-up from #1984.
* Move inline stylesheet parsing out of HTML parser.Matt Brubeck2014-04-141-2/+21
| | | | | | | 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.
* Move Error, Fallible, ErrorResult out of utils.rs (fixes #1749)Saurabh Anand2014-02-281-1/+1
|
* Implement JSManaged for DOM objects.Josh Matthews2014-02-241-6/+19
|
* Move DOMString into servo_util.Ms2ger2014-02-141-1/+2
|
* Use DOMString more consistently.Ms2ger2014-02-131-2/+2
|
* script: Eliminate the phantom type in favor of just whitelisting methodsPatrick Walton2013-12-171-2/+2
| | | | | | | 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.
* Stop passing DOMStrings via borrowed pointer. (#1201)Tetsuharu OHZEKI2013-11-141-2/+2
|
* Don't pass nullable strings to native DOM methods that want non-nullable ↵Ms2ger2013-11-121-6/+6
| | | | strings. Fixes #1207.
* Make DOMString represent a non-nullable string.Ms2ger2013-11-121-4/+4
|
* Rename HTMLElement::new to HTMLElement::new_inherited.Ms2ger2013-11-021-1/+1
|
* Introduce HTMLStyleElement::new.Ms2ger2013-10-311-0/+17
|
* Rename the element field of the DOM Node hierarchyLuis de Bethencourt2013-09-191-1/+1
| | | | | | Renamed htmlelement, and element Fixes #924
* bindings: Return errors in Result rather than setting an out parameterKeegan McAllister2013-09-181-3/+6
| | | | Fixes #909.
* Make DOMString an alias for Option<~str>Keegan McAllister2013-09-181-3/+3
| | | | Fixes #898.
* Generate bindings for HTMLStyleElement.saneyuki_s2013-08-081-0/+40