Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Rearrange directionality algorithm functions | Dmitry Kolupaev | 2020-02-25 | 1 | -0/+19 | |
| | | ||||||
* | | Avoid accessing node global during Node's destructor. | Josh Matthews | 2020-02-24 | 1 | -12/+22 | |
|/ | ||||||
* | Auto merge of #25548 - pshaughn:docnamedgetter, r=jdm | bors-servo | 2020-02-13 | 1 | -0/+29 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SupportedPropertyNames to Document (also fix iframe getting) Existing test of named-getting an iframe now succeeds. I added a new test for Object.getOwnPropertyNames(document) based on my understanding of the spec; that test could use a second opinion. UPDATE: This was trying to do too many things in one PR as originally submitted. It is now using #25572 as a base, and I suggest reviewing that PR before this one to avoid duplicating review effort. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #7273 for all implemented named getters, fix #25146, and fix the iframe case only of #25145. <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> | |||||
| * | Doc named getter improvements | Patrick Shaughnessy | 2020-02-13 | 1 | -0/+29 | |
| | | ||||||
* | | Event dispatch rewritten to resemble spec more often, activate on clicks better | Patrick Shaughnessy | 2020-02-12 | 1 | -0/+42 | |
|/ | ||||||
* | Remove outdated comment about #4105 | Patrick Shaughnessy | 2020-02-05 | 1 | -3/+2 | |
| | ||||||
* | Add accountable-refcell as optional build time feature | Kunal Mohan | 2020-01-08 | 1 | -2/+2 | |
| | ||||||
* | Auto merge of #25310 - pshaughn:attr_node, r=Manishearth | bors-servo | 2020-01-07 | 1 | -56/+203 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attr is a Node, with consequences for many Node methods <!-- Please describe your changes on the following line: --> Attr is now a Node, as current WHATWG specs require. I think I did some unidiomatic things to make compareDocumentPosition work and it could use a look by someone more familiar with how to write concise Rust code. I also think the new cases in compareDocumentPosition lack tests; it is possible to compare the position of two attributes, or of an attribute and an element, and I don't think any tests are exercising that functionality. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25124 <!-- Either: --> - [ ] There are tests for these changes (existing cases of Node methods are well-tested, and there is a WPT test specifically for whether Attr is Node, but I'm not sure about new Node method cases) <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> | |||||
| * | Attr is a Node, with consequences for many Node methods | Patrick Shaughnessy | 2019-12-23 | 1 | -56/+203 | |
| | | ||||||
* | | Now passing output tests as well as anyone | Patrick Shaughnessy | 2020-01-06 | 1 | -0/+15 | |
|/ | ||||||
* | adding .isConnected DOM attribute | Patrick Shaughnessy | 2019-12-11 | 1 | -0/+5 | |
| | ||||||
* | ISSUE-23995: lazily generate unique_id for node | Thomas Delacour | 2019-09-24 | 1 | -12/+17 | |
| | ||||||
* | Return ErrorStatus from webdriver_handlers | George Roman | 2019-08-18 | 1 | -2/+6 | |
| | ||||||
* | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) | Simon Sapin | 2019-07-31 | 1 | -29/+30 | |
| | ||||||
* | Wrap(Global)Method now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -2/+3 | |
| | | | | as first argument. | |||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -2/+2 | |
| | | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is. | |||||
* | Moar detach shadow improvements | Fernando Jiménez Moreno | 2019-07-22 | 1 | -29/+34 | |
| | ||||||
* | Detach shadow clean up | Fernando Jiménez Moreno | 2019-07-22 | 1 | -4/+4 | |
| | ||||||
* | Split getter for mutation_observers() into two methods. | gatowololo | 2019-06-06 | 1 | -7/+14 | |
| | | | | | | | | | | | registered_mutation_observers() returns immutable references and does not init mutation observers. registered_mutation_observers_mut() lazily initializes raredata if it does not exist. Updated code that uses this methods to call appropriate method when mutation is not necessary. | |||||
* | Set self as containing_shadow_root for shadow roots | Fernando Jiménez Moreno | 2019-04-29 | 1 | -8/+0 | |
| | ||||||
* | Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r | Fernando Jiménez Moreno | 2019-04-29 | 1 | -35/+31 | |
| | | | | | Clarify special case for containing_shadow_root and add it to layout accessor | |||||
* | Do not lazy initialize RareData on its getters | Fernando Jiménez Moreno | 2019-04-26 | 1 | -30/+37 | |
| | ||||||
* | Rename shadow_root_from_node to containing_shadow_root | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+2 | |
| | ||||||
* | Set dirty descendants flag only for elements | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+3 | |
| | ||||||
* | Set dirty descendants if node is connected | Fernando Jiménez Moreno | 2019-04-26 | 1 | -14/+8 | |
| | ||||||
* | Make Node and Element rare_data an Option | Fernando Jiménez Moreno | 2019-04-26 | 1 | -11/+34 | |
| | ||||||
* | Optimize Node::GetRootNode | Fernando Jiménez Moreno | 2019-04-26 | 1 | -3/+9 | |
| | ||||||
* | Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestors | Fernando Jiménez Moreno | 2019-04-26 | 1 | -26/+29 | |
| | ||||||
* | Minor tweaks: rename composed_parent_node_ref, remove or update outdated ↵ | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+2 | |
| | | | | comments... | |||||
* | Move mutation observers list to NodeRareData | Fernando Jiménez Moreno | 2019-04-26 | 1 | -8/+3 | |
| | ||||||
* | Introduce NodeRareData and ElementRareData | Fernando Jiménez Moreno | 2019-04-26 | 1 | -9/+11 | |
| | ||||||
* | Introduce BindContext with in_doc and connected flags | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+15 | |
| | | | | Fix some is_in_doc -> is_connected mistakes | |||||
* | Document owner_shadow_root | Fernando Jiménez Moreno | 2019-04-26 | 1 | -3/+7 | |
| | ||||||
* | Do not store composed parent node | Fernando Jiménez Moreno | 2019-04-26 | 1 | -24/+23 | |
| | ||||||
* | Make StyleSheetListOwner an enum instead of a trait object | Fernando Jiménez Moreno | 2019-04-26 | 1 | -3/+4 | |
| | ||||||
* | Introduce ShadowIncluding enum for tree traversals | Fernando Jiménez Moreno | 2019-04-26 | 1 | -16/+22 | |
| | ||||||
* | Remove IS_CONNECTED flag when node is removed from the doc | Fernando Jiménez Moreno | 2019-04-26 | 1 | -0/+1 | |
| | ||||||
* | Do not set dirty out-of-doc nodes | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+1 | |
| | ||||||
* | Fix the way the IS_CONNECTED flag is set | Fernando Jiménez Moreno | 2019-04-26 | 1 | -9/+7 | |
| | ||||||
* | Fix formatting issues | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+3 | |
| | ||||||
* | Return composed parent node. Fixes style sharing panics | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+1 | |
| | ||||||
* | Retarget result of shadowRoot.element(s)FromPoint | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+4 | |
| | ||||||
* | ShadowRoot stylesheet list | Fernando Jiménez Moreno | 2019-04-26 | 1 | -0/+17 | |
| | ||||||
* | First bits of shadow dom layout | Fernando Jiménez Moreno | 2019-04-26 | 1 | -4/+11 | |
| | ||||||
* | Implement concept of shadow including tree order | Fernando Jiménez Moreno | 2019-04-26 | 1 | -21/+41 | |
| | ||||||
* | Throw NotSupported when trying to deep clone a shadow root | Fernando Jiménez Moreno | 2019-04-26 | 1 | -4/+9 | |
| | ||||||
* | Introduce concept of composed parent node | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+12 | |
| | ||||||
* | Bind/unbind shadow host children to/from tree | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+9 | |
| | ||||||
* | Set connected flag not only on elements | Fernando Jiménez Moreno | 2019-04-26 | 1 | -5/+7 | |
| | ||||||
* | Make note_dirty_descendants jump around shadow roots | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+1 | |
| |