35 lines
628 B
HTML
35 lines
628 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
/* Disable most default sizing to ensure proper position of our hidTarget. */
|
|
body
|
|
{
|
|
margin: 0px;
|
|
}
|
|
|
|
.hidTarget
|
|
{
|
|
position: absolute;
|
|
left: 15px;
|
|
top: 30px;
|
|
height: 100px;
|
|
width: 100px;
|
|
background-color: green;
|
|
}
|
|
|
|
p
|
|
{
|
|
position: absolute;
|
|
top: 300px;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div class="hidTarget"></div>
|
|
<p>
|
|
<a href="https://bugs.webkit.org/show_bug.cgi?id=89515">89515</a>: REGRESSION(r113885): Margin not properly applied to elements with align=center<br>
|
|
There should be a green rectangle above with no red.
|
|
</p>
|
|
</body>
|
|
</html>
|