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

Side by Side Diff: LayoutTests/transitions/unprefixed-perspective.html

Issue 98663004: Add support for unprefixed CSS Transforms (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <div class="target">all 10ms</div><br>
3 <div class="target">perspective 10ms</div><br>
4 <div class="target">-webkit-perspective 10ms</div><br>
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
9 }
10
11 document.addEventListener('transitionend', function(e) {
12 var result = document.createElement('div');
13 result.textContent = 'fired transitionend with propertyName: ' + e.propertyNam e;
14 e.target.appendChild(result);
15 if (window.testRunner) {
16 // All events should be fired by next frame.
17 requestAnimationFrame(function() {
18 testRunner.notifyDone();
19 });
20 }
21 });
22
23 onload = function() {
24 var targets = document.querySelectorAll('.target');
25 for (var i = 0; i < targets.length; i++) {
26 targets[i].offsetTop;
27 targets[i].style.transition = targets[i].textContent;
28 targets[i].style.webkitPerspective = '10px';
29 targets[i].style.perspective = '10px';
30 }
31 };
32 </script>
OLDNEW
« no previous file with comments | « LayoutTests/transforms/transform-style-parsing.html ('k') | LayoutTests/transitions/unprefixed-perspective-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698