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

Unified Diff: LayoutTests/animations/min-max-content-crash.html

Issue 1162593006: Fix crash when animating -webkit-{min,max}-content keyword (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/min-max-content-crash.html
diff --git a/LayoutTests/animations/min-max-content-crash.html b/LayoutTests/animations/min-max-content-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..206c2daf819a0345eabe5aefe7146c4bc5fd2f29
--- /dev/null
+++ b/LayoutTests/animations/min-max-content-crash.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<style>
+@keyframes test {
+ from {
+ min-width: -webkit-min-content;
+ min-height: -webkit-max-content;
+ }
+}
+
+#target {
+ animation: test 1000s;
+}
+</style>
+<div id="target"></div>
+<script>
+var async_handle = async_test('This test passes if it does not crash');
+requestAnimationFrame(function() {
+ async_handle.done();
+});
+</script>
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698