Lines Matching refs:style

1870     var elementStyle = element.style;
1875 element.style.cssText += ';' + styles;
1895 supportsOpacity = typeof parseEl.style.opacity === 'string',
1896 supportsFilters = typeof parseEl.style.filter === 'string',
1905 element.style.opacity = value;
1912 var es = element.style;
2125 var style = fabric.document.defaultView.getComputedStyle(element, null);
2126 return style ? style[attr] : undefined;
2131 var value = element.style[attr];
2140 var style = fabric.document.documentElement.style, variable
2141 selectProp = 'userSelect' in style
2143 : 'MozUserSelect' in style
2145 : 'WebkitUserSelect' in style
2147 : 'KhtmlUserSelect' in style
2162 element.style[selectProp] = 'none';
2181 element.style[selectProp] = '';
3083 function parseStyleString(style, oStyle) { argument
3085 style.replace(/;$/, '').split(';').forEach(function (chunk) {
3098 function parseStyleObject(style, oStyle) { argument
3100 for (var prop in style) {
3101 if (typeof style[prop] === 'undefined') {
3106 value = normalizeValue(attr, style[prop]);
3596 style = element.getAttribute('style');
3598 if (!style) {
3602 if (typeof style === 'string') {
3603 parseStyleString(style, oStyle);
3606 parseStyleObject(style, oStyle);
4862 var style = el.getAttribute('style'),
4869 if (style) {
4870 var keyValuePairs = style.split(/\s*;\s*/);
6058 if (!element.style) {
6059 element.style = { };
6092 if (!this.lowerCanvasEl.style) {
6099 this.lowerCanvasEl.style.width = this.width + 'px';
6100 this.lowerCanvasEl.style.height = this.height + 'px';
6236 this.lowerCanvasEl.style[prop] = value;
6239 this.upperCanvasEl.style[prop] = value;
6243 this.wrapperEl.style[prop] = value;
8611 this.upperCanvasEl.style.cursor = value;
8894 toEl.style.cssText = fromEl.style.cssText;
20761 …var style = this.styles[lineIndex] && this.styles[lineIndex][charIndex === 0 ? 0 : (charIndex - 1)…
20764 fontSize: style && style.fontSize || this.fontSize,
20765 fill: style && style.fill || this.fill,
20766 textBackgroundColor: style && style.textBackgroundColor || this.textBackgroundColor,
20767 textDecoration: style && style.textDecoration || this.textDecoration,
20768 fontFamily: style && style.fontFamily || this.fontFamily,
20769 fontWeight: style && style.fontWeight || this.fontWeight,
20770 fontStyle: style && style.fontStyle || this.fontStyle,
20771 stroke: style && style.stroke || this.stroke,
20772 strokeWidth: style && style.strokeWidth || this.strokeWidth
22103 insertCharStyleObject: function(lineIndex, charIndex, style) { argument
22108 if (charIndex === 0 && !style) {
22123 style || clone(currentLineStyles[charIndex - 1]);
22514 this.hiddenTextarea.style.cssText = 'position: fixed; bottom: 20px; left: 0px; opacity: 0;'
23408 canvasEl.style = { };