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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/support/text-orientation.js

Issue 1295773004: update-w3c-deps import using blink c936ac9d274f959a4b5908db6835bcd612fb1a9e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 (function () { 1 (function () {
2 var log = function () {};
3
2 function OrientationTester(container, orientation) { 4 function OrientationTester(container, orientation) {
3 this.container = container; 5 this.container = container;
4 this.setOrientation(orientation); 6 this.setOrientation(orientation);
5 } 7 }
6 extend(OrientationTester.prototype, { 8 extend(OrientationTester.prototype, {
7 setOrientation: function (orientation) { 9 setOrientation: function (orientation) {
8 this.orientation = orientation; 10 this.orientation = orientation;
9 }, 11 },
10 measure: function (results) { 12 measure: function (results) {
11 this.results = results; 13 this.results = results;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 if (text) 207 if (text)
206 node.textContent = text; 208 node.textContent = text;
207 parent.appendChild(node); 209 parent.appendChild(node);
208 return node; 210 return node;
209 } 211 }
210 212
211 function extend(target, dict) { 213 function extend(target, dict) {
212 for (var key in dict) 214 for (var key in dict)
213 target[key] = dict[key]; 215 target[key] = dict[key];
214 } 216 }
215
216 function log(text) {
217 console.log(text);
218 }
219 })(); 217 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698