Skip to contents

Verify that the CSS properties of a given element match the expected values.

Usage

verify_css(selector, css)

Arguments

selector

The CSS selector for the element to verify

css

A named list of CSS properties and their expected values

Value

A logical value indicating whether the CSS properties match the expected values

Examples

if (FALSE) { # \dontrun{
verify_css("#my-element", list("color" = "red", "font-size" = "16px"))
} # }