Java examples for org.w3c.dom.css:CSSStyleDeclaration
CSS unselect Decoration
//package com.java2s; import org.w3c.dom.css.CSSStyleDeclaration; import org.w3c.dom.css.ElementCSSInlineStyle; public class Main { public static void unselectDecoration(ElementCSSInlineStyle elemStyle) { CSSStyleDeclaration style = elemStyle.getStyle(); style.removeProperty("color"); }// ww w .j ava2s .co m }