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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/misc/iframe-script-modify-attr.html

Issue 2507023002: Support script modify iframe scrolling, marginWidth and marginHeight attr (Closed)
Patch Set: remove using namespace Created 4 years 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 | third_party/WebKit/LayoutTests/http/tests/misc/iframe-script-modify-attr-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <script>
4 window.addEventListener("message", (event) => {
5 if (testRunner)
6 testRunner.notifyDone();
7 });
8
9 window.onload = () => {
10 if (testRunner)
11 testRunner.waitUntilDone();
12 var ifr = document.getElementById('ifr');
13 ifr.scrolling = 'no';
14 ifr.marginWidth = '50';
15 ifr.marginHeight = '100';
16 ifr.contentWindow.postMessage({}, '*');
17 };
18 </script>
19
20 <iframe id="ifr" scrolling="yes" style="width:200px;height:200px;"
21 src="http://localhost:8000/misc/resources/iframe-big.html">
22 </iframe>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/misc/iframe-script-modify-attr-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698