v. 1.0.6
- Fix not Took 9 minutes
This commit is contained in:
@@ -222,7 +222,7 @@ abstract class CssGenerator {
|
||||
if (css.isNotBlank()) {
|
||||
val builder = StringBuilder()
|
||||
|
||||
check (allowCommaInSelector || !name.contains(',')) {
|
||||
check (allowCommaInSelector || (name.indexOf(',') == -1)) {
|
||||
"Comma is not allowed in selector (option is set in generateCss call)"
|
||||
}
|
||||
|
||||
@@ -862,6 +862,10 @@ open class InlineStyle : CssGenerator() {
|
||||
props["content"] = prp(content)
|
||||
}
|
||||
|
||||
fun content(content: String) {
|
||||
props["content"] = prp(content)
|
||||
}
|
||||
|
||||
fun counterIncrement(increment: String) {
|
||||
props["counter-increment"] = prp(increment)
|
||||
}
|
||||
@@ -1610,6 +1614,8 @@ open class Style : InlineStyle() {
|
||||
addStyle("::${selector.description()}", style)
|
||||
}
|
||||
|
||||
fun not(name: DescriptionProvider): DescriptionProvider = ValueDescriptionProvider(":not(${name.description()})")
|
||||
@Deprecated("Use select(not(...)) instead.")
|
||||
fun not(selector: DescriptionProvider, style: Css) {
|
||||
addStyle(":not(${selector.description()})", style)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user