Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/animations/composited-pseudo-element-animation.html

Issue 2150413002: Use node() when generating element id's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/virtual/threaded/animations/composited-pseudo-element-animation-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/virtual/threaded/animations/composited-pseudo-element-animation.html
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/animations/composited-pseudo-element-animation.html b/third_party/WebKit/LayoutTests/virtual/threaded/animations/composited-pseudo-element-animation.html
new file mode 100644
index 0000000000000000000000000000000000000000..f7bd34227a33d50314d20bcf1d1efeb26f5e5b05
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/animations/composited-pseudo-element-animation.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ background: orange;
+}
+div::before {
+ content: ":)";
+ transition-property: transform;
+ transition-duration: 1ms;
+
+ /* Make the pseudo element "transformable" as per
+ * https://www.w3.org/TR/css-transforms-1/#transformable-element.
+ */
+ display: block;
+}
+</style>
+<div></div>
+<script>
+if (window.testRunner)
+ window.testRunner.waitUntilDone();
+
+requestAnimationFrame(function(ts) {
+ document.styleSheets[0].addRule('div::before', 'transform: translateX(20px)');
+ requestAnimationFrame(function(ts) {
+ requestAnimationFrame(function(ts) {
+ if (window.testRunner)
+ window.testRunner.notifyDone();
+ });
+ });
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/virtual/threaded/animations/composited-pseudo-element-animation-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698