Bug 1512010 - add wrench test for text snapping in raster spaces. r=gw
authorLee Salzman <lsalzman@mozilla.com>
Sun, 13 Jan 2019 22:27:00 -0500
changeset 513692 58b0b6fba4c388a12b98954772074ffbfc81c784
parent 513691 9cf58f64e2c204f48a38f69c1c5ec272f65e0bb1
child 513693 c3179fe251cc7122fedcfb2184523558178213bf
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgw
bugs1512010
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1512010 - add wrench test for text snapping in raster spaces. r=gw
gfx/wr/wrench/reftests/text/raster-space-snap-ref.yaml
gfx/wr/wrench/reftests/text/raster-space-snap.yaml
gfx/wr/wrench/reftests/text/reftest.list
new file mode 100644
--- /dev/null
+++ b/gfx/wr/wrench/reftests/text/raster-space-snap-ref.yaml
@@ -0,0 +1,10 @@
+root:
+  items:
+    - type: stacking-context
+      bounds: [0, 0, 480, 80]
+      raster-space: screen
+      items:
+      - text: "a Bcd Efgh Ijklm Nopqrs Tuvwxyz"
+        origin: 20.5 50
+        size: 20
+        font: "FreeSans.ttf"
new file mode 100644
--- /dev/null
+++ b/gfx/wr/wrench/reftests/text/raster-space-snap.yaml
@@ -0,0 +1,10 @@
+root:
+  items:
+    - type: stacking-context
+      bounds: [0, 0, 480, 80]
+      raster-space: local(1.0)
+      items:
+      - text: "a Bcd Efgh Ijklm Nopqrs Tuvwxyz"
+        origin: 20.5 50
+        size: 20
+        font: "FreeSans.ttf"
--- a/gfx/wr/wrench/reftests/text/reftest.list
+++ b/gfx/wr/wrench/reftests/text/reftest.list
@@ -63,8 +63,9 @@ fuzzy(1,113) platform(linux) == raster-s
 != allow-subpixel.yaml allow-subpixel-ref.yaml
 == bg-color.yaml bg-color-ref.yaml
 != large-glyphs.yaml blank.yaml
 == snap-text-offset.yaml snap-text-offset-ref.yaml
 == shadow-border.yaml shadow-solid-ref.yaml
 == shadow-image.yaml shadow-solid-ref.yaml
 options(disable-aa) == snap-clip.yaml snap-clip-ref.yaml
 platform(linux) == perspective-clip.yaml perspective-clip.png
+options(disable-subpixel) != raster-space-snap.yaml raster-space-snap-ref.yaml