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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/script-modify-iframe-attr.html

Issue 2507023002: Support script modify iframe scrolling, marginWidth and marginHeight attr (Closed)
Patch Set: add fix for marginWidth and marginHeight Created 4 years, 1 month 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <script>
4 function modify_attr() {
5 var ifr = document.getElementById('ifr');
6 ifr.scrolling = 'no';
7 ifr.marginWidth = '50';
8 ifr.marginHeight = '100';
9 testRunner.notifyDone();
10 }
11 </script>
12
13 <iframe id="ifr" onload="modify_attr();" scrolling="yes"
bokan 2016/11/18 20:56:18 I believe this will fire when the iframe is loaded
14 style="width:200px;height:200px;"
15 src="http://127.0.0.1:8000/fast/frames/resources/big-page.html">
16 </iframe>
17
18 <script src="/resources/testharness.js"></script>
19 <script src="/resources/testharnessreport.js"></script>
bokan 2016/11/18 20:56:18 I don't think this test makes any use of testharne
20 <script>
21 testRunner.waitUntilDone();
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698