Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: third_party/WebKit/LayoutTests/fast/inline/middle-continuation-inherits-visibility-from-inline-parent.html

Issue 2806123002: Restore behaviour of middle anonymous blocks inheriting style from inline parents (Closed)
Patch Set: bug 706324 Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698