aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Node retargeting algorithmFernando Jiménez Moreno2019-04-261-0/+31
|
* Add is_connected flag to node and use it to replace most uses of is_in_docFernando Jiménez Moreno2019-04-261-9/+17
|
* Implement shadow-including root, set node as in doc when connected. Makes JS ↵Fernando Jiménez Moreno2019-04-261-6/+24
| | | | work in shadow trees
* Expose Element.AttachShadow under dom.shadowdom.enabled prefFernando Jiménez Moreno2019-04-261-1/+1
|
* Node shadow root ownerFernando Jiménez Moreno2019-04-261-0/+16
|
* IS_IN_SHADOW_TREE flagFernando Jiménez Moreno2019-04-261-0/+9
|
* Partial ShadowRoot implementation of DocumentOrShadowRootFernando Jiménez Moreno2019-04-261-4/+10
|
* ShadowRoot interfaceFernando Jiménez Moreno2019-04-261-16/+18
|
* Implement CDATASection interface and createCDATASection methodGeorge Roman2019-03-141-8/+18
|
* Simplify RootedReference and make it specifically about slicesIt's now ↵Anthony Ramine2019-03-111-1/+1
| | | | called DomSlice<T>.
* Remove most RootedReference usesAnthony Ramine2019-03-101-33/+42
| | | | We can replace all uses of RootedReference for Option<T> by Option::deref calls.
* Make a bunch of layout queries morally saferAnthony Ramine2019-01-091-4/+8
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-11/+10
|
* Prevent JS execution and layout operations while DOM in inconsistent state.Josh Matthews2018-12-141-0/+12
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Update uuidBastien Orivel2018-11-091-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-2/+2
|
* Reorder importsPyfisch2018-11-061-8/+8
|