Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html |
| diff --git a/third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html b/third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..03f7eb987217891d3df2429b419cba5e029793ea |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
| +<script src="../../../resources/testharness.js"></script> |
| +<script src="../../../resources/testharnessreport.js"></script> |
| +<div id="div"> |
| +<textarea id="textarea" readonly="readonly"> |
| +foo |
| +</textarea></div> |
| +<script> |
| +test(function(){ |
|
yosin_UTC9
2016/11/30 05:32:11
Could you add assert_*? What behavior do you expec
|
| + textarea.focus(); |
| + window.getSelection().extend(div); |
|
yosin_UTC9
2016/11/30 05:32:11
Since selection anchor position is inside TEXTAREA
|
| +}); |
| +</script> |