Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) | Simon Sapin | 2017-11-09 | 1 | -1/+0 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax. | ||||
* | Fix the form action IDL attributes | Anthony Ramine | 2017-10-11 | 1 | -27/+11 |
| | | | | | The returned string, if the attribute is present and non-empty, should be a URL resolved against the element's document's base URL. | ||||
* | Fix URL attributes | Anthony Ramine | 2017-10-11 | 1 | -4/+1 |
| | | | | | URL attributes should always use AttrValue::Url, and the input should be resolved against the document's base URL at setting time always. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | ||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | User Timing API | Fernando Jiménez Moreno | 2017-09-06 | 1 | -0/+39 |
| | |||||
* | Use absolute paths in the event handlers macros | Anthony Ramine | 2017-09-01 | 1 | -12/+35 |
| | |||||
* | WebVR 1.1 spec compatibility | Imanol Fernandez | 2017-07-05 | 1 | -0/+15 |
| | |||||
* | Have unsafe_no_jsmanaged_fields! macro take a type as argument rather than ↵ | Jonathan Chan | 2017-06-27 | 1 | -1/+1 |
| | | | | | | | an ident. We only write unsafe_no_jsmanaged_fields!(SomeType), and the documentation says it is to be used for types. | ||||
* | Refactor some window_from_node calls based on feedback | Arseniy Ivanov | 2017-02-03 | 1 | -4/+6 |
| | |||||
* | Check for the presence of a window when working with event handlers ↵ | Arseniy Ivanov | 2017-02-03 | 1 | -2/+8 |
| | | | | forwarded to the window | ||||
* | Properly root the running animation list in a RootedVec | Anthony Ramine | 2016-12-12 | 1 | -5/+6 |
| | |||||
* | Introduce jsmanaged_array | Anthony Ramine | 2016-12-06 | 1 | -9/+16 |
| | |||||
* | Remove generics from unsafe_no_jsmanaged_fields | Anthony Ramine | 2016-12-06 | 1 | -18/+0 |
| | |||||
* | Mark JSTraceable and its method as unsafe | Anthony Ramine | 2016-12-06 | 1 | -9/+13 |
| | |||||
* | Remove redundant url clones | Pu Xingyu | 2016-11-18 | 1 | -1/+1 |
| | | | | | They are now redundant since now document.url() returns a struct rather than a reference. | ||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -19/+19 |
| | |||||
* | Make make_enumerated_getter prettier again. | Corey Farwell | 2016-10-12 | 1 | -1/+1 |
| | | | | Fixes https://github.com/servo/servo/issues/4723. | ||||
* | Emit TransitionEnd events in the layout thread and process it in the script ↵ | Keith Yeung | 2016-10-11 | 1 | -0/+1 |
| | | | | thread | ||||
* | adding macro to return string or url, | Jake Goldsborough | 2016-09-27 | 1 | -0/+20 |
| | | | | | | using that macro with the form action, making the form submit process use base url, adding tests. | ||||
* | Implement HTMLLIElement#value | vrod | 2016-07-28 | 1 | -0/+16 |
| | |||||
* | Use a stack guard and a macro for RootedVec instead of return_address. | Eduard Burtescu | 2016-07-04 | 1 | -0/+15 |
| | |||||
* | Stop re-exporting AttrValue. | Ms2ger | 2016-06-07 | 1 | -1/+1 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -4/+5 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | dom: Add missing event handlers | Piotr Stankiewicz | 2016-05-20 | 1 | -0/+128 |
| | | | | | | | | | | Adding: * global event handlers, * window event handlers, * document and element handlers, * and support for BeforeUnloadEvent. Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com> | ||||
* | Add event handlers for media-related events. | Josh Matthews | 2016-05-03 | 1 | -0/+13 |
| | |||||
* | Upgrade to rust-url 1.0 and hyper 0.9 | Simon Sapin | 2016-04-23 | 1 | -1/+1 |
| | |||||
* | webgl: finish, flush, detachShader, generateMipmap, Uniform1i | Connor Brewster | 2016-04-02 | 1 | -0/+8 |
| | |||||
* | use return value of invoking event handlers to cancel the event | João Oliveira | 2016-02-26 | 1 | -2/+5 |
| | |||||
* | Add onresize handler to GlobalEventHandlers | Jeff Harrison | 2016-01-29 | 1 | -0/+1 |
| | | | | | Refs: https://github.com/servo/servo/issues/7996 Rebased: https://github.com/servo/servo/pull/8006 | ||||
* | Implement HTMLDetailsElement. Fixes #9216 | Lanza | 2016-01-20 | 1 | -0/+1 |
| | |||||
* | Remove parsed attribute 'background' field on HTMLBodyElement | Corey Farwell | 2016-01-02 | 1 | -0/+14 |
| | | | | https://github.com/servo/servo/issues/7863 | ||||
* | Implement the onreset event handler. | Josh Matthews | 2015-12-30 | 1 | -0/+1 |
| | |||||
* | Implement non-zero dimension attribute parsing | Corey Farwell | 2015-12-24 | 1 | -0/+13 |
| | | | | | | | | | | | | | Fixes #8445 The only attributes I found that we have implemented that uses non-zero dimenion attributes: * `width` for `<td>` and `<th>` (table cells) * `width` for `<table>` I updated these implementations to use the new non-zero dimension attribute parsing and added associated regression tests. | ||||
* | Makes setting negative values to maxLength throw an IndexSize exception | Sam Gibson | 2015-12-03 | 1 | -0/+20 |
| | |||||
* | Resolves long-running merge conflicts | Sam Gibson | 2015-12-03 | 1 | -10/+7 |
| | |||||
* | Makes int_getter macro, and uses -1 as default maxlength instead of maxint | Sam Gibson | 2015-12-03 | 1 | -0/+19 |
| | |||||
* | Compute attribute name atoms at compile-time. | Eli Friedman | 2015-11-27 | 1 | -74/+29 |
| | |||||
* | Update string_cache to 0.2. | Alan Jeffrey | 2015-11-25 | 1 | -13/+13 |
| | | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom. | ||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -3/+2 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | ||||
* | Differentiate between error and non-error event handlers per the spec. | Josh Matthews | 2015-11-12 | 1 | -4/+7 |
| | |||||
* | Auto merge of #8434 - frewsxcv:dimension-attrvalue, r=eefriedman | bors-servo | 2015-11-10 | 1 | -0/+15 |
|\ | | | | | | | | | | | | | | | | | | | Add Dimension member to AttrValue Fixes #8417 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8434) <!-- Reviewable:end --> | ||||
| * | Remove HTMLTableElement::width struct field | Corey Farwell | 2015-11-09 | 1 | -1/+1 |
| | | |||||
| * | Add Dimension member to AttrValue | Corey Farwell | 2015-11-09 | 1 | -0/+15 |
| | | | | | | | | Fixes #8417 | ||||
* | | Move storage of bgcolor for `<tr>` and `<tbody>`. | Eli Friedman | 2015-11-09 | 1 | -0/+1 |
|/ | |||||
* | Move storage of bgcolor attribute on <body>. | Eli Friedman | 2015-11-08 | 1 | -0/+15 |
| | |||||
* | Make DOMString a newtype around String, rather than a typedef. | Ms2ger | 2015-11-04 | 1 | -2/+2 |
| | | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type. | ||||
* | Get rid of a bunch of explicit derefs | David Zbarsky | 2015-11-03 | 1 | -1/+1 |
| | |||||
* | move Castable into dom::bindings::inheritance | rohan.prinja | 2015-10-30 | 1 | -13/+13 |
| |