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

Side by Side Diff: LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <style> 4 <style>
5 h1 { 5 h1 {
6 color: #FF2; 6 color: #FF2;
7 opacity: .5; 7 opacity: .5;
8 -webkit-transform: rotate(1000000000000000065537deg); 8 transform: rotate(1000000000000000065537deg);
9 } 9 }
10 </style> 10 </style>
11 11
12 <script src="../../../http/tests/inspector/inspector-test.js"></script> 12 <script src="../../../http/tests/inspector/inspector-test.js"></script>
13 <script src="../../../http/tests/inspector/elements-test.js"></script> 13 <script src="../../../http/tests/inspector/elements-test.js"></script>
14 <script> 14 <script>
15 15
16 function test() 16 function test()
17 { 17 {
18 InspectorTest.runTestSuite([ 18 InspectorTest.runTestSuite([
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 opacityTreeElement.valueElement.dispatchEvent(InspectorTest.createKe yEvent("Up")); 52 opacityTreeElement.valueElement.dispatchEvent(InspectorTest.createKe yEvent("Up"));
53 // 1.6 53 // 1.6
54 opacityTreeElement.valueElement.dispatchEvent(InspectorTest.createKe yEvent("PageUp")); 54 opacityTreeElement.valueElement.dispatchEvent(InspectorTest.createKe yEvent("PageUp"));
55 // 11.6 55 // 11.6
56 InspectorTest.addResult(opacityTreeElement.listItemElement.textConte nt); 56 InspectorTest.addResult(opacityTreeElement.listItemElement.textConte nt);
57 next(); 57 next();
58 }, 58 },
59 59
60 function testAlterBigNumber(next) 60 function testAlterBigNumber(next)
61 { 61 {
62 var treeElement = InspectorTest.getMatchedStylePropertyTreeItem("-we bkit-transform"); 62 var treeElement = InspectorTest.getMatchedStylePropertyTreeItem("tra nsform");
63 treeElement.startEditing(treeElement.valueElement); 63 treeElement.startEditing(treeElement.valueElement);
64 var selection = window.getSelection(); 64 var selection = window.getSelection();
65 var range = selection.getRangeAt(0); 65 var range = selection.getRangeAt(0);
66 var newRange = document.createRange(); 66 var newRange = document.createRange();
67 newRange.setStart(range.startContainer, 10); 67 newRange.setStart(range.startContainer, 10);
68 newRange.setEnd(range.startContainer, 10); 68 newRange.setEnd(range.startContainer, 10);
69 selection.removeAllRanges(); 69 selection.removeAllRanges();
70 selection.addRange(newRange); 70 selection.addRange(newRange);
71 treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent( "Up")); 71 treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent( "Up"));
72 treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent( "PageUp")); 72 treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent( "PageUp"));
73 InspectorTest.addResult(treeElement.listItemElement.textContent); 73 InspectorTest.addResult(treeElement.listItemElement.textContent);
74 next(); 74 next();
75 } 75 }
76 ]); 76 ]);
77 } 77 }
78 </script> 78 </script>
79 </head> 79 </head>
80 80
81 <body onload="runTest()"> 81 <body onload="runTest()">
82 <p> 82 <p>
83 Tests that numeric and color values are incremented/decremented correctly. 83 Tests that numeric and color values are incremented/decremented correctly.
84 </p> 84 </p>
85 <h1 id="inspected">Inspect Me</h1> 85 <h1 id="inspected">Inspect Me</h1>
86 </body> 86 </body>
87 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698