Index: third_party/WebKit/LayoutTests/fullscreen/orthogonal-writing-mode-full-screen-reattach-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fullscreen/orthogonal-writing-mode-full-screen-reattach-crash.html b/third_party/WebKit/LayoutTests/fullscreen/orthogonal-writing-mode-full-screen-reattach-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e0f0c3e2f4ecf8b4e539d454a4fba6f67e8553a3 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fullscreen/orthogonal-writing-mode-full-screen-reattach-crash.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<script src=full-screen-test.js></script> |
+<style> |
+#v { |
+ writing-mode: vertical-rl; |
+} |
+</style> |
+<div id=v><span id=fullscreen></span></div> |
+<script> |
+function fullscreenChanged() { |
+ // Change the 'display' property to cause reattach. |
+ fullscreen.style.display = 'block'; |
+ document.body.offsetTop; |
+ |
+ document.exitFullscreen(); |
+ |
+ endTest(); |
+} |
+waitForEvent(document, "webkitfullscreenchange", fullscreenChanged); |
+runWithKeyDown(function () { |
+ fullscreen.webkitRequestFullscreen(); |
+}); |
+</script> |