readStyles()

Overview

public array function readStyles(
      required any doc
)

Receives an html string or jSoup doc and returns an array of style rules found

Arguments

NameTypeRequiredDescription
docanyYesthe original HTML, or a jSoup doc