mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
7cbe6380ff
This patch does several things. Sorry. In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we push clip state onto the nsDisplayListBuilder and give the display items an explicit clip when they're created. In FrameLayerBuilder, we use the explicit clips we find on display items instead of computing our own. We remove nsDisplayClip and everything that depends on it. We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and nsDisplayOptionEventGrabber removed in a previous patch, there are no anonymous child lists. nsDisplayItem::TryMerge implementations need to make sure they have the same clip before being merged. I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects. As far as I can tell, it isn't actually necessary. --HG-- extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
87 lines
4.8 KiB
Plaintext
87 lines
4.8 KiB
Plaintext
# 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
|
|
== percent-2.html percent-2-ref.html
|
|
== percent-3.html percent-3-ref.html
|
|
|
|
# more serious tests, using SVG reference
|
|
== border-circle-2.html border-circle-2-ref.xhtml
|
|
fails == curved-stripe-border.html curved-stripe-border-ref.svg # bug 459945
|
|
|
|
# Corners
|
|
== corner-1.html corner-1-ref.svg # bottom corners different radius than top corners
|
|
random == corner-2.html corner-2-ref.svg # right corners different radius than left corners; see bug 500804
|
|
|
|
# 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-if(Android,9,73) == 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-if(true,1,20) fuzzy-if(cocoaWidget,1,180) fuzzy-if(Android&&browserIsRemote,7,169) fuzzy-if(Android&&!browserIsRemote,140,237) == clipping-4-canvas.html clipping-4-ref.html # bug 732535
|
|
fuzzy-if(Android,5,54) fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,10) == clipping-4-image.html clipping-4-ref.html
|
|
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,10) == clipping-4-overflow-hidden.html clipping-4-ref.html
|
|
== clipping-5-canvas.html clipping-5-refc.html
|
|
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-5-image.html clipping-5-refi.html
|
|
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-5-overflow-hidden.html clipping-5-ref.html
|
|
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) fuzzy-if(Android,5,21) == clipping-5-refi.html clipping-5-ref.html
|
|
fuzzy-if(true,1,7) fuzzy-if(cocoaWidget,1,99) fuzzy-if(Android&&browserIsRemote,7,89) fuzzy-if(Android&&!browserIsRemote,99,115) == clipping-5-refc.html clipping-5-ref.html # bug 732535
|
|
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-and-zindex-1.html clipping-and-zindex-1-ref.html
|
|
fuzzy-if(cocoaWidget,1,4) == 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-if(Android,5,105) fuzzy-if(d2d,1,20) == intersecting-clipping-1-refi.html intersecting-clipping-1-ref.html
|
|
fuzzy-if(true,1,33) fuzzy-if(cocoaWidget,1,332) fuzzy-if(Android&&browserIsRemote,7,310) fuzzy-if(Android&&!browserIsRemote,124,440) == intersecting-clipping-1-refc.html intersecting-clipping-1-ref.html # bug 732535
|
|
|
|
# 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
|
|
|
|
skip-if(B2G) == invalidate-1a.html invalidate-1-ref.html
|
|
skip-if(B2G) == invalidate-1b.html invalidate-1-ref.html
|
|
|
|
# test that border-radius is reduced for scrollbars
|
|
skip-if(B2G) fails-if(Android) == scrollbar-clamping-1.html scrollbar-clamping-1-ref.html
|
|
skip-if(B2G) fails-if(Android) == scrollbar-clamping-2.html scrollbar-clamping-2-ref.html
|
|
|
|
# Test for bad corner joins.
|
|
fuzzy-if(true,1,1) == corner-joins-1.xhtml corner-joins-1-ref.xhtml
|
|
skip-if(B2G) random-if(winWidget) HTTP(..) == corner-joins-2.xhtml corner-joins-2-ref.xhtml
|
|
|
|
skip-if(B2G) fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,20) fuzzy-if(Android&&browserIsRemote,7,146) fuzzy-if(Android&&!browserIsRemote,166,248) == scroll-1.html scroll-1-ref.html # see bug 732535
|
|
|
|
== 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
|
|
skip-if(B2G) fails-if(winWidget) == curved-border-background-nogap.html curved-border-background-nogap-ref.html
|
|
|
|
== color-layer-1a.html color-layer-1-ref.html
|