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

Unified Diff: LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html

Issue 81833005: [REGRESSION] Button cannot be clicked with text-indent : -99999999px after r143483. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Put new change into a random spot Created 7 years, 1 month 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: LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html
diff --git a/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html b/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html
new file mode 100644
index 0000000000000000000000000000000000000000..049fc1283faec358df16c4ca23f51c48c504667e
--- /dev/null
+++ b/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ .container {
+ position: absolute;
+ left: 550px;
+ height: 200px;
+ width: 200px;
+ background-color: silver;
+ }
+ #target {
+ text-indent: -300px;
+ width: 200px;
+ height: 50px;
+ overflow: hidden;
+ background-color: green;
+ }
+
+ #target.changed, #target:hover {
+ background-color: blue;
+ }
+ </style>
+ <script src="resources/text-based-repaint.js"></script>
+ <script>
+ function repaintTest() {
+ document.getElementById('target').classList.add('changed');
+ }
+ </script>
+</head>
+<body onload="runRepaintTest();">
+ <div class="container">
+ <div id="target">Hidden Text</div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698