Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Auto merge of #23236 - swarnimarun:loop_patch, r=ferjm | bors-servo | 2019-04-29 | 2 | -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 Attribute | Swarnim Arun | 2019-04-26 | 2 | -7/+6 |
| | | |||||
* | | Auto merge of #22743 - ferjm:shadowdom, r=emilio | bors-servo | 2019-04-29 | 50 | -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 roots | Fernando Jiménez Moreno | 2019-04-29 | 2 | -8/+3 |
| | | | |||||
| * | | Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r | Fernando Jiménez Moreno | 2019-04-29 | 5 | -88/+94 |
| | | | | | | | | | | | | | | | 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 | 4 | -109/+101 |
| | | | |||||
| * | | Move StylesheetSetRef to script | Fernando Jiménez Moreno | 2019-04-26 | 3 | -3/+4 |
| | | | |||||
| * | | Rename shadow_root_from_node to containing_shadow_root | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+2 |
| | | | |||||
| * | | Rename StylesheetSet to StylesheetSetRef | Fernando Jiménez Moreno | 2019-04-26 | 3 | -9/+9 |
| | | | |||||
| * | | 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 | 2 | -15/+9 |
| | | | |||||
| * | | Make Node and Element rare_data an Option | Fernando Jiménez Moreno | 2019-04-26 | 5 | -58/+125 |
| | | | |||||
| * | | 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 | 8 | -56/+90 |
| | | | |||||
| * | | Minor tweaks: rename composed_parent_node_ref, remove or update outdated ↵ | Fernando Jiménez Moreno | 2019-04-26 | 5 | -38/+22 |
| | | | | | | | | | | | | comments... | ||||
| * | | Tweak list of shadow roots attached to doc | Fernando Jiménez Moreno | 2019-04-26 | 2 | -9/+10 |
| | | | |||||
| * | | Set IS_CONNECTED flag on host and children instead of on containing shadow root | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+1 |
| | | | |||||
| * | | Add custom elements related stuff into ElementRareData | Fernando Jiménez Moreno | 2019-04-26 | 5 | -34/+54 |
| | | | |||||
| * | | Move mutation observers list to NodeRareData | Fernando Jiménez Moreno | 2019-04-26 | 2 | -8/+7 |
| | | | |||||
| * | | Introduce NodeRareData and ElementRareData | Fernando Jiménez Moreno | 2019-04-26 | 4 | -17/+46 |
| | | | |||||
| * | | Introduce BindContext with in_doc and connected flags | Fernando Jiménez Moreno | 2019-04-26 | 21 | -84/+105 |
| | | | | | | | | | | | | Fix some is_in_doc -> is_connected mistakes | ||||
| * | | Register named elements in either the document or shadow tree | Fernando Jiménez Moreno | 2019-04-26 | 5 | -60/+127 |
| | | | |||||
| * | | Document owner_shadow_root | Fernando Jiménez Moreno | 2019-04-26 | 2 | -7/+10 |
| | | | |||||
| * | | 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 | 7 | -134/+177 |
| | | | |||||
| * | | Make StylesheetSet an enum instead of a trait object | Fernando Jiménez Moreno | 2019-04-26 | 3 | -13/+12 |
| | | | |||||
| * | | Do not send RemoveStyleSheet message for shadow roots | Fernando Jiménez Moreno | 2019-04-26 | 2 | -6/+6 |
| | | | |||||
| * | | Relax attachShadow restrictions for user agent widgets | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+11 |
| | | | |||||
| * | | Add invalidate_stylesheets to StyleSheetsListOwner trait | Fernando Jiménez Moreno | 2019-04-26 | 6 | -35/+17 |
| | | | |||||
| * | | Make StyleSheetListOwner implement JSTraceable | Fernando Jiménez Moreno | 2019-04-26 | 2 | -3/+2 |
| | | | |||||
| * | | Introduce ShadowIncluding enum for tree traversals | Fernando Jiménez Moreno | 2019-04-26 | 12 | -46/+54 |
| | | | |||||
| * | | Flush shadow roots stylesheets only if they changed | Fernando Jiménez Moreno | 2019-04-26 | 2 | -0/+32 |
| | | | |||||
| * | | 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 | 2 | -2/+2 |
| | | | |||||
| * | | Fix the way the IS_CONNECTED flag is set | Fernando Jiménez Moreno | 2019-04-26 | 3 | -16/+13 |
| | | | |||||
| * | | Fix formatting issues | Fernando Jiménez Moreno | 2019-04-26 | 2 | -9/+10 |
| | | | |||||
| * | | 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 | 3 | -10/+30 |
| | | | |||||
| * | | Fix Document.Element(s)FromPoint | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+1 |
| | | | |||||
| * | | Do not add shadow tree styles to stylist | Fernando Jiménez Moreno | 2019-04-26 | 2 | -8/+9 |
| | | | |||||
| * | | Invalidate and flush shadow tree stylesheets where needed | Fernando Jiménez Moreno | 2019-04-26 | 5 | -20/+75 |
| | | | |||||
| * | | Register/unregister shadow roots in documents when they are connected | Fernando Jiménez Moreno | 2019-04-26 | 2 | -6/+30 |
| | | | |||||
| * | | Expose a way to flush shadow root stylesheets from layout | Fernando Jiménez Moreno | 2019-04-26 | 1 | -6/+10 |
| | | | |||||
| * | | Implement TShadowRoot::style_data | Fernando Jiménez Moreno | 2019-04-26 | 2 | -2/+26 |
| | | | |||||
| * | | Remove stylesheets ownership from DocumentOrShadowRoot | Fernando Jiménez Moreno | 2019-04-26 | 5 | -66/+86 |
| | | | |||||
| * | | ShadowRoot stylesheet list | Fernando Jiménez Moreno | 2019-04-26 | 8 | -29/+93 |
| | | | |||||
| * | | Move stylesheets related code to DocumentOrShadowRoot | Fernando Jiménez Moreno | 2019-04-26 | 6 | -192/+207 |
| | | | |||||
| * | | First bits of shadow dom layout | Fernando Jiménez Moreno | 2019-04-26 | 3 | -8/+45 |
| | | | |||||
| * | | Always get browsing context from document | Fernando Jiménez Moreno | 2019-04-26 | 3 | -31/+39 |
| | | | |||||
| * | | Implement concept of shadow including tree order | Fernando Jiménez Moreno | 2019-04-26 | 13 | -41/+67 |
| | | |