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

[css-ruby-1] Obsolete HTML elements in examples #10065

Closed
xgebi opened this issue Mar 12, 2024 · 1 comment
Closed

[css-ruby-1] Obsolete HTML elements in examples #10065

xgebi opened this issue Mar 12, 2024 · 1 comment
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-ruby-1 Current Work Testing Unnecessary Memory aid - issue doesn't require tests

Comments

@xgebi
Copy link

xgebi commented Mar 12, 2024

I have a question about obsolete HTML tags in the specification. Ruby annotation has rb and rtc which in HTML are marked as obsolete. Is there a plan to update current spec or will that happen in Level 2?

These two are in the specification. rtc is in about 30 places and rb is referenced in about 60.

@Loirooriol Loirooriol added the css-ruby-1 Current Work label Mar 13, 2024
@frivoal
Copy link
Collaborator

frivoal commented Mar 15, 2024

You are right that these elements are currently obsolete in the HTML specification.

However, this will hopefully change. The main reason that they are not in the HTML spec is not because they are thought to be a bad idea, but rather than they are currently lacking two browser implementations. Firefox does implement them, and Amazon kindle does implement rb (but does not count as a browser, for the purpose of the WHATWG, who maintains the HTML specification).

(As an aside, note that all browsers do support parsing rb and rtc, including the handling of optional end tags, even if they don't all do anything useful with these tags at the moment).

An agreement has been reached between W3C and the WHATWG that W3C will work on an extension specification for ruby, which will cover those. It has not yet been published, but an early, unofficial draft can be found at https://w3c.github.io/html-ruby/. One of its appendices goes into some detail about why restoring these elements is useful: https://w3c.github.io/html-ruby/#diff-html

The plan is therefore not to remove the use of these two elements from CSS-RUBY-1, but rather to restore them as valid markup.

@frivoal frivoal added the Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. label Mar 15, 2024
@frivoal frivoal closed this as completed Mar 15, 2024
@frivoal frivoal added Testing Unnecessary Memory aid - issue doesn't require tests Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-ruby-1 Current Work Testing Unnecessary Memory aid - issue doesn't require tests
Projects
None yet
Development

No branches or pull requests

3 participants