Bug 1494685 - Add a reftest. r=kats
☠☠ backed out by 3c25a0b6d269 ☠ ☠
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 12 Oct 2018 02:04:27 +0000
changeset 496535 d44ae1668a7020fe2f03a8d071876e25478d0b51
parent 496534 502e176fd34a4b81683e20a13c9905a8d2d56095
child 496536 3c25a0b6d2699e6a335ada101fbb3b2d12ad553f
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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 1494685 - Add a reftest. r=kats Probably not the most reliable test to catch this (as it depends on the font and such) but still fails here and I'd like WPT to have a test-case for this. I'm looking into adding a WR test-case ATM, though fighting with it way too much. Differential Revision: https://phabricator.services.mozilla.com/D8438
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-transforms/text-perspective-001.html
@@ -0,0 +1,27 @@
+<meta charset="utf-8">
+<title>CSS Test: Text is not incorrectly clipped in presence of perspective.</title>
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mozilla" href="https://mozilla.org">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1494685">
+<link rel="mismatch" href="about:blank">
+* {
+  margin: 0;
+  padding: 0;
+.container {
+  perspective: 1px;
+.heading {
+  transform: translateZ(-9px) scale(10);
+h1 {
+  font-size: 100px;
+<div class="container">
+  <div class="heading">
+    <h1>X</h1>
+  </div>