internal CssClipProperty(CssStyleDeclaration rule) : base(PropertyNames.Clip, rule, PropertyFlags.Animatable) { Reset(); }
internal CssBorderBottomRightRadiusProperty(CssStyleDeclaration rule) : base(PropertyNames.BorderBottomRightRadius, rule) { }
internal CssMinWidthProperty(CssStyleDeclaration rule) : base(PropertyNames.MinWidth, rule, PropertyFlags.Animatable) { Reset(); }
internal CssColumnFillProperty(CssStyleDeclaration rule) : base(PropertyNames.ColumnFill, rule) { Reset(); }
internal CssOverflowProperty(CssStyleDeclaration rule) : base(PropertyNames.Overflow, rule) { Reset(); }
internal CssAnimationDurationProperty(CssStyleDeclaration rule) : base(PropertyNames.AnimationDuration, rule) { _times = new List <Time>(); Reset(); }
internal CssCursorProperty(CssStyleDeclaration rule) : base(PropertyNames.Cursor, rule, PropertyFlags.Inherited) { Reset(); }
internal CssZIndexProperty(CssStyleDeclaration rule) : base(PropertyNames.ZIndex, rule, PropertyFlags.Animatable) { Reset(); }
internal CssPerspectiveOriginProperty(CssStyleDeclaration rule) : base(PropertyNames.PerspectiveOrigin, rule, PropertyFlags.Animatable) { Reset(); }
/// <summary> /// Creates a new @keyframe rule. /// </summary> internal CssKeyframeRule(CssParser parser) : base(CssRuleType.Keyframe, parser) { _style = new CssStyleDeclaration(this); }
internal CssColorProperty(CssStyleDeclaration rule) : base(PropertyNames.Color, rule, PropertyFlags.Inherited | PropertyFlags.Hashless | PropertyFlags.Animatable) { Reset(); }
internal CssWidthProperty(CssStyleDeclaration rule) : base(PropertyNames.Width, rule) { }
internal CssCounterIncrementProperty(CssStyleDeclaration rule) : base(PropertyNames.CounterIncrement, rule) { }
internal CssBorderPartStyleProperty(String name, CssStyleDeclaration rule) : base(name, rule) { }
internal CssBorderRightStyleProperty(CssStyleDeclaration rule) : base(PropertyNames.BorderRightStyle, rule) { }
internal CssFontVariantProperty(CssStyleDeclaration rule) : base(PropertyNames.FontVariant, rule, PropertyFlags.Inherited) { Reset(); }
internal CssPaddingLeftProperty(CssStyleDeclaration rule) : base(PropertyNames.PaddingLeft, rule) { }
internal CssFontSizeProperty(CssStyleDeclaration rule) : base(PropertyNames.FontSize, rule, PropertyFlags.Inherited | PropertyFlags.Unitless | PropertyFlags.Animatable) { Reset(); }
internal CssColumnCountProperty(CssStyleDeclaration rule) : base(PropertyNames.ColumnCount, rule, PropertyFlags.Animatable) { Reset(); }
internal CssHeightProperty(CssStyleDeclaration rule) : base(PropertyNames.Height, rule) { }
internal CssFontFamilyProperty(CssStyleDeclaration rule) : base(PropertyNames.FontFamily, rule, PropertyFlags.Inherited) { _families = new List <String>(); Reset(); }
internal CssAnimationTimingFunctionProperty(CssStyleDeclaration rule) : base(PropertyNames.AnimationTimingFunction, rule) { _functions = new List <ITimingFunction>(); Reset(); }
internal CssVisibilityProperty(CssStyleDeclaration rule) : base(PropertyNames.Visibility, rule, PropertyFlags.Inherited | PropertyFlags.Animatable) { Reset(); }
/// <summary> /// Creates a new @font-face rule. /// </summary> internal CssFontFaceRule() : base(CssRuleType.FontFace) { _style = new CssStyleDeclaration(this); }
internal CssBorderImageSliceProperty(CssStyleDeclaration rule) : base(PropertyNames.BorderImageSlice, rule) { Reset(); }
internal CssMarginPartProperty(String name, CssStyleDeclaration rule) : base(name, rule, PropertyFlags.Unitless | PropertyFlags.Animatable) { Reset(); }
/// <summary> /// Parses the declaration text. /// </summary> public ICssStyleDeclaration ParseDeclaration(String declarationText) { var style = new CssStyleDeclaration(_context); return(Parse(declarationText, (b, t) => b.FillDeclarations(style, t))); }
public CssShorthandProperty(String name, CssStyleDeclaration rule, PropertyFlags flags = PropertyFlags.None) : base(name, rule, flags | PropertyFlags.Shorthand) { _properties = Factory.Properties.CreateLonghandsFor(name, rule).ToArray(); Reset(); }
internal CssBorderBottomColorProperty(CssStyleDeclaration rule) : base(PropertyNames.BorderBottomColor, rule) { }
internal CssEmptyCellsProperty(CssStyleDeclaration rule) : base(PropertyNames.EmptyCells, rule, PropertyFlags.Inherited) { Reset(); }