| Index: LayoutTests/fast/text/selection-with-inline-padding-expected.html
|
| diff --git a/LayoutTests/fast/text/selection-with-inline-padding-expected.html b/LayoutTests/fast/text/selection-with-inline-padding-expected.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b4c4bd265d22d86a443dec9372bba095a966dc1d
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/text/selection-with-inline-padding-expected.html
|
| @@ -0,0 +1,27 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <title>Test paddings and selection for inline elements</title>
|
| + <style>
|
| + p > b, pre > b { padding: 0 10px; }
|
| + </style>
|
| + </head>
|
| + <body>
|
| + <p>
|
| + Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br>
|
| + <b id="test">Sed dictum erat sit amet pharetra pretium.</b><br>
|
| + Nullam a est vitae orci tempus tincidunt nec at dolor.
|
| + </p>
|
| + <p>
|
| + Tests that selections do not include padding in the Y direction for
|
| + inline elements where it should be ignored.
|
| + </p>
|
| + <script>
|
| + var node = document.getElementById('test').firstChild;
|
| + var range = document.createRange();
|
| + range.setStart(node, 5);
|
| + range.setEnd(node, node.length - 5);
|
| + window.getSelection().addRange(range);
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|