Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/forms/checkbox/checkbox-change-event-free.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/checkbox/checkbox-change-event-free.html b/third_party/WebKit/LayoutTests/fast/forms/checkbox/checkbox-change-event-free.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e77cd9cb0f3dce86498418e2fc84d6ce86fd8512 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/forms/checkbox/checkbox-change-event-free.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
|
tkent
2015/09/25 00:44:45
This is a pixel test unnecessarily.
Please include
Oliver Chang
2015/09/25 04:06:03
Sorry, wasn't too familiar with these layout tests
|
| +<body> |
| + |
| +<label><input type=checkbox></label> |
| +<script> |
| +var label = document.querySelector('label'); |
| +var checkbox = document.querySelector('input'); |
| +checkbox.addEventListener('change', function() { |
| + this.removeAttribute('type'); |
| +}); |
| +label.click(); |
| +</script> |
| +</body> |