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

In-page search fails on ruby-annotated text #41

Open
r12a opened this issue Mar 19, 2021 · 1 comment
Open

In-page search fails on ruby-annotated text #41

r12a opened this issue Mar 19, 2021 · 1 comment
Labels
doc:mong gap i:inline_notes Inline notes & annotations l:mn Mongolian p:basic s:mong Mongolian script

Comments

@r12a
Copy link
Contributor

r12a commented Mar 19, 2021

This issue is applicable to all languages that use ruby markup (Chinese, Japanese, Mongolian, Korean).

If text is marked up for ruby, using the interleaved markup approach currently required by the HTML spec, a browser's in-page search no longer recognises the text. For example, if you search for 東京 on a page that has this markup:

<ruby><rb>東<rt>とう<rb>京<rt>きょう</ruby>

the search will fail to locate the word.

Note that a tabular arrangement of markup, such as

<ruby><rb>東<rb>京<rt>とう<rt>きょう</ruby>

would work fine but, although it is parsed correctly, this tabular markup is not displayed correctly by Blink or Webkit currently, and therefore the HTML specification has obsoleted the rb and rtc elements.

For more details, see this GitHub issue, which is being used to track this gap.

@r12a
Copy link
Contributor Author

r12a commented Mar 19, 2021

The first comment in this issue contains text that will automatically appear in several gap-analysis documents in the Inline notes & annotations section, as a topic with the same title as this issue. Any edits made to that comment will be immediately available in the Editor's draft of the document. Proposals for changes or discussion of the content can be made in comments below this point.

@r12a r12a added s:mong Mongolian script l:mn Mongolian labels Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc:mong gap i:inline_notes Inline notes & annotations l:mn Mongolian p:basic s:mong Mongolian script
Projects
None yet
Development

No branches or pull requests

1 participant