text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-writing-mode', v);
},
get: function () {
return this.getPropertyValue('-webkit-writing-mode');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWritingMode.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
var parsers = require('../parsers');
var parse = function parse(v) {
var parsed = parsers.parseUrl(v);
if (parsed !== undefined) {
return parsed;
}
if (parsers.valueType(v) === parsers.TYPES.KEYWORD && (v.toLowerCase() === 'none' || v.toLowerCase() === 'inherit')) {... | /content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundImage.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 157 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-perspective-origin-y', v);
},
get: function () {
return this.getPropertyValue('-webkit-perspective-origin-y');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginY.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-font-kerning', v);
},
get: function () {
return this.getPropertyValue('-webkit-font-kerning');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFontKerning.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('cursor', v);
},
get: function () {
return this.getPropertyValue('cursor');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/cursor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-margin-after-collapse', v);
},
get: function () {
return this.getPropertyValue('-webkit-margin-after-collapse');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginAfterCollapse.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
var valid_variants = ['normal', 'small-caps', 'inherit'];
module.exports.isValid = function isValid(v) {
return valid_variants.indexOf(v.toLowerCase()) !== -1;
};
module.exports.definition = {
set: function (v) {
this._setProperty('font-variant', v);
},
get: functi... | /content/code_sandbox/node_modules/cssstyle/lib/properties/fontVariant.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 98 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('zoom', v);
},
get: function () {
return this.getPropertyValue('zoom');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/zoom.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-mask-origin', v);
},
get: function () {
return this.getPropertyValue('-webkit-mask-origin');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskOrigin.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-column-span', v);
},
get: function () {
return this.getPropertyValue('-webkit-column-span');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnSpan.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('min-width', v);
},
get: function () {
return this.getPropertyValue('min-width');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/minWidth.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-before', v);
},
get: function () {
return this.getPropertyValue('-webkit-border-before');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderBefore.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-user-drag', v);
},
get: function () {
return this.getPropertyValue('-webkit-user-drag');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitUserDrag.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-wrap-flow', v);
},
get: function () {
return this.getPropertyValue('-webkit-wrap-flow');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWrapFlow.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-column-width', v);
},
get: function () {
return this.getPropertyValue('-webkit-column-width');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnWidth.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-column-rule-color', parseColor(v));
},
get: function () {
return this.getPropertyValue('-webkit-column-rule-color');
},
enumer... | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 74 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-box-shadow', v);
},
get: function () {
return this.getPropertyValue('-webkit-box-shadow');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxShadow.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-line-clamp', v);
},
get: function () {
return this.getPropertyValue('-webkit-line-clamp');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLineClamp.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-flex-align', v);
},
get: function () {
return this.getPropertyValue('-webkit-flex-align');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexAlign.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
var padding = require('./padding.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('padding', 'top', padding.isValid, padding.parser),
get: function () {
return this.getPropertyValue('padding-top');
},
enumera... | /content/code_sandbox/node_modules/cssstyle/lib/properties/paddingTop.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 72 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('marker', v);
},
get: function () {
return this.getPropertyValue('marker');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/marker.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
var parsers = require('../parsers');
module.exports.definition = {
set: function (v) {
var valueType = parsers.valueType(v);
if (valueType === parsers.TYPES.ANGLE) {
return this._setProperty('azimuth', parsers.parseAngle(v));
}
if (valueType ... | /content/code_sandbox/node_modules/cssstyle/lib/properties/azimuth.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 538 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('size', v);
},
get: function () {
return this.getPropertyValue('size');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/size.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-line-box-contain', v);
},
get: function () {
return this.getPropertyValue('-webkit-line-box-contain');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLineBoxContain.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function (v) {
this._setProperty('text-overline-color', parseColor(v));
},
get: function () {
return this.getPropertyValue('text-overline-color');
},
enumerable: true,
... | /content/code_sandbox/node_modules/cssstyle/lib/properties/textOverlineColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 74 |
```javascript
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-before-color', parseColor(v));
},
get: function () {
return this.getPropertyValue('-webkit-border-before-color');
},
en... | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 74 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('counter-increment', v);
},
get: function () {
return this.getPropertyValue('counter-increment');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/counterIncrement.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-match-nearest-mail-blockquote-color', parseColor(v));
},
get: function () {
return this.getPropertyValue('-webkit-match-nearest-mail-b... | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 82 |
```javascript
'use strict';
var parsers = require('../parsers');
var implicitSetter = require('../parsers').implicitSetter;
module.exports.isValid = function parse(v) {
if (typeof v !== 'string') {
return false;
}
return (v === '' || v.toLowerCase() === 'transparent' || parsers.valueType(v) === pa... | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 156 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-marquee-style', v);
},
get: function () {
return this.getPropertyValue('-webkit-marquee-style');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarqueeStyle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-margin-top-collapse', v);
},
get: function () {
return this.getPropertyValue('-webkit-margin-top-collapse');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginTopCollapse.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('text-overline-mode', v);
},
get: function () {
return this.getPropertyValue('text-overline-mode');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/textOverlineMode.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
var TYPES = require('../parsers').TYPES;
var valueType = require('../parsers').valueType;
var absoluteSizes = ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'];
var relativeSizes = ['larger', 'smaller'];
module.exports.isValid = function (v) {
var type = value... | /content/code_sandbox/node_modules/cssstyle/lib/properties/fontSize.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 186 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('display', v);
},
get: function () {
return this.getPropertyValue('display');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/display.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('border-image-source', v);
},
get: function () {
return this.getPropertyValue('border-image-source');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderImageSource.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('widows', v);
},
get: function () {
return this.getPropertyValue('widows');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/widows.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
var padding = require('./padding.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('padding', 'left', padding.isValid, padding.parser),
get: function () {
return this.getPropertyValue('padding-left');
},
enume... | /content/code_sandbox/node_modules/cssstyle/lib/properties/paddingLeft.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 72 |
```javascript
'use strict';
var shorthandSetter = require('../parsers').shorthandSetter;
var shorthandGetter = require('../parsers').shorthandGetter;
var shorthandParser = require('../parsers').shorthandParser;
var shorthand_for = {
'border-right-width': require('./borderRightWidth'),
'border-right-style': re... | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderRight.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 149 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-mask-box-image-width', v);
},
get: function () {
return this.getPropertyValue('-webkit-mask-box-image-width');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskBoxImageWidth.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-before-width', v);
},
get: function () {
return this.getPropertyValue('-webkit-border-before-width');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderBeforeWidth.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-font-size-delta', v);
},
get: function () {
return this.getPropertyValue('-webkit-font-size-delta');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFontSizeDelta.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('fill-rule', v);
},
get: function () {
return this.getPropertyValue('fill-rule');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/fillRule.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-text-stroke-color', parseColor(v));
},
get: function () {
return this.getPropertyValue('-webkit-text-stroke-color');
},
enumer... | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 76 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('writing-mode', v);
},
get: function () {
return this.getPropertyValue('writing-mode');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/writingMode.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-wrap-through', v);
},
get: function () {
return this.getPropertyValue('-webkit-wrap-through');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWrapThrough.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('direction', v);
},
get: function () {
return this.getPropertyValue('direction');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/direction.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('list-style-position', v);
},
get: function () {
return this.getPropertyValue('list-style-position');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/listStylePosition.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-flex-pack', v);
},
get: function () {
return this.getPropertyValue('-webkit-flex-pack');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexPack.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('text-decoration', v);
},
get: function () {
return this.getPropertyValue('text-decoration');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/textDecoration.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('stroke-linejoin', v);
},
get: function () {
return this.getPropertyValue('stroke-linejoin');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/strokeLinejoin.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('dominant-baseline', v);
},
get: function () {
return this.getPropertyValue('dominant-baseline');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/dominantBaseline.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-mask-repeat-y', v);
},
get: function () {
return this.getPropertyValue('-webkit-mask-repeat-y');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskRepeatY.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-text-emphasis-style', v);
},
get: function () {
return this.getPropertyValue('-webkit-text-emphasis-style');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextEmphasisStyle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
var parseMeasurement = require('../parsers').parseMeasurement;
/*jslint regexp: true*/
var shape_regex = /^rect\((.*)\)$/i;
/*jslint regexp: false*/
var parse = function (val) {
if (val === '' || val === null) {
return val;
}
if (typeof val !== 'string') {
retu... | /content/code_sandbox/node_modules/cssstyle/lib/properties/clip.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 282 |
```javascript
'use strict';
var parseNumber = require('../parsers').parseNumber;
module.exports.definition = {
set: function (v) {
this._setProperty('opacity', parseNumber(v));
},
get: function () {
return this.getPropertyValue('opacity');
},
enumerable: true,
configurable: tru... | /content/code_sandbox/node_modules/cssstyle/lib/properties/opacity.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 68 |
```javascript
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-end-color', parseColor(v));
},
get: function () {
return this.getPropertyValue('-webkit-border-end-color');
},
enumerab... | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 74 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-start-style', v);
},
get: function () {
return this.getPropertyValue('-webkit-border-start-style');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderStartStyle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-animation', v);
},
get: function () {
return this.getPropertyValue('-webkit-animation');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAnimation.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('box-sizing', v);
},
get: function () {
return this.getPropertyValue('box-sizing');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/boxSizing.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('box-shadow', v);
},
get: function () {
return this.getPropertyValue('box-shadow');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/boxShadow.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-text-emphasis', v);
},
get: function () {
return this.getPropertyValue('-webkit-text-emphasis');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextEmphasis.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-wrap-shape-outside', v);
},
get: function () {
return this.getPropertyValue('-webkit-wrap-shape-outside');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWrapShapeOutside.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 65 |
```javascript
'use strict';
var parsers = require('../parsers');
var parse = function parse(v) {
if (parsers.valueType(v) === parsers.TYPES.KEYWORD && (v.toLowerCase() === 'repeat' || v.toLowerCase() === 'repeat-x' || v.toLowerCase() === 'repeat-y' || v.toLowerCase() === 'no-repeat' || v.toLowerCase() === 'inheri... | /content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundRepeat.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 161 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-animation-delay', v);
},
get: function () {
return this.getPropertyValue('-webkit-animation-delay');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAnimationDelay.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-vertical-spacing', v);
},
get: function () {
return this.getPropertyValue('-webkit-border-vertical-spacing');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderVerticalSpacing.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('text-line-through-style', v);
},
get: function () {
return this.getPropertyValue('text-line-through-style');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/textLineThroughStyle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-flex-item-align', v);
},
get: function () {
return this.getPropertyValue('-webkit-flex-item-align');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexItemAlign.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
var padding = require('./padding.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('padding', 'right', padding.isValid, padding.parser),
get: function () {
return this.getPropertyValue('padding-right');
},
enu... | /content/code_sandbox/node_modules/cssstyle/lib/properties/paddingRight.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 72 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-animation-fill-mode', v);
},
get: function () {
return this.getPropertyValue('-webkit-animation-fill-mode');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAnimationFillMode.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-image', v);
},
get: function () {
return this.getPropertyValue('-webkit-border-image');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderImage.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
// autogenerated
/*
*
* path_to_url#CSS-CSS2Properties
*/
var external_dependency_parsers_0 = require("./parsers.js");
var alignmentBaseline_export_definition;
alignmentBaseline_export_definition = {
set: function (v) {
this._setProperty('alignment-baseline', v);
},
get: fun... | /content/code_sandbox/node_modules/cssstyle/lib/properties.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 40,546 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-backface-visibility', v);
},
get: function () {
return this.getPropertyValue('-webkit-backface-visibility');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBackfaceVisibility.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('pause-after', v);
},
get: function () {
return this.getPropertyValue('pause-after');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/pauseAfter.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('border-bottom-right-radius', v);
},
get: function () {
return this.getPropertyValue('border-bottom-right-radius');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderBottomRightRadius.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
var parsers = require('../parsers');
var parsers = require('../parsers');
var implicitSetter = require('../parsers').implicitSetter;
// the valid border-widths:
var widths = ['thin', 'medium', 'thick'];
module.exports.isValid = function parse(v) {
var length = parsers.parseLength(v);
... | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderWidth.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 245 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('richness', v);
},
get: function () {
return this.getPropertyValue('richness');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/richness.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('text-line-through-mode', v);
},
get: function () {
return this.getPropertyValue('text-line-through-mode');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/textLineThroughMode.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('text-overline', v);
},
get: function () {
return this.getPropertyValue('text-overline');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/textOverline.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('mask', v);
},
get: function () {
return this.getPropertyValue('mask');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/mask.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
var parseMeasurement = require('../parsers').parseMeasurement;
module.exports.definition = {
set: function (v) {
this._setProperty('right', parseMeasurement(v));
},
get: function () {
return this.getPropertyValue('right');
},
enumerable: true,
config... | /content/code_sandbox/node_modules/cssstyle/lib/properties/right.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 68 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('glyph-orientation-vertical', v);
},
get: function () {
return this.getPropertyValue('glyph-orientation-vertical');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/glyphOrientationVertical.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('text-underline-width', v);
},
get: function () {
return this.getPropertyValue('text-underline-width');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/textUnderlineWidth.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('pitch-range', v);
},
get: function () {
return this.getPropertyValue('pitch-range');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/pitchRange.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-hyphenate-character', v);
},
get: function () {
return this.getPropertyValue('-webkit-hyphenate-character');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitHyphenateCharacter.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 65 |
```javascript
'use strict';
var shorthandSetter = require('../parsers').shorthandSetter;
var shorthandGetter = require('../parsers').shorthandGetter;
var shorthandParser = require('../parsers').shorthandParser;
var shorthand_for = {
'border-bottom-width': require('./borderBottomWidth'),
'border-bottom-style':... | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderBottom.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 149 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-perspective-origin-x', v);
},
get: function () {
return this.getPropertyValue('-webkit-perspective-origin-x');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginX.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('marker-mid', v);
},
get: function () {
return this.getPropertyValue('marker-mid');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/markerMid.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
var isValid = require('./borderStyle').isValid;
module.exports.isValid = isValid;
module.exports.definition = {
set: function (v) {
if (isValid(v)) {
if (v.toLowerCase() === 'none') {
v = '';
this.removeProperty('border-top-width');
... | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderTopStyle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 110 |
```javascript
'use strict';
var margin = require('./margin.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('margin', 'bottom', margin.isValid, margin.parser),
get: function () {
return this.getPropertyValue('margin-bottom');
},
enumera... | /content/code_sandbox/node_modules/cssstyle/lib/properties/marginBottom.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 72 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-perspective-origin', v);
},
get: function () {
return this.getPropertyValue('-webkit-perspective-origin');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitPerspectiveOrigin.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('fill', v);
},
get: function () {
return this.getPropertyValue('fill');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/fill.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 55 |
```javascript
'use strict';
var shorthandSetter = require('../parsers').shorthandSetter;
var shorthandGetter = require('../parsers').shorthandGetter;
var shorthandParser = require('../parsers').shorthandParser;
var shorthand_for = {
'border-top-width': require('./borderTopWidth'),
'border-top-style': require(... | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderTop.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 144 |
```javascript
'use strict';
var parseColor = require('../parsers').parseColor;
module.exports.definition = {
set: function (v) {
this._setProperty('text-underline-color', parseColor(v));
},
get: function () {
return this.getPropertyValue('text-underline-color');
},
enumerable: true... | /content/code_sandbox/node_modules/cssstyle/lib/properties/textUnderlineColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 74 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('text-overflow', v);
},
get: function () {
return this.getPropertyValue('text-overflow');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/textOverflow.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('pause-before', v);
},
get: function () {
return this.getPropertyValue('pause-before');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/pauseBefore.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 57 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-max-logical-height', v);
},
get: function () {
return this.getPropertyValue('-webkit-max-logical-height');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaxLogicalHeight.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-mask-position-x', v);
},
get: function () {
return this.getPropertyValue('-webkit-mask-position-x');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskPositionX.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 61 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-border-end', v);
},
get: function () {
return this.getPropertyValue('-webkit-border-end');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderEnd.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
'use strict';
var isValid = module.exports.isValid = require('./borderColor').isValid;
module.exports.definition = {
set: function (v) {
if (isValid(v)) {
this._setProperty('border-top-color', v);
}
},
get: function () {
return this.getPropertyValue('borde... | /content/code_sandbox/node_modules/cssstyle/lib/properties/borderTopColor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 82 |
```javascript
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-locale', v);
},
get: function () {
return this.getPropertyValue('-webkit-locale');
},
enumerable: true,
configurable: true
};
``` | /content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLocale.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.