tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

gecko_css.js (6187B)


      1 /*
      2 * Copyright 2008 The Closure Compiler Authors
      3 *
      4 * Licensed under the Apache License, Version 2.0 (the "License");
      5 * you may not use this file except in compliance with the License.
      6 * You may obtain a copy of the License at
      7 *
      8 *     http://www.apache.org/licenses/LICENSE-2.0
      9 *
     10 * Unless required by applicable law or agreed to in writing, software
     11 * distributed under the License is distributed on an "AS IS" BASIS,
     12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 * See the License for the specific language governing permissions and
     14 * limitations under the License.
     15 */
     16 
     17 /**
     18 * @fileoverview Definitions for Gecko's custom CSS properties. Copied from:
     19 * http://mxr.mozilla.org/mozilla2.0/source/dom/interfaces/css/nsIDOMCSS2Properties.idl
     20 *
     21 * @externs
     22 * @author nicksantos@google.com (Nick Santos)
     23 */
     24 
     25 
     26 /** @type {string} */ CSSProperties.prototype.MozAppearance;
     27 /** @type {string} */ CSSProperties.prototype.MozBackfaceVisibility;
     28 /** @type {string} */ CSSProperties.prototype.MozBackgroundClip;
     29 /** @type {string} */ CSSProperties.prototype.MozBackgroundInlinePolicy;
     30 /** @type {string} */ CSSProperties.prototype.MozBackgroundOrigin;
     31 /** @type {string} */ CSSProperties.prototype.MozBinding;
     32 /** @type {string} */ CSSProperties.prototype.MozBorderBottomColors;
     33 /** @type {string} */ CSSProperties.prototype.MozBorderEnd;
     34 /** @type {string} */ CSSProperties.prototype.MozBorderEndColor;
     35 /** @type {string} */ CSSProperties.prototype.MozBorderEndStyle;
     36 /** @type {string} */ CSSProperties.prototype.MozBorderEndWidth;
     37 /** @type {string} */ CSSProperties.prototype.MozBorderImage;
     38 /** @type {string} */ CSSProperties.prototype.MozBorderLeftColors;
     39 /** @type {string} */ CSSProperties.prototype.MozBorderRadius;
     40 /** @type {string} */ CSSProperties.prototype.MozBorderRadiusTopleft;
     41 /** @type {string} */ CSSProperties.prototype.MozBorderRadiusTopright;
     42 /** @type {string} */ CSSProperties.prototype.MozBorderRadiusBottomleft;
     43 /** @type {string} */ CSSProperties.prototype.MozBorderRadiusBottomright;
     44 /** @type {string} */ CSSProperties.prototype.MozBorderRightColors;
     45 /** @type {string} */ CSSProperties.prototype.MozBorderStart;
     46 /** @type {string} */ CSSProperties.prototype.MozBorderStartColor;
     47 /** @type {string} */ CSSProperties.prototype.MozBorderStartStyle;
     48 /** @type {string} */ CSSProperties.prototype.MozBorderStartWidth;
     49 /** @type {string} */ CSSProperties.prototype.MozBorderTopColors;
     50 /** @type {string} */ CSSProperties.prototype.MozBoxAlign;
     51 /** @type {string} */ CSSProperties.prototype.MozBoxDirection;
     52 /** @type {string} */ CSSProperties.prototype.MozBoxFlex;
     53 /** @type {string} */ CSSProperties.prototype.MozBoxOrdinalGroup;
     54 /** @type {string} */ CSSProperties.prototype.MozBoxOrient;
     55 /** @type {string} */ CSSProperties.prototype.MozBoxPack;
     56 /** @type {string} */ CSSProperties.prototype.MozBoxSizing;
     57 /** @type {string} */ CSSProperties.prototype.MozBoxShadow;
     58 /** @type {string} */ CSSProperties.prototype.MozColumnCount;
     59 /** @type {string} */ CSSProperties.prototype.MozColumnGap;
     60 /** @type {string} */ CSSProperties.prototype.MozColumnRule;
     61 /** @type {string} */ CSSProperties.prototype.MozColumnRuleColor;
     62 /** @type {string} */ CSSProperties.prototype.MozColumnRuleStyle;
     63 /** @type {string} */ CSSProperties.prototype.MozColumnRuleWidth;
     64 /** @type {string} */ CSSProperties.prototype.MozColumnWidth;
     65 /** @type {string} */ CSSProperties.prototype.MozFloatEdge;
     66 /** @type {string} */ CSSProperties.prototype.MozFontFeatureSettings;
     67 /** @type {string} */ CSSProperties.prototype.MozFontLanguageOverride;
     68 /** @type {string} */ CSSProperties.prototype.MozForceBrokenImageIcon;
     69 /** @type {string} */ CSSProperties.prototype.MozImageRegion;
     70 /** @type {string} */ CSSProperties.prototype.MozMarginEnd;
     71 /** @type {string} */ CSSProperties.prototype.MozMarginStart;
     72 /** @type {number|string} */ CSSProperties.prototype.MozOpacity;
     73 /** @type {string} */ CSSProperties.prototype.MozOutline;
     74 /** @type {string} */ CSSProperties.prototype.MozOutlineColor;
     75 /** @type {string} */ CSSProperties.prototype.MozOutlineOffset;
     76 /** @type {string} */ CSSProperties.prototype.MozOutlineRadius;
     77 /** @type {string} */ CSSProperties.prototype.MozOutlineRadiusBottomleft;
     78 /** @type {string} */ CSSProperties.prototype.MozOutlineRadiusBottomright;
     79 /** @type {string} */ CSSProperties.prototype.MozOutlineRadiusTopleft;
     80 /** @type {string} */ CSSProperties.prototype.MozOutlineRadiusTopright;
     81 /** @type {string} */ CSSProperties.prototype.MozOutlineStyle;
     82 /** @type {string} */ CSSProperties.prototype.MozOutlineWidth;
     83 /** @type {string} */ CSSProperties.prototype.MozPaddingEnd;
     84 /** @type {string} */ CSSProperties.prototype.MozPaddingStart;
     85 /** @type {string} */ CSSProperties.prototype.MozPerspective;
     86 /** @type {string} */ CSSProperties.prototype.MozStackSizing;
     87 /** @type {string} */ CSSProperties.prototype.MozTabSize;
     88 /** @type {string} */ CSSProperties.prototype.MozTransform;
     89 /** @type {string} */ CSSProperties.prototype.MozTransformOrigin;
     90 /** @type {string} */ CSSProperties.prototype.MozTransition;
     91 /** @type {string} */ CSSProperties.prototype.MozTransitionDelay;
     92 /** @type {string} */ CSSProperties.prototype.MozTransitionDuration;
     93 /** @type {string} */ CSSProperties.prototype.MozTransitionProperty;
     94 /** @type {string} */ CSSProperties.prototype.MozTransitionTimingFunction;
     95 /** @type {string} */ CSSProperties.prototype.MozUserFocus;
     96 /** @type {string} */ CSSProperties.prototype.MozUserInput;
     97 /** @type {string} */ CSSProperties.prototype.MozUserModify;
     98 /** @type {string} */ CSSProperties.prototype.MozUserSelect;
     99 /** @type {string} */ CSSProperties.prototype.MozWindowShadow;
    100 
    101 
    102 // These are non-standard Gecko CSSOM properties on Window.prototype.screen.
    103 
    104 /**
    105 * @type {number}
    106 * @see https://developer.mozilla.org/En/DOM/window.screen.availTop
    107 */
    108 Screen.prototype.availTop;
    109 
    110 /**
    111 * @type {number}
    112 * @see https://developer.mozilla.org/En/DOM/window.screen.availLeft
    113 */
    114 Screen.prototype.availLeft;
    115 
    116 /**
    117 * @type {number}
    118 * @see https://developer.mozilla.org/En/DOM/window.screen.left
    119 */
    120 Screen.prototype.left;
    121 
    122 /**
    123 * @type {number}
    124 * @see https://developer.mozilla.org/En/DOM/window.screen.top
    125 */
    126 Screen.prototype.top;