summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/paint-timing/fcp-only/fcp-invisible-3d-rotate.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/paint-timing/fcp-only/fcp-invisible-3d-rotate.html')
-rw-r--r--testing/web-platform/tests/paint-timing/fcp-only/fcp-invisible-3d-rotate.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/paint-timing/fcp-only/fcp-invisible-3d-rotate.html b/testing/web-platform/tests/paint-timing/fcp-only/fcp-invisible-3d-rotate.html
new file mode 100644
index 0000000000..0b7fc325c5
--- /dev/null
+++ b/testing/web-platform/tests/paint-timing/fcp-only/fcp-invisible-3d-rotate.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<head>
+<title>Performance Paint Timing Test: FCP due to 3d rotation into view</title>
+<style>
+ #main {
+ width: 100px;
+ height: 100px;
+ left: 0px;
+ transform: rotateY(90deg);
+ position: relative;
+ top: 0;
+ }
+
+ /* contentful class is defined in test_fcp script. */
+ #main.contentful {
+ transform: none;
+ }
+</style>
+</head>
+<body>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="main">Text</div>
+<script>
+ test_fcp("First contentful paint fires due to 3d rotation into view.")
+</script>
+</body>
+</html>