| <!DOCTYPE html> |
| <html> |
| <head> |
| <link rel="stylesheet" href="resources/compositor-touch-hit-rects.css"> |
| <style> |
| svg { |
| width: 100px; |
| height: 10px; |
| } |
| </style> |
| </head> |
| <body> |
| <p id="description"> |
| This tests verifies the hit test regions given to the compositor for svg elements. |
| It can only be run in DumpRenderTree.</p> |
| |
| <div id="tests"> |
| <div> |
| <svg id="svg2"> |
| <line class="testcase" id="svgline" x1="0" y1="5" x2="20" y2="5" stroke-width="3" stroke="black"/> |
| <line x1="40" y1="5" x2="60" y2="5" stroke-width="3" stroke="black"/> |
| </svg> |
| </div> |
| </div> |
| |
| <div id="console"></div> |
| <script src="resources/compositor-touch-hit-rects.js"></script> |
| </body> |