Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/inline/middle-continuation-inherits-visibility-from-inline-parent.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/inline/middle-continuation-inherits-visibility-from-inline-parent.html b/third_party/WebKit/LayoutTests/fast/inline/middle-continuation-inherits-visibility-from-inline-parent.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a6ec758e5daa23f9cc54397952f1f4c30da04f3e |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/inline/middle-continuation-inherits-visibility-from-inline-parent.html |
| @@ -0,0 +1,28 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +a { |
| + background-color:red; |
| + width:100px; |
|
mstensho (USE GERRIT)
2017/04/19 09:32:48
width and height don't apply to inline, so these a
|
| + height:100px; |
| +} |
| +.hidden { |
| + visibility:hidden; |
| +} |
| +</style> |
| +<a href="#" class="hidden"> |
| + <div id="div">Inside a</div> |
| +</a> |
| +<p>crbug.com/706324: Middle continuations should inherit the style of their inline parent, so when the cursor is placed over the anonymous block it should remain a pointer.</p> |
| +<div id="console"> |
| + Test not run. |
| +</div> |
| +<script> |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
|
mstensho (USE GERRIT)
2017/04/19 09:32:48
Could you rewrite this as a testharness test? Then
|
| + if (window.eventSender) { |
| + eventSender.dragMode = false; |
| + eventSender.mouseMoveTo(10, 10); |
| + var originalInfo = window.internals.getCurrentCursorInfo(); |
| + document.getElementById("console").textContent = originalInfo; |
| + } |
| +</script> |