5 meter::-webkit-meter-bar {
6 -webkit-user-modify: read-write;
10 -webkit-appearance: none;
15 <script src=
"../../resources/js-test.js"></script>
17 <p>The inner element of meter should not be deleteable.
</p>
19 <div id=
"container" contenteditable
>
20 (before)
<meter id=
"meter" min=
"0" max=
"100" value=
"50"></meter>(after)
24 function focusAndType(id
, key
)
26 var target
= document
.getElementById(id
);
27 eventSender
.mouseMoveTo(target
.offsetLeft
+ 2, target
.offsetTop
+ 2);
28 eventSender
.mouseDown();
29 eventSender
.mouseUp();
30 eventSender
.keyDown(key
);
33 var container
= document
.getElementById("container");
34 layoutTreeBeforeType
= internals
.elementLayoutTreeAsText(document
.documentElement
);
36 focusAndType("meter", "X");
38 layoutTreeAfterType
= internals
.elementLayoutTreeAsText(document
.documentElement
);
39 shouldBe("layoutTreeAfterType", "layoutTreeBeforeType");
41 var successfullyParsed
= true;