summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/body-frame-margin-remove-other-pres-hint.html
blob: 6f49536376a3430b2c7432a390d586202209656a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html class="reftest-wait">
<head>
    <title></title>
</head>
<body>
<script type="text/javascript">
    function loadFrame() {
        let frame = document.getElementById('frame');
        frame.contentDocument.body.removeAttribute('lang');
        document.documentElement.className = "";
    }
</script>
<iframe id=frame onload="loadFrame()" src="data:text/html,<body lang='en'>text</body>" marginwidth="100px" marginheight="100px"  width=300px height=300px></iframe>
</body>
</html>