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

Side by Side Diff: LayoutTests/scrollbars/scrollbar-percent-padding-crash.html

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 ::-webkit-scrollbar { 5 ::-webkit-scrollbar {
6 -webkit-padding-start: 1%; background: #666 -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.5)), color-stop(0.5, rgba(255,255,255,0.1)), color-stop(0.5, rgba(0,0,0,0)), to(rgba(0,0,0,0.01))); 6 -webkit-padding-start: 1%; background: #666 -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.5)), color-stop(0.5, rgba(255,255,255,0.1)), color-stop(0.5, rgba(0,0,0,0)), to(rgba(0,0,0,0.01)));
7 } 7 }
8 </style> 8 </style>
9 <script> 9 <script>
10 function runTest() { 10 function runTest() {
11 if (window.testRunner) { 11 if (window.testRunner) {
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 document.body.offsetTop; 13 document.body.offsetTop;
14 testRunner.display();
15 } 14 }
16 }; 15 };
17 </script> 16 </script>
18 </head> 17 </head>
19 <body onload="runTest()"> 18 <body onload="runTest()">
20 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=86162">bug 86162</a >: 19 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=86162">bug 86162</a >:
21 This tests that there is no crash when using percentage value for scrollbar's pa dding property. On success you should see a frame with scrollbars and one PASS m essage in it. 20 This tests that there is no crash when using percentage value for scrollbar's pa dding property. On success you should see a frame with scrollbars and one PASS m essage in it.
22 <div style="height: 1000px;"></div> 21 <div style="height: 1000px;"></div>
23 </body> 22 </body>
24 </html> 23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/tracing.html ('k') | LayoutTests/svg/custom/non-scaling-stroke-update.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698