Fernando Jiménez Moreno
|
37e88e77cd
|
Set self as containing_shadow_root for shadow roots
|
2019-04-29 12:15:16 +02:00 |
|
Fernando Jiménez Moreno
|
68bee1c771
|
Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r
Clarify special case for containing_shadow_root and add it to layout
accessor
|
2019-04-29 12:02:04 +02:00 |
|
Fernando Jiménez Moreno
|
9b2eb77530
|
Do not lazy initialize RareData on its getters
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
d0b2e826ef
|
Move StylesheetSetRef to script
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
9d52feffbb
|
Rename shadow_root_from_node to containing_shadow_root
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
e4f34fde1b
|
Rename StylesheetSet to StylesheetSetRef
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
9df1c2f2cc
|
Revert unnecessary format changes
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
3f312f7915
|
Set dirty descendants flag only for elements
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
ccc4f7c377
|
Add dom.shadowdom.enabled to preferences list
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
59c634b259
|
Set dirty descendants if node is connected
|
2019-04-26 12:00:26 +02:00 |
|
Fernando Jiménez Moreno
|
6bf1ca20a2
|
Make Node and Element rare_data an Option
|
2019-04-26 12:00:25 +02:00 |
|
Fernando Jiménez Moreno
|
f6069630d2
|
Update tests manifest
|
2019-04-26 11:42:38 +02:00 |
|
Fernando Jiménez Moreno
|
890297ef0a
|
Optimize Node::GetRootNode
|
2019-04-26 11:42:38 +02:00 |
|
Fernando Jiménez Moreno
|
8eba587547
|
Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestors
|
2019-04-26 11:42:38 +02:00 |
|
Fernando Jiménez Moreno
|
0ca4792dc6
|
Revert changes in sheet_set_methods macro
|
2019-04-26 11:42:38 +02:00 |
|
Fernando Jiménez Moreno
|
efbfc0f939
|
Make devtools find node by unique id function include shadow trees
|
2019-04-26 11:42:38 +02:00 |
|
Fernando Jiménez Moreno
|
5a165c6bd8
|
Move is_connected function from style to layout, where it is used
|
2019-04-26 11:42:38 +02:00 |
|
Fernando Jiménez Moreno
|
5be6779f9a
|
Revert style/dom_apis changes
|
2019-04-26 11:42:37 +02:00 |
|
Fernando Jiménez Moreno
|
bdd2f32c0f
|
Minor tweaks: rename composed_parent_node_ref, remove or update outdated comments...
|
2019-04-26 11:42:37 +02:00 |
|
Fernando Jiménez Moreno
|
0313e38074
|
Tweak list of shadow roots attached to doc
|
2019-04-26 11:42:37 +02:00 |
|
Fernando Jiménez Moreno
|
b8925a0297
|
Set IS_CONNECTED flag on host and children instead of on containing shadow root
|
2019-04-26 11:42:37 +02:00 |
|
Fernando Jiménez Moreno
|
1427c43620
|
Update size of tests after *RareData changes
|
2019-04-26 11:42:37 +02:00 |
|
Fernando Jiménez Moreno
|
c75da615bd
|
Add custom elements related stuff into ElementRareData
|
2019-04-26 11:31:19 +02:00 |
|
Fernando Jiménez Moreno
|
a9019da39d
|
Move mutation observers list to NodeRareData
|
2019-04-26 11:31:19 +02:00 |
|
Fernando Jiménez Moreno
|
6af4729f42
|
Introduce NodeRareData and ElementRareData
|
2019-04-26 11:31:19 +02:00 |
|
Fernando Jiménez Moreno
|
813b242419
|
Introduce BindContext with in_doc and connected flags
Fix some is_in_doc -> is_connected mistakes
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
740aae06ba
|
Register named elements in either the document or shadow tree
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
ccf8a43649
|
Document owner_shadow_root
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
ea1fe15dfe
|
Do not store composed parent node
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
542699691e
|
Derive MallocSizeOf for QuirksMode
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
2350f0e3d1
|
Make StyleSheetListOwner an enum instead of a trait object
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
8b353ee3ce
|
Make StylesheetSet an enum instead of a trait object
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
3e53962b25
|
Do not send RemoveStyleSheet message for shadow roots
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
3e63655018
|
Make ServoShadowRoot.flush_stylesheets unsafe
|
2019-04-26 11:31:18 +02:00 |
|
Fernando Jiménez Moreno
|
67c90a0717
|
Relax attachShadow restrictions for user agent widgets
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
d77b9c6775
|
Add invalidate_stylesheets to StyleSheetsListOwner trait
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
3dd38151d4
|
Make StyleSheetListOwner implement JSTraceable
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
3ccd622c9b
|
Introduce ShadowIncluding enum for tree traversals
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
2674a3e717
|
Flush shadow roots stylesheets only if they changed
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
a841c713d6
|
Minor layout thread cleanups:
- lifetime naming
- unrequired reference removal
- containing_shadow_host getter simplification
- use stylist.device getter where possible
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
00178aff4d
|
Derive PartialEq for ServoShadowRoot
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
57fa6b1c51
|
Update expectations for cssom tests
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
39c96acbbe
|
Remove IS_CONNECTED flag when node is removed from the doc
|
2019-04-26 11:31:17 +02:00 |
|
Fernando Jiménez Moreno
|
d7b6a6f509
|
Do not set dirty out-of-doc nodes
|
2019-04-26 11:31:16 +02:00 |
|
Fernando Jiménez Moreno
|
e66438de48
|
Fix the way the IS_CONNECTED flag is set
|
2019-04-26 11:31:16 +02:00 |
|
Fernando Jiménez Moreno
|
0d2f65baea
|
Shadow DOM layout and style reftest
|
2019-04-26 11:31:16 +02:00 |
|
Fernando Jiménez Moreno
|
2515966db6
|
Fix formatting issues
|
2019-04-26 11:31:16 +02:00 |
|
Fernando Jiménez Moreno
|
067acdfd27
|
Update size of tests with shadow root size
|
2019-04-26 11:31:16 +02:00 |
|
Fernando Jiménez Moreno
|
f097233707
|
Update test expectations and whitelist ShadowRoot interface
|
2019-04-26 10:17:48 +02:00 |
|
Fernando Jiménez Moreno
|
efce2825b9
|
Return composed parent node. Fixes style sharing panics
|
2019-04-26 10:17:48 +02:00 |
|