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

Side by Side Diff: Source/devtools/front_end/cm/css.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 CodeMirror.defineMode("css", function(config, parserConfig) { 1 CodeMirror.defineMode("css", function(config, parserConfig) {
2 "use strict"; 2 "use strict";
3 3
4 if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode("tex t/css"); 4 if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode("tex t/css");
5 5
6 var indentUnit = config.indentUnit || config.tabSize || 2, 6 var indentUnit = config.indentUnit || config.tabSize || 2,
7 hooks = parserConfig.hooks || {}, 7 hooks = parserConfig.hooks || {},
8 atMediaTypes = parserConfig.atMediaTypes || {}, 8 atMediaTypes = parserConfig.atMediaTypes || {},
9 atMediaFeatures = parserConfig.atMediaFeatures || {}, 9 atMediaFeatures = parserConfig.atMediaFeatures || {},
10 propertyKeywords = parserConfig.propertyKeywords || {}, 10 propertyKeywords = parserConfig.propertyKeywords || {},
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 "media-sliderthumb", "media-time-remaining-display", "media-volume-slider", 504 "media-sliderthumb", "media-time-remaining-display", "media-volume-slider",
505 "media-volume-slider-container", "media-volume-sliderthumb", "medium", 505 "media-volume-slider-container", "media-volume-sliderthumb", "medium",
506 "menu", "menulist", "menulist-button", "menulist-text", 506 "menu", "menulist", "menulist-button", "menulist-text",
507 "menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic", 507 "menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic",
508 "mix", "mongolian", "monospace", "move", "multiple", "myanmar", "n-resize", 508 "mix", "mongolian", "monospace", "move", "multiple", "myanmar", "n-resize",
509 "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop", 509 "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop",
510 "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap", 510 "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap",
511 "ns-resize", "nw-resize", "nwse-resize", "oblique", "octal", "open-quote", 511 "ns-resize", "nw-resize", "nwse-resize", "oblique", "octal", "open-quote",
512 "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset", 512 "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset",
513 "outside", "outside-shape", "overlay", "overline", "padding", "padding-box", 513 "outside", "outside-shape", "overlay", "overline", "padding", "padding-box",
514 "painted", "page", "paused", "persian", "plus-darker", "plus-lighter", "poin ter", 514 "painted", "page", "paused", "persian", "pixelated","plus-darker", "plus-lig hter", "pointer",
515 "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progre ss", "push-button", 515 "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progre ss", "push-button",
516 "radio", "read-only", "read-write", "read-write-plaintext-only", "rectangle" , "region", 516 "radio", "read-only", "read-write", "read-write-plaintext-only", "rectangle" , "region",
517 "relative", "repeat", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rg ba", 517 "relative", "repeat", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rg ba",
518 "ridge", "right", "round", "row-resize", "rtl", "run-in", "running", 518 "ridge", "right", "round", "row-resize", "rtl", "run-in", "running",
519 "s-resize", "sans-serif", "scroll", "scrollbar", "se-resize", "searchfield", 519 "s-resize", "sans-serif", "scroll", "scrollbar", "se-resize", "searchfield",
520 "searchfield-cancel-button", "searchfield-decoration", 520 "searchfield-cancel-button", "searchfield-decoration",
521 "searchfield-results-button", "searchfield-results-decoration", 521 "searchfield-results-button", "searchfield-results-decoration",
522 "semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama", 522 "semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama",
523 "single", "skip-white-space", "slide", "slider-horizontal", 523 "single", "skip-white-space", "slide", "slider-horizontal",
524 "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow", 524 "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 return ["operator", "interpolation"]; 630 return ["operator", "interpolation"];
631 } else { 631 } else {
632 stream.eatWhile(/[\w\\\-]/); 632 stream.eatWhile(/[\w\\\-]/);
633 return ["atom", "hash"]; 633 return ["atom", "hash"];
634 } 634 }
635 } 635 }
636 }, 636 },
637 name: "css" 637 name: "css"
638 }); 638 });
639 })(); 639 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698