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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/font-feature-settings-assert.html

Issue 1887613002: Compare font-feature-settings as part of Font::operator==(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/fast/css/font-feature-settings-assert-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/font-feature-settings-assert-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698