Commit 531811b8 authored by hyatt@apple.com's avatar hyatt@apple.com

Added layout test for dynamic sibling selector patch.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fb63d769
<html>
<head>
<style>
.unchanged + #test
{
background-color:red
}
.changed + #test
{
background-color:green;
}
#test {
width:100px;
height:100px;
}
</style>
</head>
<body>
There should be a 100x100 green block below.
<div class="unchanged" id="beforetest"></div>
<div id="test"></div>
<script>
document.body.offsetWidth;
document.getElementById('beforetest').className = 'changed';
document.body.offsetWidth;
</script>
</body>
</html>
bb22428e4ae37d6cf84977ad0e2ed48d
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock (anonymous) at (0,0) size 784x18
RenderText {#text} at (0,0) size 298x18
text run at (0,0) width 298: "There should be a 100x100 green block below."
RenderBlock {DIV} at (0,18) size 784x0
RenderBlock {DIV} at (0,18) size 100x100 [bgcolor=#008000]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment