summaryrefslogtreecommitdiffstats
path: root/dom/html/reftests/body-frame-margin-remove-other-pres-hint.html
blob: 16428813af665f8dcee05c489fcf2cd338ef014f (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()" srcdoc="<body lang='en'>text</body>" marginwidth="100px" marginheight="100px"  width=300px height=300px></iframe>
</body>
</html>