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

Side by Side 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 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .container {
6 position: absolute;
7 left: 550px;
8 height: 200px;
9 width: 200px;
10 background-color: silver;
11 }
12 #target {
13 text-indent: -300px;
14 width: 200px;
15 height: 50px;
16 overflow: hidden;
17 background-color: green;
18 }
19
20 #target.changed, #target:hover {
21 background-color: blue;
22 }
23 </style>
24 <script src="resources/text-based-repaint.js"></script>
25 <script>
26 function repaintTest() {
27 document.getElementById('target').classList.add('changed');
28 }
29 </script>
30 </head>
31 <body onload="runRepaintTest();">
32 <div class="container">
33 <div id="target">Hidden Text</div>
34 </div>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698