|
|
@ -973,8 +973,8 @@ public class HtmlHelper {
|
|
|
|
switch (selector.getSelectorType()) {
|
|
|
|
switch (selector.getSelectorType()) {
|
|
|
|
case Selector.SAC_ELEMENT_NODE_SELECTOR:
|
|
|
|
case Selector.SAC_ELEMENT_NODE_SELECTOR:
|
|
|
|
ElementSelectorImpl eselector = (ElementSelectorImpl) selector;
|
|
|
|
ElementSelectorImpl eselector = (ElementSelectorImpl) selector;
|
|
|
|
if (tag == null ?
|
|
|
|
if (tag == null
|
|
|
|
eselector.getLocalName() == null
|
|
|
|
? eselector.getLocalName() == null
|
|
|
|
: tag.equals(eselector.getLocalName()))
|
|
|
|
: tag.equals(eselector.getLocalName()))
|
|
|
|
style = mergeStyles(style, srule.getStyle().getCssText());
|
|
|
|
style = mergeStyles(style, srule.getStyle().getCssText());
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|