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

Side by Side Diff: LayoutTests/fast/css/crash-corner-present.html

Issue 978753002: Crash test for 400997. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/crash-corner-present-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #scrollable {
4 width: 100px;
5 height: 50px;
6 overflow-x: scroll;
7 }
8
9 #scrollable::-webkit-scrollbar {
10 background-color: blue;
11 height: 50px;
12 }
13
14 #scrollable::-webkit-scrollbar:corner-present {
15 background-color: blue;
16 }
17
18 #filler {
19 width: 200px;
20 }
21 </style>
22 <script>
23 if (window.testRunner) {
24 testRunner.dumpAsText();
25 testRunner.waitUntilDone();
26 }
27
28 function removeScrollbars() {
29 requestAnimationFrame(function(){
30 scrollable.style.overflow = 'visible';
31 if (window.eventSender)
32 eventSender.mouseUp();
33 if (window.testRunner)
34 testRunner.notifyDone();
35 });
36 }
37 </script>
38 <p>Click the blue rectangle below - PASS if no crash.</p>
39 <div id="scrollable" onmousedown="removeScrollbars();">
40 <div id="filler">&nbsp;</div>
41 </div>
42 <script>
43 if (window.eventSender) {
44 eventSender.mouseMoveTo(scrollable.offsetLeft + 1, scrollable.offsetTop + 1) ;
45 eventSender.mouseDown();
46 }
47 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/crash-corner-present-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698