Replace float by CGFloat to fix BoxShadows on 64-bit OS X + added reftest. b=562616 r=jmuizelaar

This commit is contained in:
Benoit Girard 2010-06-09 00:11:38 -04:00
parent db961dd470
commit 79f2567099
3 changed files with 18 additions and 1 deletions

View File

@ -234,7 +234,7 @@ _cairo_quartz_create_cgimage (cairo_format_t format,
}
if (format == CAIRO_FORMAT_A8 || format == CAIRO_FORMAT_A1) {
float decode[] = {1.0, 0.0};
CGFloat decode[] = {1.0, 0.0};
image = CGImageMaskCreate (width, height,
bitsPerComponent,
bitsPerPixel,

View File

@ -0,0 +1,16 @@
<!DOCTYPE HTML>
<style>
body {
background-color: green;
}
#thediv {
width: 300px;
height: 100px;
position: absolute;
top: 20px;
left: 20px;
}
</style>
<div id="thediv">Foo</div>

View File

@ -1,5 +1,6 @@
== boxshadow-basic.html boxshadow-basic-ref.html
!= boxshadow-blur.html boxshadow-blur-notref.html
!= boxshadow-blur.html boxshadow-blur-notref2.html
== boxshadow-multiple.html boxshadow-multiple-ref.html
== boxshadow-spread.html boxshadow-spread-ref.html
== tableboxshadow-basic.html tableboxshadow-basic-ref.html