Skip to content

Does not highlight text in ::before and ::after css pseudo-elements. #47

@wagbame

Description

@wagbame

Describe the bug
When a text is in a ::before or ::after css pseudo-element it doesn't get highlighted.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Open https://www.w3schools.com/cssref/tryit.php?filename=trycss_sel_before
  2. Highlight the word Read.
  3. The problem is that only the left Read is highlighted.

Expected behavior
All 3 Read is highlighted.

Device info:

  • operating system: Windows 10
  • Browser and version: Firefox 138.0.4
  • Auto Highlight version: 5.3

Additional info
I don't know if this information is helpful, but in Firefox the ability to search/highlight in ::before and ::after pseudo-elements with the built-in ctrl+f search was adden in version 77. This is the bugzilla link: https://bugzilla.mozilla.org/show_bug.cgi?id=1627643 . Hope this helps. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions