Skip to content

Cosmetic filter - use !important for display property #3041

@rulatir

Description

@rulatir

Test plan

See brave/brave-core#3121

Description

The cosmetic filters don't work with elements that set the display property using the style attribute.

Proposed solution: in the rule created by the cosmetic filter, the display property should be !important.

Please implement!

[Detailed STR on PR]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions