summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/animations/min-max-content-crash.html
blob: 206c2daf819a0345eabe5aefe7146c4bc5fd2f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>