Index: third_party/WebKit/LayoutTests/fast/css/font-feature-settings-assert.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/font-feature-settings-assert.html b/third_party/WebKit/LayoutTests/fast/css/font-feature-settings-assert.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6f53107509e273694f03a13391f6e0e3bc03e944 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/font-feature-settings-assert.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<style> |
+ #x { |
+ -webkit-font-feature-settings: "liga"; |
+ font-feature-settings: "liga"; |
+ transition: color 1s; |
+ } |
+</style> |
+<div id="x">PASS if this test didn't assert.<div> |
+<script> |
+ if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+ } |
+ |
+ x.offsetTop; |
+ x.style.color = "green"; |
+ |
+ if (window.testRunner) { |
+ requestAnimationFrame(() => { |
+ testRunner.notifyDone(); |
+ }); |
+ } |
+</script> |