public class DefaultCssInheritanceRules extends Object implements CssInheritanceRules
Constructor and Description |
---|
DefaultCssInheritanceRules() |
Modifier and Type | Method and Description |
---|---|
boolean |
inheritCssSelector(Tag tag, String key)
Validate inheritance of any CSS property for the given tag.
|
boolean |
inheritCssTag(String tag)
Validate inheritance of parent tag CSS.
|
public boolean inheritCssTag(String tag)
CssInheritanceRules
inheritCssTag
in interface CssInheritanceRules
tag
- the tag
public boolean inheritCssSelector(Tag tag, String key)
CssInheritanceRules
inheritCssSelector
in interface CssInheritanceRules
tag
- the tag
key
- the css property
Copyright © 1998–2024. All rights reserved.