Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [-ext-contains="content"] attribute support to element hiding rules #322

Closed
ameshkov opened this issue Aug 10, 2016 · 0 comments
Closed
Assignees
Milestone

Comments

@ameshkov
Copy link
Member

ameshkov commented Aug 10, 2016

It should work like :contains() pseudo-class which has not made to the CSS4 specification.

For instance, let we have an HTML like that:

<div class="red">
    In fact this element will be hidden because of the work "advert" inside.
</div>

This div will be hidden by this selector:
div.red[-ext-contains="advert"]

Please note, that contains will check the innerText property value, not innerHTML.

@ameshkov ameshkov added this to the 2.5 milestone Aug 10, 2016
@Mizzick Mizzick self-assigned this Aug 10, 2016
@Mizzick Mizzick modified the milestones: 2.4, 2.5 Aug 19, 2016
@Mizzick Mizzick closed this as completed Aug 19, 2016
ameshkov added a commit that referenced this issue Dec 28, 2018
…issions to master

* commit '945738ac85484ec6609d14909981c9f1eea77bf3':
  update version
  fix manifest files of other browsers
  removed unnecessary permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants