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

Side by Side Diff: LayoutTests/fast/css/cubic-bezier-with-multiple-calcs-crash.html

Issue 369313002: m_parsedCalculation has to be cleared between parsing cubic-bezier() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test update Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/cubic-bezier-with-multiple-calcs-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <style>
4 * {
5 transition-timing-function: cubic-bezier(0, 0, calc(0.5), calc(1.0));
6 }
7 </style>
8 </head>
9 <body>
10 <p>This tests that calc() values in cubic-bezier functions are read correctl y.</p>
11 <p id="result"></p>
12 </body>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
16
17 var body = document.getElementsByTagName("body")[0];
18 if (window.getComputedStyle(body)["transitionTimingFunction"] == "cubic-bezi er(0, 0, 0.5, 1)")
19 document.getElementById("result").innerText = "PASS";
20 else
21 document.getElementById("result").innerText = "FAIL";
22 </script>
23 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/cubic-bezier-with-multiple-calcs-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698