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

Side by Side Diff: LayoutTests/fast/frames/seamless/seamless-designMode.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include remove tests Created 6 years, 11 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
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <iframe id="iframe" seamless srcdoc="FAIL"></iframe>
4 <script>
5 debug("Test that being a seamless iframe does not break designMode.")
6 window.onload = function () {
7 window.iframe = document.getElementById("iframe");
8 window.iframe.contentDocument.designMode = "on";
9 var target = window.iframe.contentDocument.body;
10 target.focus();
11 window.iframe.contentDocument.getSelection().selectAllChildren(target);
12 if (window.eventSender) {
13 eventSender.keyDown("P");
14 eventSender.keyDown("A");
15 eventSender.keyDown("S");
16 eventSender.keyDown("S");
17 }
18 shouldBeEqualToString("window.iframe.contentDocument.body.textContent", "PAS S");
19 }
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698