Bug 1533456 - Add a test that would've prevented this regression. r=kvark
authorEmilio Cobos Álvarez <emilio@crisal.io>
Thu, 07 Mar 2019 17:48:29 +0000
changeset 520857 9f7170a27e4cfd08afa9026dbf9b826582bbed35
parent 520856 7a1c873a21b22134a1741db7b88268de2869263f
child 520858 9f2370857fa0763d778435e8819724125ba84c6b
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskvark
bugs1533456
milestone67.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 1533456 - Add a test that would've prevented this regression. r=kvark Differential Revision: https://phabricator.services.mozilla.com/D22547
testing/web-platform/meta/css/css-transforms/transform-flattening-001.html.ini
testing/web-platform/tests/css/css-transforms/transform-flattening-001.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/css/css-transforms/transform-flattening-001.html.ini
@@ -0,0 +1,3 @@
+[transform-flattening-001.html]
+  expected:
+    if webrender: FAIL
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-transforms/transform-flattening-001.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<title>CSS Transforms: Transforms are flattened if transform-style is flat.</title>
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://mozilla.org" title="Mozilla">
+<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#3d-rendering-context">
+<link rel="mismatch" href="about:blank">
+<!-- Should see a green rectangle, not white -->
+<div style="transform: rotateX(45deg)">
+  <div style="transform: rotateX(45deg); background: green; width: 100px; height: 100px"></div>
+</div>