mirror of
https://github.com/servo/servo.git
synced 2025-08-29 00:58:20 +01:00
Auto merge of #19754 - ferjm:innertext, r=mbrubeck
Implement element.innerText getter <!-- 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/19754) <!-- Reviewable:end -->
This commit is contained in:
commit
9e64008e75
16 changed files with 844 additions and 16 deletions
|
@ -15,6 +15,8 @@
|
|||
<div id="container"></div>
|
||||
<svg id="svgContainer"></svg>
|
||||
<script>
|
||||
let container = document.querySelector('#container');
|
||||
let svgContainer = document.querySelector('#svgContainer');
|
||||
function testText(html, expectedPlain, msg) {
|
||||
textTextInContainer(container, html, expectedPlain, msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue