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

Side by Side Diff: Source/devtools/front_end/sdk/CSSMetadata.js

Issue 336693005: Add image-rendering: pixelated. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
1 /* 1 /*
2 * Copyright (C) 2010 Nikita Vasilyev. All rights reserved. 2 * Copyright (C) 2010 Nikita Vasilyev. All rights reserved.
3 * Copyright (C) 2010 Joseph Pecoraro. All rights reserved. 3 * Copyright (C) 2010 Joseph Pecoraro. All rights reserved.
4 * Copyright (C) 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2010 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 "display": { values: [ 371 "display": { values: [
372 "none", "inline", "block", "list-item", "run-in", "compact", "inline-blo ck", "table", "inline-table", 372 "none", "inline", "block", "list-item", "run-in", "compact", "inline-blo ck", "table", "inline-table",
373 "table-row-group", "table-header-group", "table-footer-group", "table-ro w", "table-column-group", 373 "table-row-group", "table-header-group", "table-footer-group", "table-ro w", "table-column-group",
374 "table-column", "table-cell", "table-caption", "-webkit-box", "-webkit-i nline-box", 374 "table-column", "table-cell", "table-caption", "-webkit-box", "-webkit-i nline-box",
375 "flex", "inline-flex", "grid", "inline-grid" 375 "flex", "inline-flex", "grid", "inline-grid"
376 ] }, 376 ] },
377 "-webkit-text-emphasis-position": { values: [ 377 "-webkit-text-emphasis-position": { values: [
378 "over", "under" 378 "over", "under"
379 ] }, 379 ] },
380 "image-rendering": { values: [ 380 "image-rendering": { values: [
381 "auto", "optimizeSpeed", "optimizeQuality" 381 "auto", "optimizeSpeed", "optimizeQuality", "pixelated"
382 ] }, 382 ] },
383 "alignment-baseline": { values: [ 383 "alignment-baseline": { values: [
384 "baseline", "middle", "auto", "before-edge", "after-edge", "central", "t ext-before-edge", "text-after-edge", 384 "baseline", "middle", "auto", "before-edge", "after-edge", "central", "t ext-before-edge", "text-after-edge",
385 "ideographic", "alphabetic", "hanging", "mathematical" 385 "ideographic", "alphabetic", "hanging", "mathematical"
386 ] }, 386 ] },
387 "outline-width": { values: [ 387 "outline-width": { values: [
388 "medium", "thick", "thin" 388 "medium", "thick", "thin"
389 ] }, 389 ] },
390 "text-line-through-width": { values: [ 390 "text-line-through-width": { values: [
391 "normal", "medium", "auto", "thick", "thin" 391 "normal", "medium", "auto", "thick", "thin"
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 * @param {string} longhand 994 * @param {string} longhand
995 * @return {?Array.<string>} 995 * @return {?Array.<string>}
996 */ 996 */
997 shorthands: function(longhand) 997 shorthands: function(longhand)
998 { 998 {
999 return this._shorthands[longhand]; 999 return this._shorthands[longhand];
1000 } 1000 }
1001 } 1001 }
1002 1002
1003 WebInspector.CSSMetadata.initializeWithSupportedProperties([]); 1003 WebInspector.CSSMetadata.initializeWithSupportedProperties([]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698