Chromium Code Reviews| Index: Source/web/tests/data/composited_selection_bounds_transformed.html |
| diff --git a/Source/web/tests/data/composited_selection_bounds_transformed.html b/Source/web/tests/data/composited_selection_bounds_transformed.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5ad9cde7948288714fb3ae245419a29f6de86451 |
| --- /dev/null |
| +++ b/Source/web/tests/data/composited_selection_bounds_transformed.html |
| @@ -0,0 +1,23 @@ |
| +<style> |
| + @font-face { |
| + font-family: ahem; |
| + src: url(Ahem.ttf); |
| + } |
| + * { |
| + font-family: ahem; |
| + } |
| + #text { |
| + transform: rotate(30deg); |
|
chrishtr
2014/09/19 00:17:42
Is the code supposed to do something reasonable fo
trchen
2014/09/19 00:28:12
Actually 2D transform is the more difficult case h
chrishtr
2014/09/19 00:47:41
Ah right. :)
|
| + } |
| +</style> |
| +<div id="text">The quick brown fox jumped over the lazy dog.</div> |
| +<script> |
| + var range = document.createRange(); |
| + var textNode = document.getElementById("text").firstChild; |
| + range.setStart(textNode, 10); |
| + range.setEnd(textNode, 25); |
| + document.getSelection().addRange(range); |
| + |
| + window.expectedResult = [document, 157, -87, 151, -77, document, 313, 3, 307, 13]; |
| +</script> |
| + |