# really basic tests that square, circular, and elliptical border and
# outline radius are not the same thing
!= border-square.html about:blank
!= border-circle.html about:blank
!= border-ellips.html about:blank
!= border-square.html border-circle.html
!= border-square.html border-ellips.html
!= border-circle.html border-ellips.html

!= outline-square.html about:blank
!= outline-circle.html about:blank
!= outline-ellips.html about:blank
!= outline-square.html outline-circle.html
!= outline-square.html outline-ellips.html
!= outline-circle.html outline-ellips.html
== border-value-interpret.html border-value-interpret-ref.html
!= curved-borders-all-styles.html about:blank # no way to generate reference for dotted/dashed/inset/outset
# ridge/groove borders

# percent units
== percent-1.html percent-1-ref.html
fuzzy(0-1,0-342) == percent-2.html percent-2-ref.html
fuzzy(0-1,0-343) == percent-3.html percent-3-ref.html

# more serious tests, using SVG reference
fuzzy(17-30,58-70) == border-circle-2.html border-circle-2-ref.xhtml
fuzzy(61-63,507-1013) == curved-stripe-border.html curved-stripe-border-ref.svg # bug 459945

# Corners
fuzzy(17-30,47-58) == corner-1.html corner-1-ref.svg # bottom corners different radius than top corners
fuzzy(18-30,49-57) == corner-2.html corner-2-ref.svg # right corners different radius than left corners; see bug 500804
fuzzy(18-23,90-105) == corner-3.html corner-3-ref.svg
fuzzy(12-13,83-108) == corner-4.html corner-4-ref.svg

# Test that radii too long are reduced
== border-reduce-height.html border-reduce-height-ref.html

# Tests for border clipping
fails == clipping-1.html clipping-1-ref.html # background color should completely fill box; bug 466572
!= clipping-2.html about:blank # background color clipped to inner/outer border, can't get
# great tests for this due to antialiasing problems described in bug 466572
fuzzy(17-30,58-111) == clipping-3.html clipping-3-ref.xhtml # edge of border-radius clips an underlying object's background

# Tests for clipping the contents of replaced elements and overflow!=visible
!= clipping-4-ref.html clipping-4-notref.html
fuzzy(0-8,0-20) fuzzy-if(useDrawSnapshot,1-1,172-172) == clipping-4-canvas.html clipping-4-ref.html # bug 732535
fuzzy(0-1,0-172) == clipping-4-image.html clipping-4-ref.html
fuzzy(0-1,0-77) == clipping-4-overflow-hidden.html clipping-4-ref.html
== clipping-5-canvas.html clipping-5-refc.html
fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-1,0-5) == clipping-5-image.html clipping-5-refi.html
fuzzy(0-1,0-77) == clipping-5-overflow-hidden.html clipping-5-ref.html
fuzzy(0-1,0-97) == clipping-5-refi.html clipping-5-ref.html
fuzzy(0-1,0-77) fuzzy-if(useDrawSnapshot,1-1,97-97) == clipping-5-refc.html clipping-5-ref.html # bug 732535
fuzzy(0-21,0-76) fuzzy-if(winWidget,0-144,0-335) == clipping-6.html clipping-6-ref.html # PaintedLayer and MaskLayer with transforms that aren't identical
fuzzy(0-28,0-97) == clipping-7.html clipping-7-ref.html # ColorLayer and MaskLayer with transforms that aren't identical. Reference image rendered without using layers (which causes fuzzy failures).
== clipping-and-zindex-1.html clipping-and-zindex-1-ref.html
fuzzy-if(cocoaWidget,0-1,0-4) fuzzy-if(d2d,0-59,0-342) == intersecting-clipping-1-canvas.html intersecting-clipping-1-refc.html
== intersecting-clipping-1-image.html intersecting-clipping-1-refi.html
== intersecting-clipping-1-overflow-hidden.html intersecting-clipping-1-ref.html
fuzzy(0-1,0-300) == intersecting-clipping-1-refi.html intersecting-clipping-1-ref.html
fuzzy(0-1,0-135) skip-if(winWidget) fuzzy-if(useDrawSnapshot,1-1,299-299) == intersecting-clipping-1-refc.html intersecting-clipping-1-ref.html # bug 732535 # Disable on Windows bug 1451808

== clipping-preserve-3d.html clipping-preserve-3d-ref.html

# Inheritance
== inherit-1.html inherit-1-ref.html # border-radius shouldn't inherit

# Table elements
== table-collapse-1.html table-collapse-1-ref.html # border-radius is ignored on internal table elements
# when border-collapse: collapse

fuzzy(0-1,0-116) == invalidate-1a.html invalidate-1-ref.html
fuzzy(0-1,0-117) == invalidate-1b.html invalidate-1-ref.html

# test that border-radius is reduced for scrollbars
fails-if(Android) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-12,0-12) fuzzy-if(browserIsRemote&&layersGPUAccelerated&&/^Windows\x20NT\x206\.1/.test(http.oscpu),0-12,0-12) fuzzy-if(!Android,0-1,0-50) fuzzy-if(gtkWidget&&layersGPUAccelerated,0-12,0-12) == scrollbar-clamping-1.html scrollbar-clamping-1-ref.html
fails-if(Android) == scrollbar-clamping-2.html scrollbar-clamping-2-ref.html

# Test for bad corner joins.
fuzzy(0-1,0-1) == corner-joins-1.xhtml corner-joins-1-ref.xhtml
random-if(winWidget) fuzzy(0-255,0-610) == corner-joins-2.xhtml corner-joins-2-ref.xhtml

fuzzy(0-59,0-146) == scroll-1.html scroll-1-ref.html # see bug 732535 #Bug 959166

fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-35,0-194) == transforms-1.html transforms-1-ref.html # bug 1507152

== zero-radius-clip-1.html zero-radius-clip-ref.html

== iframe-1.html iframe-1-ref.html

# Test for antialiasing gaps between background and border
fuzzy(0-1,0-9) == curved-border-background-nogap.html curved-border-background-nogap-ref.html

fuzzy(0-1,0-4) == color-layer-1a.html color-layer-1-ref.html

fuzzy-if(!useDrawSnapshot&&!geckoview,1-1,104-162) == corner-split.html corner-split-ref.svg