Examples of markAsUnspecified()


Examples of com.volantis.styling.values.MutablePropertyValues.markAsUnspecified()

     * @param element the element containing the style.
     */
    protected void removeListStylePosition(final Element element) {
        Styles styles = element.getStyles();
        MutablePropertyValues propertyValues = styles.getPropertyValues();
        propertyValues.markAsUnspecified(
                StylePropertyDetails.LIST_STYLE_POSITION);
    }
}

/*
 
View Full Code Here

Examples of com.volantis.styling.values.MutablePropertyValues.markAsUnspecified()

        StyleValue value = inputValues.getStyleValue(TEXT_ALIGN);
        if (value == TextAlignKeywords._INTERNAL_DEFERRED_INHERIT) {
            // Inherit the value from the parent.
            StyleValue parent = parentValues.getStyleValue(TEXT_ALIGN);
            inputValues.setComputedValue(TEXT_ALIGN, parent);
            inputValues.markAsUnspecified(TEXT_ALIGN);
        }

        // Process nested styles.
        styles.iterate(this);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.