aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Rearrange directionality algorithm functionsDmitry Kolupaev2020-02-251-0/+19
| |
* | Avoid accessing node global during Node's destructor.Josh Matthews2020-02-241-12/+22
|/
* Auto merge of #25548 - pshaughn:docnamedgetter, r=jdmbors-servo2020-02-131-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 improvementsPatrick Shaughnessy2020-02-131-0/+29
| |
* | Event dispatch rewritten to resemble spec more often, activate on clicks betterPatrick Shaughnessy2020-02-121-0/+42
|/
* Remove outdated comment about #4105Patrick Shaughnessy2020-02-051-3/+2
|
* Add accountable-refcell as optional build time featureKunal Mohan2020-01-081-2/+2
|
* Auto merge of #25310 - pshaughn:attr_node, r=Manishearthbors-servo2020-01-071-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 methodsPatrick Shaughnessy2019-12-231-56/+203
| |
* | Now passing output tests as well as anyonePatrick Shaughnessy2020-01-061-0/+15
|/
* adding .isConnected DOM attributePatrick Shaughnessy2019-12-111-0/+5
|
* ISSUE-23995: lazily generate unique_id for nodeThomas Delacour2019-09-241-12/+17
|
* Return ErrorStatus from webdriver_handlersGeorge Roman2019-08-181-2/+6
|
* Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)Simon Sapin2019-07-311-29/+30
|
* Wrap(Global)Method now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-2/+3
| | | | as first argument.
* Update euclid.Emilio Cobos Álvarez2019-07-231-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 improvementsFernando Jiménez Moreno2019-07-221-29/+34
|
* Detach shadow clean upFernando Jiménez Moreno2019-07-221-4/+4
|
* Split getter for mutation_observers() into two methods.gatowololo2019-06-061-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 rootsFernando Jiménez Moreno2019-04-291-8/+0
|
* Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_rFernando Jiménez Moreno2019-04-291-35/+31
| | | | | Clarify special case for containing_shadow_root and add it to layout accessor
* Do not lazy initialize RareData on its gettersFernando Jiménez Moreno2019-04-261-30/+37
|
* Rename shadow_root_from_node to containing_shadow_rootFernando Jiménez Moreno2019-04-261-2/+2
|
* Set dirty descendants flag only for elementsFernando Jiménez Moreno2019-04-261-1/+3
|
* Set dirty descendants if node is connectedFernando Jiménez Moreno2019-04-261-14/+8
|
* Make Node and Element rare_data an OptionFernando Jiménez Moreno2019-04-261-11/+34
|
* Optimize Node::GetRootNodeFernando Jiménez Moreno2019-04-261-3/+9
|
* Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestorsFernando Jiménez Moreno2019-04-261-26/+29
|
* Minor tweaks: rename composed_parent_node_ref, remove or update outdated ↵Fernando Jiménez Moreno2019-04-261-2/+2
| | | | comments...
* Move mutation observers list to NodeRareDataFernando Jiménez Moreno2019-04-261-8/+3
|
* Introduce NodeRareData and ElementRareDataFernando Jiménez Moreno2019-04-261-9/+11
|
* Introduce BindContext with in_doc and connected flagsFernando Jiménez Moreno2019-04-261-1/+15
| | | | Fix some is_in_doc -> is_connected mistakes
* Document owner_shadow_rootFernando Jiménez Moreno2019-04-261-3/+7
|
* Do not store composed parent nodeFernando Jiménez Moreno2019-04-261-24/+23
|
* Make StyleSheetListOwner an enum instead of a trait objectFernando Jiménez Moreno2019-04-261-3/+4
|
* Introduce ShadowIncluding enum for tree traversalsFernando Jiménez Moreno2019-04-261-16/+22
|
* Remove IS_CONNECTED flag when node is removed from the docFernando Jiménez Moreno2019-04-261-0/+1
|
* Do not set dirty out-of-doc nodesFernando Jiménez Moreno2019-04-261-1/+1
|
* Fix the way the IS_CONNECTED flag is setFernando Jiménez Moreno2019-04-261-9/+7
|
* Fix formatting issuesFernando Jiménez Moreno2019-04-261-1/+3
|
* Return composed parent node. Fixes style sharing panicsFernando Jiménez Moreno2019-04-261-1/+1
|
* Retarget result of shadowRoot.element(s)FromPointFernando Jiménez Moreno2019-04-261-2/+4
|
* ShadowRoot stylesheet listFernando Jiménez Moreno2019-04-261-0/+17
|
* First bits of shadow dom layoutFernando Jiménez Moreno2019-04-261-4/+11
|
* Implement concept of shadow including tree orderFernando Jiménez Moreno2019-04-261-21/+41
|
* Throw NotSupported when trying to deep clone a shadow rootFernando Jiménez Moreno2019-04-261-4/+9
|
* Introduce concept of composed parent nodeFernando Jiménez Moreno2019-04-261-1/+12
|
* Bind/unbind shadow host children to/from treeFernando Jiménez Moreno2019-04-261-2/+9
|
* Set connected flag not only on elementsFernando Jiménez Moreno2019-04-261-5/+7
|
* Make note_dirty_descendants jump around shadow rootsFernando Jiménez Moreno2019-04-261-1/+1
|