mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Implement element.innerText setter
This commit is contained in:
parent
7945dff8ea
commit
d64bf623f6
4 changed files with 60 additions and 370 deletions
|
@ -9,6 +9,7 @@
|
|||
// tests a not-rendered case.
|
||||
|
||||
function setupTest(context, plain) {
|
||||
var container = document.getElementById("container");
|
||||
// context is either a string or an element node
|
||||
if (typeof context === "string") {
|
||||
container.innerHTML = context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue