Re: [jlreq] In-page search fails on ruby-annotated text (#255)

Gecko appears to have [fixed the issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1699599#c8).

There is a residual bug which @xfq pointed out on that issue thread: when the search result is highlighted, the highlight applies to some but not all of the ruby text: 
![image](https://user-images.githubusercontent.com/28173/195686212-10172e33-854c-4ee1-a1ab-64a51e133866.png)

I suspect that what is happening is that when the matching text crosses multiple `rb` nodes, the highlight includes the `rt` nodes that appear between them. In the example with `<ruby><rb>東</rb><rt>とう</rt><rb>京</rb><rt>きょう</rt></ruby>` and a search for "東京", this would explain why "とう" is highlighted and "きょう" is not.

The residual issue seems lower-priority than the original one. Perhaps it should be tracked as its own issue.

-- 
GitHub Notification of comment by gnprice
Please view or discuss this issue at https://github.com/w3c/jlreq/issues/255#issuecomment-1278066359 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 October 2022 19:14:10 UTC