mirror of
https://github.com/servo/servo.git
synced 2025-09-01 02:28:21 +01:00
Auto merge of #25410 - pshaughn:ceupgrade, r=jdm
Implement CustomElementRegistry.upgrade <!-- Please describe your changes on the following line: --> An additional small change will be needed if whatwg/html#5126 lands, which will pass an infinite recursion test this is currently failing in custom-elements/upgrading.html (right now the test is asking for behavior that isn't in the spec). The remaining test in custom-elements/custom-element-registry/upgrade.html is because it needs shadow DOM. --- <!-- 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 #24989 <!-- 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. -->
This commit is contained in:
commit
171b543a8a
4 changed files with 13 additions and 15 deletions
|
@ -1,16 +1,4 @@
|
|||
[upgrade.html]
|
||||
[Upgrading an element directly (example from the spec)]
|
||||
expected: FAIL
|
||||
|
||||
[Two elements as children of the upgraded node]
|
||||
expected: FAIL
|
||||
|
||||
[Two elements as descendants of the upgraded node]
|
||||
expected: FAIL
|
||||
|
||||
[Two elements as shadow-including descendants (and not descendants) of the upgraded node]
|
||||
expected: FAIL
|
||||
|
||||
[Elements inside a template contents DocumentFragment node]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -62,9 +62,6 @@
|
|||
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "getTransform()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[CustomElementRegistry interface: operation upgrade(Node)]
|
||||
expected: FAIL
|
||||
|
||||
[OffscreenCanvasRenderingContext2D interface: attribute imageSmoothingEnabled]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue