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

Side by Side Diff: Source/devtools/front_end/cm/css.js

Issue 45733010: Add pointer-events="bounding-box" for svg content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: make assert more specific Created 7 years 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
« no previous file with comments | « Source/devtools/front_end/CSSMetadata.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CodeMirror.defineMode("css", function(config) { 1 CodeMirror.defineMode("css", function(config) {
2 return CodeMirror.getMode(config, "text/css"); 2 return CodeMirror.getMode(config, "text/css");
3 }); 3 });
4 4
5 CodeMirror.defineMode("css-base", function(config, parserConfig) { 5 CodeMirror.defineMode("css-base", function(config, parserConfig) {
6 "use strict"; 6 "use strict";
7 7
8 var indentUnit = config.indentUnit, 8 var indentUnit = config.indentUnit,
9 hooks = parserConfig.hooks || {}, 9 hooks = parserConfig.hooks || {},
10 atMediaTypes = parserConfig.atMediaTypes || {}, 10 atMediaTypes = parserConfig.atMediaTypes || {},
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 "whitesmoke", "yellow", "yellowgreen" 435 "whitesmoke", "yellow", "yellowgreen"
436 ]); 436 ]);
437 437
438 var valueKeywords = keySet([ 438 var valueKeywords = keySet([
439 "above", "absolute", "activeborder", "activecaption", "afar", 439 "above", "absolute", "activeborder", "activecaption", "afar",
440 "after-white-space", "ahead", "alias", "all", "all-scroll", "alternate", 440 "after-white-space", "ahead", "alias", "all", "all-scroll", "alternate",
441 "always", "amharic", "amharic-abegede", "antialiased", "appworkspace", 441 "always", "amharic", "amharic-abegede", "antialiased", "appworkspace",
442 "arabic-indic", "armenian", "asterisks", "auto", "avoid", "background", 442 "arabic-indic", "armenian", "asterisks", "auto", "avoid", "background",
443 "backwards", "baseline", "below", "bidi-override", "binary", "bengali", 443 "backwards", "baseline", "below", "bidi-override", "binary", "bengali",
444 "blink", "block", "block-axis", "bold", "bolder", "border", "border-box", 444 "blink", "block", "block-axis", "bold", "bolder", "border", "border-box",
445 "both", "bottom", "break-all", "break-word", "button", "button-bevel", 445 "both", "bottom", "bounding-box", "break-all", "break-word", "button", "butt on-bevel",
446 "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "cambodian", 446 "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "cambodian",
447 "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret", 447 "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret",
448 "cell", "center", "checkbox", "circle", "cjk-earthly-branch", 448 "cell", "center", "checkbox", "circle", "cjk-earthly-branch",
449 "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote", 449 "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
450 "col-resize", "collapse", "compact", "condensed", "contain", "content", 450 "col-resize", "collapse", "compact", "condensed", "contain", "content",
451 "content-box", "context-menu", "continuous", "copy", "cover", "crop", 451 "content-box", "context-menu", "continuous", "copy", "cover", "crop",
452 "cross", "crosshair", "currentcolor", "cursive", "dashed", "decimal", 452 "cross", "crosshair", "currentcolor", "cursive", "dashed", "decimal",
453 "decimal-leading-zero", "default", "default-button", "destination-atop", 453 "decimal-leading-zero", "default", "default-button", "destination-atop",
454 "destination-in", "destination-out", "destination-over", "devanagari", 454 "destination-in", "destination-out", "destination-over", "devanagari",
455 "disc", "discard", "document", "dot-dash", "dot-dot-dash", "dotted", 455 "disc", "discard", "document", "dot-dash", "dot-dot-dash", "dotted",
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 return ["operator", "interpolation"]; 598 return ["operator", "interpolation"];
599 } else { 599 } else {
600 stream.eatWhile(/[\w\\\-]/); 600 stream.eatWhile(/[\w\\\-]/);
601 return ["atom", "hash"]; 601 return ["atom", "hash"];
602 } 602 }
603 } 603 }
604 }, 604 },
605 name: "css-base" 605 name: "css-base"
606 }); 606 });
607 })(); 607 })();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/CSSMetadata.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698