Commit 2cef50d4 authored by hyatt@apple.com's avatar hyatt@apple.com

Add layout tests for background position rounding.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4cac53aa
<!DOCTYPE html>
<style>
p { position: relative; height: 100px; width: 100px; background: url(resources/64x32-red.png) no-repeat top 99.9%; }
span { height: 32px; width: 64px; position: absolute; top: 0; right: 0; background: white; }
</style>
<div>There should be no red below.</div>
<p><span></span></p>
3fef76cf87bce392a53a76faf757c7f2
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x158
RenderBlock {HTML} at (0,0) size 800x158
RenderBody {BODY} at (8,8) size 784x134
RenderBlock {DIV} at (0,0) size 784x18
RenderText {#text} at (0,0) size 193x18
text run at (0,0) width 193: "There should be no red below."
layer at (8,42) size 100x100
RenderBlock (relative positioned) {P} at (0,34) size 100x100
layer at (44,42) size 64x32
RenderBlock (positioned) {SPAN} at (36,0) size 64x32 [bgcolor=#FFFFFF]
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