mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Replace float by CGFloat to fix BoxShadows on 64-bit OS X + added reftest. b=562616 r=jmuizelaar
This commit is contained in:
parent
db961dd470
commit
79f2567099
@ -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,
|
||||
|
16
layout/reftests/box-shadow/boxshadow-blur-notref2.html
Normal file
16
layout/reftests/box-shadow/boxshadow-blur-notref2.html
Normal 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>
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user