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 453692 58b0b6fba4c3
parent 453691 9cf58f64e2c2
child 453693 c3179fe251cc
push id111125
push userlsalzman@mozilla.com
push dateMon, 14 Jan 2019 03:27:31 +0000
treeherdermozilla-inbound@58b0b6fba4c3 [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