class PrawnHtml::Attributes
def apply_rule!(merged_styles:, rule:, value:, options:)
def apply_rule!(merged_styles:, rule:, value:, options:) return (@initial << rule) if value == 'initial' if rule[:set] == :append_styles val = Utils.normalize_style(value, rule[:values]) (merged_styles[rule[:key]] ||= []) << val if val else opts = rule[:options] ? options[rule[:options]] : nil val = Utils.send(rule[:set], value, options: opts) merged_styles[rule[:key]] = val if val end end