mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Update web-platform-tests to revision 4accec3d14ccdc7b170017c0df299b954019f06f
This commit is contained in:
parent
630cf2745b
commit
b30b1992ac
50 changed files with 1015 additions and 760 deletions
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<body>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<textarea>
|
||||
a
|
||||
<script>document.querySelector('textarea').value = 'ggg';</script>
|
||||
b
|
||||
</textarea>
|
||||
<script>
|
||||
test(() => {
|
||||
let ta = document.querySelector('textarea');
|
||||
assert_equals(ta.selectionStart, 3);
|
||||
assert_equals(ta.selectionEnd, 3);
|
||||
}, 'Value setter while parsing textarea children should move ' +
|
||||
'selection{Start,End} to the end');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue