Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement Element.insertAdjacentHTML #11622
Closed
Comments
|
Just noticed that |
|
I take it. |
Merged
bors-servo
added a commit
that referenced
this issue
Jun 8, 2016
Insert adjacent Fixes #11622. r? @nox <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11668) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Jun 8, 2016
Insert adjacent Fixes #11622. r? @nox <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11668) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Jun 8, 2016
Insert adjacent Fixes #11622. r? @nox <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11668) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the spec.
In a first commit, extract the matching of
where_fromElement::insert_adjacentand introduce a new enumAdjacentPosition. This enum should then be passed instead ofwhere_toElement::insert_adjacent. This requires updating its two callersInsertAdjacentElementandInsertAdjacentText.In a second commit, use
AdjacentPositionandElement::insert_adjacentto implementElement::InsertAdjacentHTMLcorrectly.Files: