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

Side by Side Diff: LayoutTests/fast/layers/crash-remove-scrollbar-no-scrollable-area.html

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 <style> 2 <style>
3 .c2 { overflow: scroll; background: aqua; } 3 .c2 { overflow: scroll; background: aqua; }
4 .c6 { -webkit-column-count: 2;} 4 .c6 { -webkit-column-count: 2;}
5 </style> 5 </style>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 9
10 function boom() { 10 function boom() {
11 var select = document.createElement('select'); 11 var select = document.createElement('select');
12 select.setAttribute('size', '65536'); 12 select.setAttribute('size', '65536');
13 select.setAttribute('class', 'c2'); 13 select.setAttribute('class', 'c2');
14 document.documentElement.appendChild(select); 14 document.documentElement.appendChild(select);
15 document.body.offsetTop; 15 document.body.offsetTop;
16 select.setAttribute('class', 'c6'); 16 select.setAttribute('class', 'c6');
17 document.body.offsetTop; 17 document.body.offsetTop;
18 } 18 }
19 window.onload = boom; 19 window.onload = boom;
20 </script> 20 </script>
21 <div>This test checks that RenderLayer doesn't crash because it is missing a Scr ollableArea.</div> 21 <div>This test checks that Layer doesn't crash because it is missing a Scrollabl eArea.</div>
22 <div>This test has PASSED if it didn't CRASH.</div> 22 <div>This test has PASSED if it didn't CRASH.</div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698