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

Side by Side Diff: LayoutTests/transforms/webkit-perspective-origin-csstext.html

Issue 1099483002: Use alias_for with trivial property aliases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@alias
Patch Set: rebase a couple of tests Created 5 years, 8 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script> 4 <script>
5 test(function(){ 5 test(function(){
6 var div = document.createElement('div'); 6 var div = document.createElement('div');
7 div.style.webkitPerspectiveOrigin = '20px 30px'; 7 div.style.webkitPerspectiveOrigin = '20px 30px';
8 assert_equals(div.style.cssText, '-webkit-perspective-origin: 20px 30px;'); 8 assert_equals(div.style.cssText, 'perspective-origin: 20px 30px;');
9 }, "cssText behaves as expected with -webkit-perspective-origin"); 9 }, "cssText behaves as expected with -webkit-perspective-origin");
10 </script> 10 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698