CSSTransitionDiscrete: Fix text-decor related crashes

Bug: 1399631, 1413556
Change-Id: Ia7274d4df0eda59fce9692262964607cdb81ad14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4338433
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118403}
diff --git a/css/css-text-decor/animations/discrete-no-interpolation.html b/css/css-text-decor/animations/discrete-no-interpolation.html
new file mode 100644
index 0000000..9e04485
--- /dev/null
+++ b/css/css-text-decor/animations/discrete-no-interpolation.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<meta name=timeout content=long>
+<link rel=author href="mailto:jarhar@chromium.org">
+<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/interpolation-testcommon.js"></script>
+
+<body>
+<script>
+  test_no_interpolation({
+    property: 'text-decoration-line',
+    from: 'initial',
+    to: 'underline'
+  });
+
+  test_no_interpolation({
+    property: 'text-decoration-style',
+    from: 'initial',
+    to: 'dashed'
+  });
+
+  test_no_interpolation({
+    property: 'text-decoration-thickness',
+    from: 'initial',
+    to: '123px'
+  });
+
+  test_no_interpolation({
+    property: 'text-emphasis-position',
+    from: 'initial',
+    to: 'under right'
+  });
+
+  test_no_interpolation({
+    property: 'text-emphasis-style',
+    from: 'initial',
+    to: 'dot'
+  });
+
+  test_no_interpolation({
+    property: 'text-underline-position',
+    from: 'initial',
+    to: 'under'
+  });
+</script>