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

Unified Diff: LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html

Issue 1065783002: Remove legacy markup box behavior when line-clamping. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename new layout test to reflect intent. Created 5 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html
diff --git a/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html b/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html
deleted file mode 100644
index 88c65d8e8ac7018977ef79aad52db4b6e9d54bc2..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-<style>
-span#container {
- display: inline-block; /* clamp the width of the enclosing P to its contents */
-}
-
-div#flexbox {
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- display: -webkit-box;
- overflow-y: hidden;
-}
-</style>
-</head>
-<body>
-<span id="container">
- <div id="flexbox">line one<br>line two<a id="link" href="#" onclick="this.textContent='clicked'">not clicked</a></div>
-</span>
-<script>
-description('Test that links painted after the ellipsis of a flexbox using -webkit-line-clamp is hit-testable.');
-
-var divRect = document.getElementById("flexbox").getBoundingClientRect();
-var aRect = document.getElementById("link").getBoundingClientRect();
-var clickX = divRect.left + divRect.width - (aRect.width / 2);
-var clickY = divRect.top + divRect.height - (aRect.height / 2);
-
-if (window.eventSender) {
- eventSender.mouseMoveTo(clickX, clickY);
- eventSender.mouseDown();
- eventSender.mouseUp();
-}
-
-shouldBeEqualToString("document.getElementsByTagName('a')[0].textContent", "clicked");
-</script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698