Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clippy: Fix `explicit_auto_deref` warnings in `components/script` (#31837) | Oluwatobi Sofela | 2024-03-23 | 1 | -5/+5 |
| | | | | | | | | | * clippy: Fix explicit auto-deref warnings * clippy: Fix explicit auto-deref warnings * refactor: Tidy up code * refactor: Fix method not found errors | ||||
* | Treat the `keygen` element as obsolete (#30429) | Ennui Langeweile | 2023-09-26 | 1 | -0/+2 |
| | | | | | | | | | * Eradicate the `keygen` element * Run `./mach fmt` * Fix relevant Servo test * Fix outdated manifest | ||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -5/+5 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | remove `extern crate` (#30311) | Samson | 2023-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Support arbitrary protos when wrapping DOM objects with constructors. | Josh Matthews | 2023-05-28 | 1 | -11/+18 |
| | |||||
* | Make GlobalScope.get_cx a static method. | Josh Matthews | 2023-05-20 | 1 | -1/+1 |
| | |||||
* | Introduce ElementCSSInlineStyle for SVGElement | CYBAI | 2020-06-05 | 1 | -1/+2 |
| | |||||
* | Always pass InRealm to GlobalScope::from_context to avoid getting null global | CYBAI | 2020-02-16 | 1 | -4/+3 |
| | |||||
* | :defined works | Patrick Shaughnessy | 2020-01-30 | 1 | -0/+2 |
| | |||||
* | Implement HTMLMenuElement | Patrick Shaughnessy | 2020-01-23 | 1 | -0/+2 |
| | |||||
* | apply is: to Document.createElement even when name isn't registered yet | Patrick Shaughnessy | 2019-12-22 | 1 | -6/+13 |
| | |||||
* | Use safe JSContext as first argument for throw_dom_exception | marmeladema | 2019-08-09 | 1 | -1/+1 |
| | |||||
* | Modify *::get_cx methods to return a safe JSContext instead of a raw one | marmeladema | 2019-07-24 | 1 | -3/+3 |
| | |||||
* | Update to SpiderMonkey 66. | Josh Matthews | 2019-05-10 | 1 | -5/+3 |
| | |||||
* | Add custom elements related stuff into ElementRareData | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+4 |
| | |||||
* | #8539 Config preferences backend restructure | Peter Hall | 2019-03-20 | 1 | -2/+2 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -77/+77 |
| | |||||
* | Remove the HTMLTable{Header,Data}CellElement interfaces | Simon Pieters | 2018-10-02 | 1 | -4/+3 |
| | | | | Fixes #17222. | ||||
* | Format script component | chansuke | 2018-09-19 | 1 | -162/+173 |
| | |||||
* | Implement HTMLPictureElement interface. | Rakhi Sharma | 2018-01-29 | 1 | -0/+2 |
| | |||||
* | Use specific assertion for DOM create | CYBAI | 2018-01-26 | 1 | -2/+2 |
| | |||||
* | script: Remove HTMLAppletElement. | Emilio Cobos Álvarez | 2017-11-06 | 1 | -8/+7 |
| | | | | It was removed from the spec, there's no reason to keep it in tree. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -11/+11 |
| | | | | | | | 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 |
| | |||||
* | Track custom element state | Connor Brewster | 2017-08-09 | 1 | -4/+18 |
| | |||||
* | Enqueue upgrades | Connor Brewster | 2017-08-09 | 1 | -4/+16 |
| | |||||
* | Check namespace during ce def lookup | Connor Brewster | 2017-08-09 | 1 | -1/+1 |
| | |||||
* | Use HTMLElement interface for possible CEs | Connor Brewster | 2017-08-09 | 1 | -1/+4 |
| | |||||
* | Support custom element callback reactions | Connor Brewster | 2017-07-17 | 1 | -1/+4 |
| | |||||
* | Allow element prefix to be set | Connor Brewster | 2017-06-23 | 1 | -1/+1 |
| | | | | | Implements step 6.1.10 of https://dom.spec.whatwg.org/#concept-create-element | ||||
* | Add flag for sync/async CE creation | Connor Brewster | 2017-06-23 | 1 | -20/+28 |
| | |||||
* | Support `is` option when creating elements | Connor Brewster | 2017-06-23 | 1 | -4/+10 |
| | |||||
* | Hook CE registry into element creation | Connor Brewster | 2017-06-23 | 1 | -0/+35 |
| | |||||
* | Implement HTMLConstructor | Connor Brewster | 2017-06-15 | 1 | -4/+12 |
| | |||||
* | Solving merge conficts related to the html5ever_atoms -> html5ever change | Christian Poveda | 2017-05-03 | 1 | -6/+2 |
|\ | |||||
| * | Upgrade to html5ever 0.16 | Simon Sapin | 2017-05-02 | 1 | -3/+2 |
| | | |||||
* | | Changed all prefixes from DOMString to the atomic Prefix from html5ever | Christian Poveda | 2017-05-03 | 1 | -4/+3 |
|/ | |||||
* | script: Add infrastructure to track subresource loads in <link> and <style> ↵ | Emilio Cobos Álvarez | 2016-12-16 | 1 | -1/+1 |
| | | | | elements. | ||||
* | Removed util. | Alan Jeffrey | 2016-12-14 | 1 | -1/+1 |
| | |||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -135/+135 |
| | |||||
* | add SVGElement, SVGGraphicsElement interfaces and SVGSVGElement element | Alexandrov Sergey | 2016-10-06 | 1 | -7/+46 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implement HTMLDetailsElement. Fixes #9216 | Lanza | 2016-01-20 | 1 | -1/+2 |
| | |||||
* | Remove unnecessary conversion to/from DOMString for localName. | Eli Friedman | 2015-12-02 | 1 | -3/+3 |
| | |||||
* | Update string_cache to 0.2. | Alan Jeffrey | 2015-11-25 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -2/+4 |
| | |||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -5/+6 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | ||||
* | Move Stylesheet loading and ownership from the layout task into HTML elements | Till Schneidereit | 2015-11-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Stylesheets for `HTMLLinkElement`s are now loaded by the resource task, triggered by the element in question. Stylesheets are owned by the elements they're associated with, which can be `HTMLStyleElement`, `HTMLLinkElement`, and `HTMLMetaElement` (for `<meta name="viewport">). Additionally, the quirks mode stylesheet (just as the user and user agent stylesheets a couple of commits ago), is implemented as a lazy static, loaded once per process and shared between all documents. This all has various nice consequences: - Stylesheet loading becomes a non-blocking operation. - Stylesheets are removed when the element they're associated with is removed from the document. - It'll be possible to implement the CSSOM APIs that require direct access to the stylesheets (i.e., ~ all of them). - Various subtle correctness issues are fixed. One piece of interesting follow-up work would be to move parsing of external stylesheets to the resource task, too. Right now, it happens in the link element once loading is complete, so blocks the script task. Moving it to the resource task would probably be fairly straight-forward as it doesn't require access to any external state. |