Commit 94b6c3fc authored by thakis@chromium.org's avatar thakis@chromium.org
Browse files

2010-07-09 Nico Weber <thakis@chromium.org>

        Reviewed by Simon Fraser.
        https://bugs.webkit.org/show_bug.cgi?id=41580

        Fix layout test to be smaller in y direction. Also add explanatory text.

        * fast/gradients/radial-centered.html: Make divs display:inline-block.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f55c81ff
2010-07-09 Nico Weber <thakis@chromium.org>
Reviewed by Simon Fraser.
https://bugs.webkit.org/show_bug.cgi?id=41580
Fix layout test to be smaller in y direction. Also add explanatory text.
* fast/gradients/radial-centered.html: Make divs display:inline-block.
2010-07-09 Xiaomei Ji <xji@chromium.org>
 
Reviewed by David Levin.
<head>
<style>
.radial1 { width:150px; height:150px; border:2px solid black;
div { display:inline-block; }
.radial1 { width:150px; height:150px;
background: -webkit-gradient(radial, 75 75, 20, 75 75, 60, from(green), to(black)); }
.radial2 { width:150px; height:150px; border:2px solid black;
.radial2 { width:150px; height:150px;
background: -webkit-gradient(radial, 75 75, 60, 75 75, 20, from(black), to(green)); }
.radial3 { width:150px; height:150px; border:2px solid black;
.radial3 { width:150px; height:150px;
background: -webkit-gradient(radial, 75 75, 0, 75 75, 60, from(green), to(black)); }
.radial4 { width:150px; height:150px; border:2px solid black;
.radial4 { width:150px; height:150px;
background: -webkit-gradient(radial, 75 75, 60, 75 75, 0, from(black), to(green)); }
</style>
</head>
<body>
The test passes if all four boxes have a radial gradient that's green in the center and black at the edge.
<h1>Radial Gradients With One Center, Inner Radius > 0</h1>
<div class="radial1"></div>
<div class="radial2"></div>
......
9fd792c2cfcd8c71d2613ffe6cb7eb45
\ No newline at end of file
020752ae888330d2ac71a78d6a886884
\ No newline at end of file
layer at (0,0) size 785x769
RenderView at (0,0) size 785x600
layer at (0,0) size 785x769
RenderBlock {HTML} at (0,0) size 785x769
RenderBody {BODY} at (8,8) size 769x753
RenderBlock {H1} at (0,0) size 769x37
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 633x18
text run at (0,0) width 633: "The test passes if all four boxes have a radial gradient that's green in the center and black at the edge."
RenderBlock {H1} at (0,39) size 784x37
RenderText {#text} at (0,0) size 727x37
text run at (0,0) width 727: "Radial Gradients With One Center, Inner Radius > 0"
RenderBlock {DIV} at (0,58) size 154x154 [border: (2px solid #000000)]
RenderBlock {DIV} at (0,212) size 154x154 [border: (2px solid #000000)]
RenderBlock {H1} at (0,387) size 769x37
RenderBlock (anonymous) at (0,97) size 784x154
RenderBlock {DIV} at (0,0) size 150x150
RenderText {#text} at (150,136) size 4x18
text run at (150,136) width 4: " "
RenderBlock {DIV} at (154,0) size 150x150
RenderText {#text} at (0,0) size 0x0
RenderBlock {H1} at (0,272) size 784x37
RenderText {#text} at (0,0) size 643x37
text run at (0,0) width 643: "Radial Gradients With One, Inner Radius == 0"
RenderBlock {DIV} at (0,445) size 154x154 [border: (2px solid #000000)]
RenderBlock {DIV} at (0,599) size 154x154 [border: (2px solid #000000)]
RenderBlock (anonymous) at (0,330) size 784x154
RenderBlock {DIV} at (0,0) size 150x150
RenderText {#text} at (150,136) size 4x18
text run at (150,136) width 4: " "
RenderBlock {DIV} at (154,0) size 150x150
RenderText {#text} at (0,0) size 0x0
Supports Markdown
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