1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2        "http://www.w3.org/TR/html4/strict.dtd">
3<html lang="en">
4<head>
5    <script>
6        function test()
7        {
8            document.getElementById("z").style.display='block';
9            open("data:text/html,SUCCESS");
10        }
11    </script>
12</head>
13<body>
14    <p><b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=14899">Bugzilla bug 14899</a> !d->m_view->needsLayout() in Frame::paint() (Causes assert)</p>
15    
16    <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> 
17    Make sure you are using a debug build of the Web Kit framework. Click the Test button below.
18    </p>
19    
20    <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
21    A new window will open.
22    </p>
23    
24    <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
25    An assertion failure will occur.
26    </p>
27    <button onclick="test()">Test</button>
28    <div id="z" style="display: none;">
29        <object>
30            <embed width="40" src="resources/orange.mov" controller="false">
31        </object>
32    </div>
33</body>
34