зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
1.7 KiB
HTML
22 строки
1.7 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Test (i)frame offsets, bug 1366646</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<p>top level frame</p>
|
||
|
<iframe src="data:text/html,<p>frame without border</p>
|
||
|
<iframe src='data:text/html,<p>nested frame without border</p>' height='50' width='100%' style='background-color: yellow; border: 0'></iframe>
|
||
|
" style="background-color: pink; border: 0" width="100%" height="150"></iframe>
|
||
|
<iframe src="data:text/html,<p>frame with 5px border</p>
|
||
|
<iframe src='data:text/html,<p>nested frame with 5px border</p>' height='50' width='100%' style='background-color: yellow; border: solid 5px black'></iframe>
|
||
|
" style="background-color: pink; border: solid 5px black" width="100%" height="150"></iframe>
|
||
|
<iframe src="data:text/html,<p>frame with 5px padding</p>
|
||
|
<iframe src='data:text/html,<p>nested frame with 5px padding</p>' height='50' width='100%' style='background-color: yellow; border: 0; padding: 5px'></iframe>
|
||
|
" style="background-color: pink; border: 0; padding: 5px" width="100%" height="150"></iframe>
|
||
|
<!-- Testing deprecated HTML4 iframe properties too: -->
|
||
|
<iframe src="data:text/html,<p>frame with frameborder, marginwidth/ height and 5px padding</p>
|
||
|
<iframe src='data:text/html,<p>nested frame with frameborder, marginwidth/ height</p>' height='50' width='100%' frameborder='1' marginheight='5' marginwidth='5' style='background-color: yellow;'></iframe>
|
||
|
" frameborder="1" marginheight="5" marginwidth="5" style="background-color: pink; padding: 5px" width="100%" height="150"></iframe>
|
||
|
</body></html>
|