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

Side by Side Diff: LayoutTests/fullscreen/full-screen-crash-offsetLeft.html

Issue 944923004: rendering/RenderBoxModelObject -> layout/LayoutBoxModelObject (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
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-crash-offsetLeft-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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <video></video> 4 <video></video>
5 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=89785">Bug 89785</a>: REGRES SION(r116446): Crash in RenderBoxModelObject::adjustedPositionRelativeToOffsetPa rent</p> 5 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=89785">Bug 89785</a>: REGRES SION(r116446): Crash in LayoutBoxModelObject::adjustedPositionRelativeToOffsetPa rent</p>
6 <script src="full-screen-test.js"></script> 6 <script src="full-screen-test.js"></script>
7 <script> 7 <script>
8 if (!window.testRunner) 8 if (!window.testRunner)
9 consoleWrite("To manually test this bug, switch to fullscreen. It should n't crash."); 9 consoleWrite("To manually test this bug, switch to fullscreen. It should n't crash.");
10 10
11 video = document.getElementsByTagName("video")[0]; 11 video = document.getElementsByTagName("video")[0];
12 var fullscreenChanged = function(event) 12 var fullscreenChanged = function(event)
13 { 13 {
14 video.offsetLeft; 14 video.offsetLeft;
15 video.offsetTop; 15 video.offsetTop;
16 consoleWrite("PASSED, the page didn't crash."); 16 consoleWrite("PASSED, the page didn't crash.");
17 endTest(); 17 endTest();
18 }; 18 };
19 document.addEventListener('webkitfullscreenchange', fullscreenChanged); 19 document.addEventListener('webkitfullscreenchange', fullscreenChanged);
20 20
21 runWithKeyDown(function () { 21 runWithKeyDown(function () {
22 video.webkitRequestFullScreen(); 22 video.webkitRequestFullScreen();
23 }); 23 });
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-crash-offsetLeft-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698