mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
auto merge of #4736 : mattnenterprise/servo/dispatch_input_event, r=jdm
This commit is contained in:
commit
65d4b12bf2
3 changed files with 64 additions and 10 deletions
15
tests/html/test_textarea_input.html
Normal file
15
tests/html/test_textarea_input.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="textarea">
|
||||
</textarea>
|
||||
</body>
|
||||
<script>
|
||||
var area = document.getElementById('textarea');
|
||||
area.addEventListener('input', function() {
|
||||
alert('input detected');
|
||||
});
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue