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

Side by Side Diff: LayoutTests/fast/events/resources/subframe-with-scrollable-div.html

Issue 9600027: Merge 106476 - Source/WebCore: preventDefault() in a mousedown in a subframe should not (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/scroll-div-with-prevent-default-in-subframe.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html><body> 1 <html><body>
2 <div id="scrollable" style="overflow-y:scroll;height:500px"> 2 <div id="scrollable" style="overflow-y:scroll;height:500px">
3 <div style="height:1000px;width:500px;"> 3 <div style="height:1000px;width:500px;">
4 Scrollable content. 4 Scrollable content.
5 </div> 5 </div>
6 </div> 6 </div>
7 <script type="text/javascript"> 7 <script type="text/javascript">
8 document.getElementById('scrollable').addEventListener('mousedown', 8 document.getElementById('scrollable').addEventListener('mousedown',
9 function(evt) { 9 function(evt) {
10 evt.preventDefault(); 10 evt.preventDefault();
11 }); 11 });
12 </script></body></html> 12 </script></body></html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/scroll-div-with-prevent-default-in-subframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698