mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Auto merge of #25373 - pshaughn:ce_options_string, r=jdm
let document.createElement[NS] accept a string for options The string actually does nothing, but spec and WPT don't want it to do anything. https://dom.spec.whatwg.org/#dom-document-createelement only cares about the options value when it's a dictionary, and the WPT test on the string case is just that it isn't throwing an exception. --- <!-- 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 #25008 <!-- 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
dadbc36f8c
5 changed files with 24 additions and 18 deletions
|
@ -1,7 +1,3 @@
|
|||
[Document-createElement.html]
|
||||
[document.createElement must create an instance of autonomous custom elements when it has is attribute]
|
||||
expected: FAIL
|
||||
|
||||
[document.createElement()'s second argument is to be ignored when it's a string]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[Document-createElementNS.html]
|
||||
[document.createElementNS()'s third argument is to be ignored when it's a string]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue