[Python-modules-commits] [notebook] 01/02: Add individual js files for caja to missing-source
Gordon Ball
chronitis-guest at moszumanska.debian.org
Wed Oct 19 21:17:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository notebook.
commit 971008be0fec53ead4a1163f0e4b0ee4a2b9b37c
Author: Gordon Ball <gordon at chronitis.net>
Date: Wed Oct 19 22:46:26 2016 +0200
Add individual js files for caja to missing-source
---
debian/contrib/html-css-sanitizer-bundle.js | 4820 ---------------------------
debian/copyright | 2 +-
debian/missing-source/css-defs.js | 748 +++++
debian/missing-source/csslexer.js | 285 ++
debian/missing-source/cssparser.js | 321 ++
debian/missing-source/html-sanitizer.js | 1090 ++++++
debian/missing-source/html4-defs.js | 641 ++++
debian/missing-source/sanitizecss.js | 1016 ++++++
debian/missing-source/uri.js | 744 +++++
debian/rules | 12 +-
10 files changed, 4856 insertions(+), 4823 deletions(-)
diff --git a/debian/contrib/html-css-sanitizer-bundle.js b/debian/contrib/html-css-sanitizer-bundle.js
deleted file mode 100644
index ee5f3a4..0000000
--- a/debian/contrib/html-css-sanitizer-bundle.js
+++ /dev/null
@@ -1,4820 +0,0 @@
-/* Copyright Google Inc.
- * Licensed under the Apache Licence Version 2.0
- * Autogenerated at Wed Feb 26 17:25:09 PST 2014
- * \@overrides window
- * \@provides cssSchema, CSS_PROP_BIT_QUANTITY, CSS_PROP_BIT_HASH_VALUE, CSS_PROP_BIT_NEGATIVE_QUANTITY, CSS_PROP_BIT_QSTRING, CSS_PROP_BIT_URL, CSS_PROP_BIT_UNRESERVED_WORD, CSS_PROP_BIT_UNICODE_RANGE, CSS_PROP_BIT_GLOBAL_NAME, CSS_PROP_BIT_PROPERTY_NAME */
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_QUANTITY = 1;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_HASH_VALUE = 2;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_NEGATIVE_QUANTITY = 4;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_QSTRING = 8;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_URL = 16;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_UNRESERVED_WORD = 64;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_UNICODE_RANGE = 128;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_GLOBAL_NAME = 512;
-/**
- * @const
- * @type {number}
- */
-var CSS_PROP_BIT_PROPERTY_NAME = 1024;
-var cssSchema = (function () {
- var L = [ [ 'aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure',
- 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 'blueviolet',
- 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral',
- 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue',
- 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkkhaki',
- 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred',
- 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray',
- 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray',
- 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'fuchsia',
- 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'gray', 'green',
- 'greenyellow', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory',
- 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon',
- 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow',
- 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen',
- 'lightskyblue', 'lightslategray', 'lightsteelblue', 'lightyellow',
- 'lime', 'limegreen', 'linen', 'magenta', 'maroon', 'mediumaquamarine',
- 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen',
- 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise',
- 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose',
- 'moccasin', 'navajowhite', 'navy', 'oldlace', 'olive', 'olivedrab',
- 'orange', 'orangered', 'orchid', 'palegoldenrod', 'palegreen',
- 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru',
- 'pink', 'plum', 'powderblue', 'purple', 'red', 'rosybrown',
- 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen',
- 'seashell', 'sienna', 'silver', 'skyblue', 'slateblue', 'slategray',
- 'snow', 'springgreen', 'steelblue', 'tan', 'teal', 'thistle', 'tomato',
- 'transparent', 'turquoise', 'violet', 'wheat', 'white', 'whitesmoke',
- 'yellow', 'yellowgreen' ], [ 'all-scroll', 'col-resize', 'crosshair',
- 'default', 'e-resize', 'hand', 'help', 'move', 'n-resize', 'ne-resize',
- 'no-drop', 'not-allowed', 'nw-resize', 'pointer', 'progress',
- 'row-resize', 's-resize', 'se-resize', 'sw-resize', 'text',
- 'vertical-text', 'w-resize', 'wait' ], [ 'armenian', 'decimal',
- 'decimal-leading-zero', 'disc', 'georgian', 'lower-alpha',
- 'lower-greek', 'lower-latin', 'lower-roman', 'square', 'upper-alpha',
- 'upper-latin', 'upper-roman' ], [ '100', '200', '300', '400', '500',
- '600', '700', '800', '900', 'bold', 'bolder', 'lighter' ], [
- 'block-level', 'inline-level', 'table-caption', 'table-cell',
- 'table-column', 'table-column-group', 'table-footer-group',
- 'table-header-group', 'table-row', 'table-row-group' ], [ 'condensed',
- 'expanded', 'extra-condensed', 'extra-expanded', 'narrower',
- 'semi-condensed', 'semi-expanded', 'ultra-condensed', 'ultra-expanded',
- 'wider' ], [ 'inherit', 'inline', 'inline-block', 'inline-box',
- 'inline-flex', 'inline-grid', 'inline-list-item', 'inline-stack',
- 'inline-table', 'run-in' ], [ 'behind', 'center-left', 'center-right',
- 'far-left', 'far-right', 'left-side', 'leftwards', 'right-side',
- 'rightwards' ], [ 'large', 'larger', 'small', 'smaller', 'x-large',
- 'x-small', 'xx-large', 'xx-small' ], [ 'dashed', 'dotted', 'double',
- 'groove', 'outset', 'ridge', 'solid' ], [ 'ease', 'ease-in',
- 'ease-in-out', 'ease-out', 'linear', 'step-end', 'step-start' ], [
- 'at', 'closest-corner', 'closest-side', 'ellipse', 'farthest-corner',
- 'farthest-side' ], [ 'baseline', 'middle', 'sub', 'super',
- 'text-bottom', 'text-top' ], [ 'caption', 'icon', 'menu',
- 'message-box', 'small-caption', 'status-bar' ], [ 'fast', 'faster',
- 'slow', 'slower', 'x-fast', 'x-slow' ], [ 'above', 'below', 'higher',
- 'level', 'lower' ], [ 'cursive', 'fantasy', 'monospace', 'sans-serif',
- 'serif' ], [ 'loud', 'silent', 'soft', 'x-loud', 'x-soft' ], [
- 'no-repeat', 'repeat-x', 'repeat-y', 'round', 'space' ], [ 'blink',
- 'line-through', 'overline', 'underline' ], [ 'block', 'flex', 'grid',
- 'table' ], [ 'high', 'low', 'x-high', 'x-low' ], [ 'nowrap', 'pre',
- 'pre-line', 'pre-wrap' ], [ 'absolute', 'relative', 'static' ], [
- 'alternate', 'alternate-reverse', 'reverse' ], [ 'border-box',
- 'content-box', 'padding-box' ], [ 'capitalize', 'lowercase',
- 'uppercase' ], [ 'child', 'female', 'male' ], [ '=', 'opacity' ], [
- 'backwards', 'forwards' ], [ 'bidi-override', 'embed' ], [ 'bottom',
- 'top' ], [ 'break-all', 'keep-all' ], [ 'clip', 'ellipsis' ], [
- 'contain', 'cover' ], [ 'continuous', 'digits' ], [ 'end', 'start' ], [
- 'flat', 'preserve-3d' ], [ 'hide', 'show' ], [ 'horizontal', 'vertical'
- ], [ 'inside', 'outside' ], [ 'italic', 'oblique' ], [ 'left', 'right' ],
- [ 'ltr', 'rtl' ], [ 'no-content', 'no-display' ], [ 'paused', 'running' ]
- , [ 'suppress', 'unrestricted' ], [ 'thick', 'thin' ], [ ',' ], [ '/' ],
- [ 'all' ], [ 'always' ], [ 'auto' ], [ 'avoid' ], [ 'both' ], [
- 'break-word' ], [ 'center' ], [ 'circle' ], [ 'code' ], [ 'collapse' ],
- [ 'contents' ], [ 'fixed' ], [ 'hidden' ], [ 'infinite' ], [ 'inset' ], [
- 'invert' ], [ 'justify' ], [ 'list-item' ], [ 'local' ], [ 'medium' ],
- [ 'mix' ], [ 'none' ], [ 'normal' ], [ 'once' ], [ 'repeat' ], [ 'scroll'
- ], [ 'separate' ], [ 'small-caps' ], [ 'spell-out' ], [ 'to' ], [
- 'visible' ] ];
- var schema = {
- 'animation': {
- 'cssPropBits': 517,
- 'cssLitGroup': [ L[ 10 ], L[ 24 ], L[ 29 ], L[ 45 ], L[ 48 ], L[ 54 ],
- L[ 63 ], L[ 71 ], L[ 72 ] ],
- 'cssFns': [ 'cubic-bezier()', 'steps()' ]
- },
- 'animation-delay': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 48 ] ],
- 'cssFns': [ ]
- },
- 'animation-direction': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 24 ], L[ 48 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'animation-duration': 'animation-delay',
- 'animation-fill-mode': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 29 ], L[ 48 ], L[ 54 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'animation-iteration-count': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 48 ], L[ 63 ] ],
- 'cssFns': [ ]
- },
- 'animation-name': {
- 'cssPropBits': 512,
- 'cssLitGroup': [ L[ 48 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'animation-play-state': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 45 ], L[ 48 ] ],
- 'cssFns': [ ]
- },
- 'animation-timing-function': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 10 ], L[ 48 ] ],
- 'cssFns': [ 'cubic-bezier()', 'steps()' ]
- },
- 'appearance': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'azimuth': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 7 ], L[ 42 ], L[ 56 ] ],
- 'cssFns': [ ]
- },
- 'backface-visibility': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 59 ], L[ 62 ], L[ 80 ] ],
- 'cssFns': [ ]
- },
- 'background': {
- 'cssPropBits': 23,
- 'cssLitGroup': [ L[ 0 ], L[ 18 ], L[ 25 ], L[ 31 ], L[ 34 ], L[ 42 ],
- L[ 48 ], L[ 49 ], L[ 52 ], L[ 56 ], L[ 61 ], L[ 68 ], L[ 71 ], L[ 74
- ], L[ 75 ] ],
- 'cssFns': [ 'image()', 'linear-gradient()', 'radial-gradient()',
- 'repeating-linear-gradient()', 'repeating-radial-gradient()',
- 'rgb()', 'rgba()' ]
- },
- 'background-attachment': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 48 ], L[ 61 ], L[ 68 ], L[ 75 ] ],
- 'cssFns': [ ]
- },
- 'background-color': {
- 'cssPropBits': 2,
- 'cssLitGroup': [ L[ 0 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'background-image': {
- 'cssPropBits': 16,
- 'cssLitGroup': [ L[ 48 ], L[ 71 ] ],
- 'cssFns': [ 'image()', 'linear-gradient()', 'radial-gradient()',
- 'repeating-linear-gradient()', 'repeating-radial-gradient()' ]
- },
- 'background-position': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 31 ], L[ 42 ], L[ 48 ], L[ 56 ] ],
- 'cssFns': [ ]
- },
- 'background-repeat': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 18 ], L[ 48 ], L[ 74 ] ],
- 'cssFns': [ ]
- },
- 'background-size': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 34 ], L[ 48 ], L[ 52 ] ],
- 'cssFns': [ ]
- },
- 'border': {
- 'cssPropBits': 7,
- 'cssLitGroup': [ L[ 0 ], L[ 9 ], L[ 47 ], L[ 62 ], L[ 64 ], L[ 69 ], L[
- 71 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'border-bottom': 'border',
- 'border-bottom-color': 'background-color',
- 'border-bottom-left-radius': {
- 'cssPropBits': 5,
- 'cssFns': [ ]
- },
- 'border-bottom-right-radius': 'border-bottom-left-radius',
- 'border-bottom-style': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 9 ], L[ 62 ], L[ 64 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'border-bottom-width': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 47 ], L[ 69 ] ],
- 'cssFns': [ ]
- },
- 'border-collapse': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 59 ], L[ 76 ] ],
- 'cssFns': [ ]
- },
- 'border-color': 'background-color',
- 'border-left': 'border',
- 'border-left-color': 'background-color',
- 'border-left-style': 'border-bottom-style',
- 'border-left-width': 'border-bottom-width',
- 'border-radius': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 49 ] ],
- 'cssFns': [ ]
- },
- 'border-right': 'border',
- 'border-right-color': 'background-color',
- 'border-right-style': 'border-bottom-style',
- 'border-right-width': 'border-bottom-width',
- 'border-spacing': 'border-bottom-left-radius',
- 'border-style': 'border-bottom-style',
- 'border-top': 'border',
- 'border-top-color': 'background-color',
- 'border-top-left-radius': 'border-bottom-left-radius',
- 'border-top-right-radius': 'border-bottom-left-radius',
- 'border-top-style': 'border-bottom-style',
- 'border-top-width': 'border-bottom-width',
- 'border-width': 'border-bottom-width',
- 'bottom': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 52 ] ],
- 'cssFns': [ ]
- },
- 'box': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 60 ], L[ 71 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'box-shadow': {
- 'cssPropBits': 7,
- 'cssLitGroup': [ L[ 0 ], L[ 48 ], L[ 64 ], L[ 71 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'box-sizing': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 25 ] ],
- 'cssFns': [ ]
- },
- 'caption-side': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 31 ] ],
- 'cssFns': [ ]
- },
- 'clear': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 42 ], L[ 54 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'clip': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 52 ] ],
- 'cssFns': [ 'rect()' ]
- },
- 'color': 'background-color',
- 'content': {
- 'cssPropBits': 8,
- 'cssLitGroup': [ L[ 71 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'cue': {
- 'cssPropBits': 16,
- 'cssLitGroup': [ L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'cue-after': 'cue',
- 'cue-before': 'cue',
- 'cursor': {
- 'cssPropBits': 16,
- 'cssLitGroup': [ L[ 1 ], L[ 48 ], L[ 52 ] ],
- 'cssFns': [ ]
- },
- 'direction': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 43 ] ],
- 'cssFns': [ ]
- },
- 'display': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 4 ], L[ 6 ], L[ 20 ], L[ 52 ], L[ 67 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'display-extras': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 67 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'display-inside': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 20 ], L[ 52 ] ],
- 'cssFns': [ ]
- },
- 'display-outside': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 4 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'elevation': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 15 ] ],
- 'cssFns': [ ]
- },
- 'empty-cells': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 38 ] ],
- 'cssFns': [ ]
- },
- 'filter': {
- 'cssPropBits': 0,
- 'cssFns': [ 'alpha()' ]
- },
- 'float': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 42 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'font': {
- 'cssPropBits': 73,
- 'cssLitGroup': [ L[ 3 ], L[ 8 ], L[ 13 ], L[ 16 ], L[ 41 ], L[ 48 ], L[
- 49 ], L[ 69 ], L[ 72 ], L[ 77 ] ],
- 'cssFns': [ ]
- },
- 'font-family': {
- 'cssPropBits': 72,
- 'cssLitGroup': [ L[ 16 ], L[ 48 ] ],
- 'cssFns': [ ]
- },
- 'font-size': {
- 'cssPropBits': 1,
- 'cssLitGroup': [ L[ 8 ], L[ 69 ] ],
- 'cssFns': [ ]
- },
- 'font-stretch': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 5 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'font-style': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 41 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'font-variant': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 72 ], L[ 77 ] ],
- 'cssFns': [ ]
- },
- 'font-weight': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 3 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'height': 'bottom',
- 'left': 'bottom',
- 'letter-spacing': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'line-height': {
- 'cssPropBits': 1,
- 'cssLitGroup': [ L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'list-style': {
- 'cssPropBits': 16,
- 'cssLitGroup': [ L[ 2 ], L[ 40 ], L[ 57 ], L[ 71 ] ],
- 'cssFns': [ 'image()', 'linear-gradient()', 'radial-gradient()',
- 'repeating-linear-gradient()', 'repeating-radial-gradient()' ]
- },
- 'list-style-image': {
- 'cssPropBits': 16,
- 'cssLitGroup': [ L[ 71 ] ],
- 'cssFns': [ 'image()', 'linear-gradient()', 'radial-gradient()',
- 'repeating-linear-gradient()', 'repeating-radial-gradient()' ]
- },
- 'list-style-position': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 40 ] ],
- 'cssFns': [ ]
- },
- 'list-style-type': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 2 ], L[ 57 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'margin': 'bottom',
- 'margin-bottom': 'bottom',
- 'margin-left': 'bottom',
- 'margin-right': 'bottom',
- 'margin-top': 'bottom',
- 'max-height': {
- 'cssPropBits': 1,
- 'cssLitGroup': [ L[ 52 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'max-width': 'max-height',
- 'min-height': {
- 'cssPropBits': 1,
- 'cssLitGroup': [ L[ 52 ] ],
- 'cssFns': [ ]
- },
- 'min-width': 'min-height',
- 'opacity': {
- 'cssPropBits': 1,
- 'cssFns': [ ]
- },
- 'outline': {
- 'cssPropBits': 7,
- 'cssLitGroup': [ L[ 0 ], L[ 9 ], L[ 47 ], L[ 62 ], L[ 64 ], L[ 65 ], L[
- 69 ], L[ 71 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'outline-color': {
- 'cssPropBits': 2,
- 'cssLitGroup': [ L[ 0 ], L[ 65 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'outline-style': 'border-bottom-style',
- 'outline-width': 'border-bottom-width',
- 'overflow': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 52 ], L[ 62 ], L[ 75 ], L[ 80 ] ],
- 'cssFns': [ ]
- },
- 'overflow-wrap': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 55 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'overflow-x': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 44 ], L[ 52 ], L[ 62 ], L[ 75 ], L[ 80 ] ],
- 'cssFns': [ ]
- },
- 'overflow-y': 'overflow-x',
- 'padding': 'opacity',
- 'padding-bottom': 'opacity',
- 'padding-left': 'opacity',
- 'padding-right': 'opacity',
- 'padding-top': 'opacity',
- 'page-break-after': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 42 ], L[ 51 ], L[ 52 ], L[ 53 ] ],
- 'cssFns': [ ]
- },
- 'page-break-before': 'page-break-after',
- 'page-break-inside': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 52 ], L[ 53 ] ],
- 'cssFns': [ ]
- },
- 'pause': 'border-bottom-left-radius',
- 'pause-after': 'border-bottom-left-radius',
- 'pause-before': 'border-bottom-left-radius',
- 'perspective': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'perspective-origin': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 31 ], L[ 42 ], L[ 56 ] ],
- 'cssFns': [ ]
- },
- 'pitch': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 21 ], L[ 69 ] ],
- 'cssFns': [ ]
- },
- 'pitch-range': 'border-bottom-left-radius',
- 'play-during': {
- 'cssPropBits': 16,
- 'cssLitGroup': [ L[ 52 ], L[ 70 ], L[ 71 ], L[ 74 ] ],
- 'cssFns': [ ]
- },
- 'position': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 23 ] ],
- 'cssFns': [ ]
- },
- 'quotes': {
- 'cssPropBits': 8,
- 'cssLitGroup': [ L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'resize': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 39 ], L[ 54 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'richness': 'border-bottom-left-radius',
- 'right': 'bottom',
- 'speak': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 71 ], L[ 72 ], L[ 78 ] ],
- 'cssFns': [ ]
- },
- 'speak-header': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 51 ], L[ 73 ] ],
- 'cssFns': [ ]
- },
- 'speak-numeral': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 35 ] ],
- 'cssFns': [ ]
- },
- 'speak-punctuation': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 58 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'speech-rate': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 14 ], L[ 69 ] ],
- 'cssFns': [ ]
- },
- 'stress': 'border-bottom-left-radius',
- 'table-layout': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 52 ], L[ 61 ] ],
- 'cssFns': [ ]
- },
- 'text-align': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 42 ], L[ 56 ], L[ 66 ] ],
- 'cssFns': [ ]
- },
- 'text-decoration': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 19 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'text-indent': 'border-bottom-left-radius',
- 'text-overflow': {
- 'cssPropBits': 8,
- 'cssLitGroup': [ L[ 33 ] ],
- 'cssFns': [ ]
- },
- 'text-shadow': 'box-shadow',
- 'text-transform': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 26 ], L[ 71 ] ],
- 'cssFns': [ ]
- },
- 'text-wrap': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 46 ], L[ 71 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'top': 'bottom',
- 'transform': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 71 ] ],
- 'cssFns': [ 'matrix()', 'perspective()', 'rotate()', 'rotate3d()',
- 'rotatex()', 'rotatey()', 'rotatez()', 'scale()', 'scale3d()',
- 'scalex()', 'scaley()', 'scalez()', 'skew()', 'skewx()', 'skewy()',
- 'translate()', 'translate3d()', 'translatex()', 'translatey()',
- 'translatez()' ]
- },
- 'transform-origin': 'perspective-origin',
- 'transform-style': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 37 ] ],
- 'cssFns': [ ]
- },
- 'transition': {
- 'cssPropBits': 1029,
- 'cssLitGroup': [ L[ 10 ], L[ 48 ], L[ 50 ], L[ 71 ] ],
- 'cssFns': [ 'cubic-bezier()', 'steps()' ]
- },
- 'transition-delay': 'animation-delay',
- 'transition-duration': 'animation-delay',
- 'transition-property': {
- 'cssPropBits': 1024,
- 'cssLitGroup': [ L[ 48 ], L[ 50 ] ],
- 'cssFns': [ ]
- },
- 'transition-timing-function': 'animation-timing-function',
- 'unicode-bidi': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 30 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'vertical-align': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 12 ], L[ 31 ] ],
- 'cssFns': [ ]
- },
- 'visibility': 'backface-visibility',
- 'voice-family': {
- 'cssPropBits': 8,
- 'cssLitGroup': [ L[ 27 ], L[ 48 ] ],
- 'cssFns': [ ]
- },
- 'volume': {
- 'cssPropBits': 1,
- 'cssLitGroup': [ L[ 17 ], L[ 69 ] ],
- 'cssFns': [ ]
- },
- 'white-space': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 22 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'width': 'min-height',
- 'word-break': {
- 'cssPropBits': 0,
- 'cssLitGroup': [ L[ 32 ], L[ 72 ] ],
- 'cssFns': [ ]
- },
- 'word-spacing': 'letter-spacing',
- 'word-wrap': 'overflow-wrap',
- 'z-index': 'bottom',
- 'zoom': 'line-height',
- 'cubic-bezier()': 'animation-delay',
- 'steps()': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 36 ], L[ 48 ] ],
- 'cssFns': [ ]
- },
- 'image()': {
- 'cssPropBits': 18,
- 'cssLitGroup': [ L[ 0 ], L[ 48 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'linear-gradient()': {
- 'cssPropBits': 7,
- 'cssLitGroup': [ L[ 0 ], L[ 31 ], L[ 42 ], L[ 48 ], L[ 79 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'radial-gradient()': {
- 'cssPropBits': 7,
- 'cssLitGroup': [ L[ 0 ], L[ 11 ], L[ 31 ], L[ 42 ], L[ 48 ], L[ 56 ],
- L[ 57 ] ],
- 'cssFns': [ 'rgb()', 'rgba()' ]
- },
- 'repeating-linear-gradient()': 'linear-gradient()',
- 'repeating-radial-gradient()': 'radial-gradient()',
- 'rgb()': {
- 'cssPropBits': 1,
- 'cssLitGroup': [ L[ 48 ] ],
- 'cssFns': [ ]
- },
- 'rgba()': 'rgb()',
- 'rect()': {
- 'cssPropBits': 5,
- 'cssLitGroup': [ L[ 48 ], L[ 52 ] ],
- 'cssFns': [ ]
- },
- 'alpha()': {
- 'cssPropBits': 1,
- 'cssLitGroup': [ L[ 28 ] ],
- 'cssFns': [ ]
- },
- 'matrix()': 'animation-delay',
- 'perspective()': 'border-bottom-left-radius',
- 'rotate()': 'border-bottom-left-radius',
- 'rotate3d()': 'animation-delay',
- 'rotatex()': 'border-bottom-left-radius',
- 'rotatey()': 'border-bottom-left-radius',
- 'rotatez()': 'border-bottom-left-radius',
- 'scale()': 'animation-delay',
- 'scale3d()': 'animation-delay',
- 'scalex()': 'border-bottom-left-radius',
- 'scaley()': 'border-bottom-left-radius',
- 'scalez()': 'border-bottom-left-radius',
- 'skew()': 'animation-delay',
- 'skewx()': 'border-bottom-left-radius',
- 'skewy()': 'border-bottom-left-radius',
- 'translate()': 'animation-delay',
- 'translate3d()': 'animation-delay',
- 'translatex()': 'border-bottom-left-radius',
- 'translatey()': 'border-bottom-left-radius',
- 'translatez()': 'border-bottom-left-radius'
- };
- if (true) {
- for (var key in schema) {
- if ('string' === typeof schema[ key ] &&
- Object.hasOwnProperty.call(schema, key)) {
- schema[ key ] = schema[ schema[ key ] ];
- }
- }
- }
- return schema;
- })();
-if (typeof window !== 'undefined') {
- window['cssSchema'] = cssSchema;
-}
-;
-// Copyright (C) 2011 Google Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-/**
- * A lexical scannar for CSS3 as defined at http://www.w3.org/TR/css3-syntax .
- *
- * @author Mike Samuel <mikesamuel at gmail.com>
- * \@provides lexCss, decodeCss
- * \@overrides window
- */
-
-var lexCss;
-var decodeCss;
-
-(function () {
-
- /**
- * Decodes an escape sequence as specified in CSS3 section 4.1.
- * http://www.w3.org/TR/css3-syntax/#characters
- * @private
- */
- function decodeCssEscape(s) {
- var i = parseInt(s.substring(1), 16);
- // If parseInt didn't find a hex diigt, it returns NaN so return the
- // escaped character.
- // Otherwise, parseInt will stop at the first non-hex digit so there's no
- // need to worry about trailing whitespace.
- if (i > 0xffff) {
- // A supplemental codepoint.
- return i -= 0x10000,
- String.fromCharCode(
- 0xd800 + (i >> 10),
- 0xdc00 + (i & 0x3FF));
- } else if (i == i) {
- return String.fromCharCode(i);
- } else if (s[1] < ' ') {
- // "a backslash followed by a newline is ignored".
- return '';
- } else {
- return s[1];
- }
- }
-
- /**
- * Returns an equivalent CSS string literal given plain text: foo -> "foo".
- * @private
- */
- function escapeCssString(s, replacer) {
- return '"' + s.replace(/[\u0000-\u001f\\\"<>]/g, replacer) + '"';
- }
-
- /**
- * Maps chars to CSS escaped equivalents: "\n" -> "\\a ".
- * @private
- */
- function escapeCssStrChar(ch) {
- return cssStrChars[ch]
- || (cssStrChars[ch] = '\\' + ch.charCodeAt(0).toString(16) + ' ');
- }
-
- /**
- * Maps chars to URI escaped equivalents: "\n" -> "%0a".
- * @private
- */
- function escapeCssUrlChar(ch) {
- return cssUrlChars[ch]
- || (cssUrlChars[ch] = (ch < '\x10' ? '%0' : '%')
- + ch.charCodeAt(0).toString(16));
- }
-
- /**
- * Mapping of CSS special characters to escaped equivalents.
- * @private
- */
- var cssStrChars = {
- '\\': '\\\\'
- };
-
- /**
- * Mapping of CSS special characters to URL-escaped equivalents.
- * @private
- */
- var cssUrlChars = {
- '\\': '%5c'
- };
-
- // The comments below are copied from the CSS3 module syntax at
- // http://www.w3.org/TR/css3-syntax .
- // These string constants minify out when this is run-through closure
- // compiler.
- // Rules that have been adapted have comments prefixed with "Diff:", and
- // where rules have been combined to avoid back-tracking in the regex engine
- // or to work around limitations, there is a comment prefixed with
- // "NewRule:".
-
- // In the below, we assume CRLF and CR have been normalize to CR.
-
- // wc ::= #x9 | #xA | #xC | #xD | #x20
- var WC = '[\\t\\n\\f ]';
- // w ::= wc*
- var W = WC + '*';
- // nl ::= #xA | #xD #xA | #xD | #xC
- var NL = '[\\n\\f]';
- // nonascii ::= [#x80-#xD7FF#xE000-#xFFFD#x10000-#x10FFFF]
- // NewRule: Supplemental codepoints are represented as surrogate pairs in JS.
- var SURROGATE_PAIR = '[\\ud800-\\udbff][\\udc00-\\udfff]';
- var NONASCII = '[\\u0080-\\ud7ff\\ue000-\\ufffd]|' + SURROGATE_PAIR;
- // unicode ::= '\' [0-9a-fA-F]{1,6} wc?
- // NewRule: No point in having ESCAPE do (\\x|\\y)
- var UNICODE_TAIL = '[0-9a-fA-F]{1,6}' + WC + '?';
- var UNICODE = '\\\\' + UNICODE_TAIL;
- // escape ::= unicode
- // | '\' [#x20-#x7E#x80-#xD7FF#xE000-#xFFFD#x10000-#x10FFFF]
- // NewRule: Below we use escape tail to efficiently match an escape or a
- // line continuation so we can decode string content.
- var ESCAPE_TAIL = '(?:' + UNICODE_TAIL
- + '|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|'
- + SURROGATE_PAIR + ')';
- var ESCAPE = '\\\\' + ESCAPE_TAIL;
- // urlchar ::= [#x9#x21#x23-#x26#x28-#x7E] | nonascii | escape
- var URLCHAR = '(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|'
- + NONASCII + '|' + ESCAPE + ')';
- // stringchar ::= urlchar | #x20 | '\' nl
- // We ignore mismatched surrogate pairs inside strings, so stringchar
- // simplifies to a non-(quote|newline|backslash) or backslash any.
- // Since we normalize CRLF to a single code-unit, there is no special
- // handling needed for '\\' + CRLF.
- var STRINGCHAR = '[^\'"\\n\\f\\\\]|\\\\[\\s\\S]';
- // string ::= '"' (stringchar | "'")* '"' | "'" (stringchar | '"')* "'"
- var STRING = '"(?:\'|' + STRINGCHAR + ')*"'
- + '|\'(?:\"|' + STRINGCHAR + ')*\'';
- // num ::= [0-9]+ | [0-9]* '.' [0-9]+
- // Diff: We attach signs to num tokens.
- var NUM = '[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)';
- // nmstart ::= [a-zA-Z] | '_' | nonascii | escape
- var NMSTART = '(?:[a-zA-Z_]|' + NONASCII + '|' + ESCAPE + ')';
- // nmchar ::= [a-zA-Z0-9] | '-' | '_' | nonascii | escape
- var NMCHAR = '(?:[a-zA-Z0-9_-]|' + NONASCII + '|' + ESCAPE + ')';
- // name ::= nmchar+
- var NAME = NMCHAR + '+';
- // ident ::= '-'? nmstart nmchar*
- var IDENT = '-?' + NMSTART + NMCHAR + '*';
-
- // ATKEYWORD ::= '@' ident
- var ATKEYWORD = '@' + IDENT;
- // HASH ::= '#' name
- var HASH = '#' + NAME;
- // NUMBER ::= num
- var NUMBER = NUM;
-
- // NewRule: union of IDENT, ATKEYWORD, HASH, but excluding #[0-9].
- var WORD_TERM = '(?:@?-?' + NMSTART + '|#)' + NMCHAR + '*';
-
- // PERCENTAGE ::= num '%'
- var PERCENTAGE = NUM + '%';
- // DIMENSION ::= num ident
- var DIMENSION = NUM + IDENT;
- var NUMERIC_VALUE = NUM + '(?:%|' + IDENT + ')?';
- // URI ::= "url(" w (string | urlchar* ) w ")"
- var URI = 'url[(]' + W + '(?:' + STRING + '|' + URLCHAR + '*)' + W + '[)]';
- // UNICODE-RANGE ::= "U+" [0-9A-F?]{1,6} ('-' [0-9A-F]{1,6})?
- var UNICODE_RANGE = 'U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?';
- // CDO ::= "<\!--"
- var CDO = '<\!--';
- // CDC ::= "-->"
- var CDC = '-->';
- // S ::= wc+
- var S = WC + '+';
- // COMMENT ::= "/*" [^*]* '*'+ ([^/] [^*]* '*'+)* "/"
- // Diff: recognizes // comments.
- var COMMENT = '/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)';
- // FUNCTION ::= ident '('
- // Diff: We exclude url explicitly.
- // TODO: should we be tolerant of "fn ("?
- var FUNCTION = '(?!url[(])' + IDENT + '[(]';
- // INCLUDES ::= "~="
- var INCLUDES = '~=';
- // DASHMATCH ::= "|="
- var DASHMATCH = '[|]=';
- // PREFIXMATCH ::= "^="
- var PREFIXMATCH = '[^]=';
- // SUFFIXMATCH ::= "$="
- var SUFFIXMATCH = '[$]=';
- // SUBSTRINGMATCH ::= "*="
- var SUBSTRINGMATCH = '[*]=';
- // NewRule: one rule for all the comparison operators.
- var CMP_OPS = '[~|^$*]=';
- // CHAR ::= any character not matched by the above rules, except for " or '
- // Diff: We exclude / and \ since they are handled above to prevent
- // /* without a following */ from combining when comments are concatenated.
- var CHAR = '[^"\'\\\\/]|/(?![/*])';
- // BOM ::= #xFEFF
- var BOM = '\\uFEFF';
-
- var CSS_TOKEN = new RegExp([
- BOM, UNICODE_RANGE, URI, FUNCTION, WORD_TERM, STRING, NUMERIC_VALUE,
- CDO, CDC, S, COMMENT, CMP_OPS, CHAR].join("|"), 'gi');
-
- var CSS_DECODER = new RegExp('\\\\(?:' + ESCAPE_TAIL + '|' + NL + ')', 'g');
- var URL_RE = new RegExp('^url\\(' + W + '["\']?|["\']?' + W + '\\)$', 'gi');
- /**
- * Decodes CSS escape sequences in a CSS string body.
- */
- decodeCss = function (css) {
- return css.replace(CSS_DECODER, decodeCssEscape);
- };
-
- /**
- * Given CSS Text, returns an array of normalized tokens.
- * @param {string} cssText
- * @return {Array.<string>} tokens where all ignorable token sequences have
- * been reduced to a single {@code " "} and all strings and
- * {@code url(...)} tokens have been normalized to use double quotes as
- * delimiters and to not otherwise contain double quotes.
- */
- lexCss = function (cssText) {
... 8767 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/notebook.git
More information about the Python-modules-commits
mailing list