Open
Bug 1908852
Opened 10 months ago
Updated 10 months ago
The text fragment is not highlighted and focused if it is from a Wikipedia collapsed section
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox130 | --- | affected |
People
(Reporter: vtamas, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
7.58 MB,
video/mp4
|
Details |
Prerequisites
Make sure you have dom.text_fragments.enabled set to true.
Steps to reproduce
- Paste and navigate to the following link into the address bar: https://en.wikipedia.org/wiki/Nuclear_power#:~:text=up-,Most,reactors
- Observe the loaded page.
Expected behavior
The webpage is opened, the specified text fragment is highlighted and the page is scrolled to the highlighted section.
Actual behavior
The text fragment is not highlighted because it is in a collapsed section.
Device information
- Firefox version: Firefox Nightly 130 (2024-07-18)
- Android device model: Google Pixel 8 (Android 14), Samsung Galaxy S23 Ultra (Android 14)
Comment 1•10 months ago
|
||
Note that this works if you use https://addons.mozilla.org/firefox/downloads/file/4267777/text_fragment-0.7.xpi, so it's definitely a problem with FF's implementation.
Comment 2•10 months ago
|
||
If I'm not mistaken, Wikipedia uses hidden=until found
, which is not implemented in Gecko yet, see bug 1761043. I have implementing this feature and integrating it with Text Fragments on my roadmap and will come back to this.
You need to log in
before you can comment on or make changes to this bug.
Description
•