SetStyleTextsParameter

@Serializable
data class SetStyleTextsParameter(val edits: List<CSS.StyleDeclarationEdit>, val nodeForPropertySyntaxValidation: Int? = null)

Constructors

Link copied to clipboard
constructor(edits: List<CSS.StyleDeclarationEdit>, nodeForPropertySyntaxValidation: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard

NodeId for the DOM node in whose context custom property declarations for registered properties should be validated. If omitted, declarations in the new rule text can only be validated statically, which may produce incorrect results if the declaration contains a var() for example.