It is impossible to search for text that has ruby annotations (furigana)
Categories
(Toolkit :: Find Toolbar, defect)
Tracking
()
People
(Reporter: dinozavrik1, Unassigned)
Details
Steps to reproduce:
When searching for text that has ruby annotations attached to some words, the search mechanism treats ruby tag contents as if they were inlined.
Suppose you have this HTML:
<ruby>踊<rt>おど</rt></ruby>り<ruby>場<rt>ば</rt></ruby>にたどり着いた
It gets rendered approximately like this:
おど ば
踊 り 場 にたどり着いた
When I select "踊り場" and copy it, I get "踊り場" as plain text. But if I try to search for this very string, it can not be found. Instead, for the search engine, the above text appears as:
踊おどり場ばにたどり着いた
That is, if you search for any chunk of this, such as "場ばに", it can be found.
Actual results:
I can't find text that I copied from the same page.
Expected results:
I should be able to find "踊り場" in a page with the above HTML. I should not be able to find "場ばに". Ruby annotations are either ignored completely or searched separately.
Also, if ruby annotations are not ignored, I would expect that ruby annotations that are attached to consecutive chunks of text, are treated as one. For example, you can find that what is usually written like this:
<ruby>玄関<rt>げんかん</rt></ruby>
Sometimes is written like this:
<ruby>玄<rt>げん</rt></ruby><ruby>関<rt>かん</rt></ruby>
In both cases it makes sense to be able to find "げんかん" as single word.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Search' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:harry, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Description
•