tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

reftest.list (10393B)


      1 # Tests related to SVG Animation (using SMIL) of CSS properties
      2 
      3 # XXXdholbert TODO: Test color animation with "color-interpolation: linearRGB"
      4 # (when it's implemented)
      5 
      6 # 'color' property, from/to/by with named colors & hex values
      7 == anim-css-color-1-by-ident-hex.svg         anim-css-fill-1-ref.svg
      8 == anim-css-color-1-from-by-hex-hex.svg      anim-css-fill-1-ref.svg
      9 fuzzy(0-1,0-550) == anim-css-color-1-from-by-ident-hex.svg anim-css-fill-1-ref.svg
     10 fuzzy(0-1,0-550) == anim-css-color-1-from-to-hex-hex.svg anim-css-fill-1-ref.svg
     11 fuzzy(0-1,0-550) == anim-css-color-1-from-to-ident-ident.svg anim-css-fill-1-ref.svg
     12 fuzzy(0-1,0-550) == anim-css-color-1-to-ident-hex.svg anim-css-fill-1-ref.svg
     13 fuzzy(0-1,0-550) == anim-css-color-1-to-ident-ident.svg anim-css-fill-1-ref.svg
     14 
     15 # 'color' property, paced calcMode
     16 == anim-css-color-2-paced-rgb.svg            anim-css-fill-2-ref.svg
     17 
     18 # 'color' property, animating *by* a named color
     19 fuzzy(0-1,0-580) == anim-css-color-3-by-ident-ident.svg anim-css-fill-3-ref.svg
     20 fuzzy(0-1,0-580) == anim-css-color-3-from-by-ident-ident.svg anim-css-fill-3-ref.svg
     21 fuzzy(0-1,0-580) == anim-css-color-3-from-by-rgb-ident.svg anim-css-fill-3-ref.svg
     22 
     23 # 'fill' property, from/to/by with named colors & hex values
     24 fuzzy(0-1,0-550) == anim-css-fill-1-by-ident-hex.svg anim-css-fill-1-ref.svg
     25 fuzzy(0-1,0-550) == anim-css-fill-1-from-by-hex-hex.svg anim-css-fill-1-ref.svg
     26 fuzzy(0-1,0-550) == anim-css-fill-1-from-by-ident-hex.svg anim-css-fill-1-ref.svg
     27 fuzzy(0-1,0-550) == anim-css-fill-1-from-to-hex-hex.svg anim-css-fill-1-ref.svg
     28 fuzzy(0-1,0-550) == anim-css-fill-1-from-to-ident-ident.svg anim-css-fill-1-ref.svg
     29 fuzzy(0-1,0-550) == anim-css-fill-1-to-ident-hex.svg anim-css-fill-1-ref.svg
     30 fuzzy(0-1,0-550) == anim-css-fill-1-to-ident-ident.svg anim-css-fill-1-ref.svg
     31 
     32 # 'fill' property, from/to/by, with 'currentColor' keyword
     33 fuzzy(0-1,0-550) == anim-css-fill-1-by-ident-curcol.svg anim-css-fill-1-ref.svg
     34 fuzzy(0-1,0-550) == anim-css-fill-1-from-by-curcol-hex.svg anim-css-fill-1-ref.svg
     35 fuzzy(0-1,0-550) == anim-css-fill-1-from-by-hex-curcol.svg anim-css-fill-1-ref.svg
     36 fuzzy(0-1,0-550) == anim-css-fill-1-from-to-curcol-hex.svg anim-css-fill-1-ref.svg
     37 fuzzy(0-1,0-550) == anim-css-fill-1-from-to-hex-curcol.svg anim-css-fill-1-ref.svg
     38 fuzzy(0-1,0-550) == anim-css-fill-1-to-ident-curcol.svg anim-css-fill-1-ref.svg
     39 
     40 # 'fill' property, paced calcMode
     41 == anim-css-fill-2-paced-rgb.svg            anim-css-fill-2-ref.svg
     42 
     43 # 'fill' property, animating *by* a named color
     44 fuzzy(0-1,0-580) == anim-css-fill-3-by-ident-ident.svg anim-css-fill-3-ref.svg
     45 fuzzy(0-1,0-580) == anim-css-fill-3-from-by-ident-ident.svg anim-css-fill-3-ref.svg
     46 fuzzy(0-1,0-580) == anim-css-fill-3-from-by-rgb-ident.svg anim-css-fill-3-ref.svg
     47 
     48 # check handling of overflowing color values
     49 # NOTE: Some of the tests below fail in Gecko because we compute
     50 # "from + by" as the animation end-point, and we clamp that final color value
     51 # (due to bug 515919) and use the clamped value for interpolation.
     52 # That's earlier than the SVG spec wants us to clamp -- we're only supposed to
     53 # clamp *final presentation values*.
     54 # (Reference: SVG 1.1 Appendix F.4)
     55 == anim-css-fill-overflow-1-by.svg       anim-css-fill-overflow-1-ref.svg
     56 == anim-css-fill-overflow-1-from-by.svg anim-css-fill-overflow-1-ref.svg # bug 515919
     57 == anim-css-stopcolor-overflow-1-from-by.svg anim-css-stopcolor-overflow-1-ref.svg # bug 515919
     58 == anim-css-floodcolor-overflow-1-from-by.svg anim-css-floodcolor-overflow-1-ref.svg # bug 515919
     59 
     60 # 'fill-opacity' property
     61 fuzzy(0-1,0-885) == anim-css-fillopacity-1-by.svg anim-css-fillopacity-1-ref.svg
     62 fuzzy(0-1,0-210) == anim-css-fillopacity-1-from-by.svg anim-css-fillopacity-1-ref.svg
     63 == anim-css-fillopacity-1-from-to.svg       anim-css-fillopacity-1-ref.svg
     64 fuzzy(0-1,0-550) == anim-css-fillopacity-1-to.svg anim-css-fillopacity-1-ref.svg
     65 == anim-css-fillopacity-2-paced.svg         anim-css-fillopacity-2-ref.svg
     66 fails == anim-css-fillopacity-3-clamp-big.svg     anim-css-fillopacity-3-ref.svg # bug 501188
     67 fuzzy(0-1,0-365) == anim-css-fillopacity-3-clamp-small.svg anim-css-fillopacity-3-ref.svg
     68 
     69 # 'font' shorthand property
     70 fuzzy-if(gtkWidget,0-255,0-1520) == anim-css-font-1.svg  anim-css-font-1-ref.svg # Windows: Bug 1392106 Linux: Bug 1599619
     71 
     72 # 'font-size' property, from/by/to with pixel values only
     73 == anim-css-fontsize-1-from-by-px-px.svg    anim-css-fontsize-1-ref.svg
     74 == anim-css-fontsize-1-from-to-px-px.svg    anim-css-fontsize-1-ref.svg
     75 
     76 # 'font-size' property (accepts unitless values)
     77 == anim-css-fontsize-1-from-to-no-no.svg    anim-css-fontsize-1-ref.svg
     78 == anim-css-fontsize-1-from-to-no-px.svg    anim-css-fontsize-1-ref.svg
     79 == anim-css-fontsize-1-from-to-px-no.svg    anim-css-fontsize-1-ref.svg
     80 
     81 # 'font-size' mapped attribute (accepts unitless values)
     82 == anim-mapped-fontsize-1-from-to-no-no.svg anim-css-fontsize-1-ref.svg
     83 == anim-mapped-fontsize-1-from-to-no-px.svg anim-css-fontsize-1-ref.svg
     84 == anim-mapped-fontsize-1-from-to-px-no.svg anim-css-fontsize-1-ref.svg
     85 
     86 # 'font-size' property, from/by/to with percent values
     87 == anim-css-fontsize-1-from-by-pct-pct.svg  anim-css-fontsize-1-ref.svg
     88 == anim-css-fontsize-1-from-by-pct-px.svg   anim-css-fontsize-1-ref.svg
     89 == anim-css-fontsize-1-from-by-px-pct.svg   anim-css-fontsize-1-ref.svg
     90 == anim-css-fontsize-1-from-to-pct-pct.svg  anim-css-fontsize-1-ref.svg
     91 == anim-css-fontsize-1-from-to-pct-px.svg   anim-css-fontsize-1-ref.svg
     92 == anim-css-fontsize-1-from-to-px-pct.svg   anim-css-fontsize-1-ref.svg
     93 
     94 # 'font-size' property, with negative addition
     95 == anim-css-fontsize-2-from-by-px-px.svg    anim-css-fontsize-2-ref.svg
     96 == anim-css-fontsize-2-from-by-px-em.svg    anim-css-fontsize-2-ref.svg
     97 == anim-css-fontsize-2-from-by-em-em.svg    anim-css-fontsize-2-ref.svg
     98 
     99 # 'stroke-dasharray' property, from/to with pixel values only
    100 fails == anim-css-strokedasharray-1.svg anim-css-strokedasharray-1-ref.svg # bug 474049
    101 
    102 # 'stroke-width' property, from/by/to with pixel values only
    103 == anim-css-strokewidth-1-by-px-px.svg        anim-css-strokewidth-1-ref.svg
    104 == anim-css-strokewidth-1-from-by-px-px.svg   anim-css-strokewidth-1-ref.svg
    105 == anim-css-strokewidth-1-from-to-px-px.svg   anim-css-strokewidth-1-ref.svg
    106 == anim-css-strokewidth-1-to-px-px.svg        anim-css-strokewidth-1-ref.svg
    107 
    108 # 'stroke-width' property, from/by/to with unitless values only
    109 == anim-css-strokewidth-1-by-no-no.svg        anim-css-strokewidth-1-ref.svg
    110 == anim-css-strokewidth-1-from-by-no-no.svg   anim-css-strokewidth-1-ref.svg
    111 == anim-css-strokewidth-1-from-to-no-no.svg   anim-css-strokewidth-1-ref.svg
    112 == anim-css-strokewidth-1-to-no-no.svg        anim-css-strokewidth-1-ref.svg
    113 
    114 # 'stroke-width' property, from/by/to with percent values
    115 # XXXdholbert the mixed pct + px tests fail right now, because we need calc()
    116 # in order to interpolate between pct and non-pct values, and we don't yet
    117 # support calc() for stroke-width & other SVG-specific properties.
    118 #
    119 # Bug 1258270 and 1386967
    120 == anim-css-strokewidth-1-by-pct-pct.svg                          anim-css-strokewidth-1-ref.svg
    121 fails == anim-css-strokewidth-1-by-pct-px.svg                     anim-css-strokewidth-1-ref.svg
    122 fails == anim-css-strokewidth-1-by-px-pct.svg                     anim-css-strokewidth-1-ref.svg
    123 fails-if(!useDrawSnapshot) == anim-css-strokewidth-1-from-by-pct-pct.svg anim-css-strokewidth-1-ref.svg # bug 1459418
    124 fails == anim-css-strokewidth-1-from-by-pct-px.svg                anim-css-strokewidth-1-ref.svg
    125 fails == anim-css-strokewidth-1-from-by-px-pct.svg                anim-css-strokewidth-1-ref.svg
    126 fails-if(!useDrawSnapshot) == anim-css-strokewidth-1-from-to-pct-pct.svg anim-css-strokewidth-1-ref.svg # bug 1459418
    127 fails == anim-css-strokewidth-1-from-to-pct-px.svg                anim-css-strokewidth-1-ref.svg
    128 fails == anim-css-strokewidth-1-from-to-px-pct.svg                anim-css-strokewidth-1-ref.svg
    129 fails-if(!useDrawSnapshot) == anim-css-strokewidth-1-to-pct-pct.svg anim-css-strokewidth-1-ref.svg # bug 1459418
    130 fails == anim-css-strokewidth-1-to-pct-px.svg                     anim-css-strokewidth-1-ref.svg
    131 fails == anim-css-strokewidth-1-to-px-pct.svg                     anim-css-strokewidth-1-ref.svg
    132 
    133 # 'stroke-width' property, from/by/to with em values
    134 == anim-css-strokewidth-1-by-px-em.svg        anim-css-strokewidth-1-ref.svg
    135 == anim-css-strokewidth-1-by-em-em.svg        anim-css-strokewidth-1-ref.svg
    136 == anim-css-strokewidth-1-by-em-px.svg        anim-css-strokewidth-1-ref.svg
    137 == anim-css-strokewidth-1-from-by-px-em.svg   anim-css-strokewidth-1-ref.svg
    138 == anim-css-strokewidth-1-from-by-em-em.svg   anim-css-strokewidth-1-ref.svg
    139 == anim-css-strokewidth-1-from-by-em-px.svg   anim-css-strokewidth-1-ref.svg
    140 == anim-css-strokewidth-1-from-to-px-em.svg   anim-css-strokewidth-1-ref.svg
    141 == anim-css-strokewidth-1-from-to-em-em.svg   anim-css-strokewidth-1-ref.svg
    142 == anim-css-strokewidth-1-from-to-em-px.svg   anim-css-strokewidth-1-ref.svg
    143 == anim-css-strokewidth-1-to-px-em.svg        anim-css-strokewidth-1-ref.svg
    144 == anim-css-strokewidth-1-to-em-em.svg        anim-css-strokewidth-1-ref.svg
    145 == anim-css-strokewidth-1-to-em-px.svg        anim-css-strokewidth-1-ref.svg
    146 
    147 # 'stroke-width' property, values-array & paced calc-mode support
    148 == anim-css-strokewidth-2-values-em-em.svg    anim-css-strokewidth-2-ref.svg
    149 == anim-css-strokewidth-2-values-em-px.svg    anim-css-strokewidth-2-ref.svg
    150 == anim-css-strokewidth-2-values-px-em.svg    anim-css-strokewidth-2-ref.svg
    151 fuzzy(0-1,0-360) == anim-css-strokewidth-2-values-px-px.svg anim-css-strokewidth-2-ref.svg
    152 == anim-css-strokewidth-3-paced.svg           anim-css-strokewidth-3-ref.svg
    153 
    154 # 'stroke-width' property, negative addition
    155 == anim-css-strokewidth-4-from-by-px-px.svg   anim-css-strokewidth-4-ref.svg
    156 == anim-css-strokewidth-4-from-by-px-em.svg   anim-css-strokewidth-4-ref.svg
    157 == anim-css-strokewidth-4-from-by-em-em.svg   anim-css-strokewidth-4-ref.svg
    158 fuzzy(0-1,0-170) == anim-css-strokewidth-4-from-by-no-no.svg anim-css-strokewidth-4-ref.svg
    159 
    160 # check correct handling of "!important" values
    161 == important-set-1.svg  anim-standard-ref.svg
    162 == important-set-2.svg  anim-standard-ref.svg
    163 
    164 # check namespaced attribute
    165 == namespaced-property-1.svg  anim-standard-ref.svg
    166 
    167 # 'letter-spacing' and 'word-spacing'
    168 == anim-css-letterspacing-1.svg anim-css-letterspacing-1-ref.svg
    169 == anim-css-wordspacing-1.svg anim-css-wordspacing-1-ref.svg