diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-02-11 00:27:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 00:27:17 -0500 |
commit | 3725273870c83a66622a60198e8cb1895dd409d6 (patch) | |
tree | c4fab28ae6cea655c22ff088c6a494d738a82abd /components/script/dom/blob.rs | |
parent | 8e657877379eaabc0540eaeffb49f6f67879432f (diff) | |
parent | 0eeb075ecd68f79281d99721efe78709c63486e1 (diff) | |
download | servo-3725273870c83a66622a60198e8cb1895dd409d6.tar.gz servo-3725273870c83a66622a60198e8cb1895dd409d6.zip |
Auto merge of #25719 - pshaughn:controlbeforeform, r=jdm
Make HTMLFormControlsCollection rooted at the form's root, not rooted at the form itself
<!-- Please describe your changes on the following line: -->
We'd been misreading the first line of https://html.spec.whatwg.org/#dom-form-elements. The collection needs to be rooted higher than the form itself, so it can contain form controls elsewhere in the document with a form= content attribute. It is, as far as I can tell, unspecified whether "rooted at the form's root" is meant to live-update to a new root if the form is moved to another tree, and I'm assuming it doesn't have to.
---
<!-- 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 #25711
<!-- 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. -->
Diffstat (limited to 'components/script/dom/blob.rs')
0 files changed, 0 insertions, 0 deletions