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 #34

Open
r12a opened this issue Mar 19, 2021 · 2 comments
Open

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

r12a opened this issue Mar 19, 2021 · 2 comments
Labels
doc:klreq Content for the Korean gap-analysis doc. gap Content for the gap-analysis document. i:inline_notes Inline notes & annotations l:ko Korean p:basic s:kore Korean script x:blink x:gecko x:webkit

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. Please add any discussion there, and not to this issue.

@r12a r12a added gap Content for the gap-analysis document. doc:klreq Content for the Korean gap-analysis doc. i:inline_notes Inline notes & annotations p:basic x:gecko x:blink x:webkit labels Mar 19, 2021
@r12a
Copy link
Contributor Author

r12a commented Mar 19, 2021

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection 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 by adding comments below this point.

@xfq
Copy link
Member

xfq commented Jun 7, 2023

Updated the issue to point to the jlreq issue.

@r12a r12a added l:ko Korean s:kore Korean script labels Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc:klreq Content for the Korean gap-analysis doc. gap Content for the gap-analysis document. i:inline_notes Inline notes & annotations l:ko Korean p:basic s:kore Korean script x:blink x:gecko x:webkit
Projects
None yet
Development

No branches or pull requests

2 participants