aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #23236 - swarnimarun:loop_patch, r=ferjmbors-servo2019-04-292-7/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23236) <!-- Reviewable:end -->
| * Implement HTMLMediaElement.loop AttributeSwarnim Arun2019-04-262-7/+6
| |
* | Auto merge of #22743 - ferjm:shadowdom, r=emiliobors-servo2019-04-2950-630/+1694
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial ShadowDOM support This is just an early WIP, not to take it very seriously yet. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] These changes fix #22719 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22743) <!-- Reviewable:end -->
| * | Set self as containing_shadow_root for shadow rootsFernando Jiménez Moreno2019-04-292-8/+3
| | |
| * | Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_rFernando Jiménez Moreno2019-04-295-88/+94
| | | | | | | | | | | | | | | 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-264-109/+101
| | |
| * | Move StylesheetSetRef to scriptFernando Jiménez Moreno2019-04-263-3/+4
| | |
| * | Rename shadow_root_from_node to containing_shadow_rootFernando Jiménez Moreno2019-04-261-2/+2
| | |
| * | Rename StylesheetSet to StylesheetSetRefFernando Jiménez Moreno2019-04-263-9/+9
| | |
| * | 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-262-15/+9
| | |
| * | Make Node and Element rare_data an OptionFernando Jiménez Moreno2019-04-265-58/+125
| | |
| * | Optimize Node::GetRootNodeFernando Jiménez Moreno2019-04-261-3/+9
| | |
| * | Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestorsFernando Jiménez Moreno2019-04-268-56/+90
| | |
| * | Minor tweaks: rename composed_parent_node_ref, remove or update outdated ↵Fernando Jiménez Moreno2019-04-265-38/+22
| | | | | | | | | | | | comments...
| * | Tweak list of shadow roots attached to docFernando Jiménez Moreno2019-04-262-9/+10
| | |
| * | Set IS_CONNECTED flag on host and children instead of on containing shadow rootFernando Jiménez Moreno2019-04-261-1/+1
| | |
| * | Add custom elements related stuff into ElementRareDataFernando Jiménez Moreno2019-04-265-34/+54
| | |
| * | Move mutation observers list to NodeRareDataFernando Jiménez Moreno2019-04-262-8/+7
| | |
| * | Introduce NodeRareData and ElementRareDataFernando Jiménez Moreno2019-04-264-17/+46
| | |
| * | Introduce BindContext with in_doc and connected flagsFernando Jiménez Moreno2019-04-2621-84/+105
| | | | | | | | | | | | Fix some is_in_doc -> is_connected mistakes
| * | Register named elements in either the document or shadow treeFernando Jiménez Moreno2019-04-265-60/+127
| | |
| * | Document owner_shadow_rootFernando Jiménez Moreno2019-04-262-7/+10
| | |
| * | 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-267-134/+177
| | |
| * | Make StylesheetSet an enum instead of a trait objectFernando Jiménez Moreno2019-04-263-13/+12
| | |
| * | Do not send RemoveStyleSheet message for shadow rootsFernando Jiménez Moreno2019-04-262-6/+6
| | |
| * | Relax attachShadow restrictions for user agent widgetsFernando Jiménez Moreno2019-04-261-2/+11
| | |
| * | Add invalidate_stylesheets to StyleSheetsListOwner traitFernando Jiménez Moreno2019-04-266-35/+17
| | |
| * | Make StyleSheetListOwner implement JSTraceableFernando Jiménez Moreno2019-04-262-3/+2
| | |
| * | Introduce ShadowIncluding enum for tree traversalsFernando Jiménez Moreno2019-04-2612-46/+54
| | |
| * | Flush shadow roots stylesheets only if they changedFernando Jiménez Moreno2019-04-262-0/+32
| | |
| * | 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-262-2/+2
| | |
| * | Fix the way the IS_CONNECTED flag is setFernando Jiménez Moreno2019-04-263-16/+13
| | |
| * | Fix formatting issuesFernando Jiménez Moreno2019-04-262-9/+10
| | |
| * | 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-263-10/+30
| | |
| * | Fix Document.Element(s)FromPointFernando Jiménez Moreno2019-04-261-1/+1
| | |
| * | Do not add shadow tree styles to stylistFernando Jiménez Moreno2019-04-262-8/+9
| | |
| * | Invalidate and flush shadow tree stylesheets where neededFernando Jiménez Moreno2019-04-265-20/+75
| | |
| * | Register/unregister shadow roots in documents when they are connectedFernando Jiménez Moreno2019-04-262-6/+30
| | |
| * | Expose a way to flush shadow root stylesheets from layoutFernando Jiménez Moreno2019-04-261-6/+10
| | |
| * | Implement TShadowRoot::style_dataFernando Jiménez Moreno2019-04-262-2/+26
| | |
| * | Remove stylesheets ownership from DocumentOrShadowRootFernando Jiménez Moreno2019-04-265-66/+86
| | |
| * | ShadowRoot stylesheet listFernando Jiménez Moreno2019-04-268-29/+93
| | |
| * | Move stylesheets related code to DocumentOrShadowRootFernando Jiménez Moreno2019-04-266-192/+207
| | |
| * | First bits of shadow dom layoutFernando Jiménez Moreno2019-04-263-8/+45
| | |
| * | Always get browsing context from documentFernando Jiménez Moreno2019-04-263-31/+39
| | |
| * | Implement concept of shadow including tree orderFernando Jiménez Moreno2019-04-2613-41/+67
| | |