Back to Chromium

Ruby Markup Content Model: implicit ruby base unit is *maximal* DOM range, annotation with rt, adding rp in all the places where it's allowed by the content model

third_party/blink/web_tests/external/wpt/html-ruby-extensions/html-ruby-112.html

149.0.7827.2651 B
Original Source

The example below consists of 2 base characters (今日), jointly annotated with their pronunciation (きょう). For ease of comparison, it is preceded by some context text: “例文は”. This test passes if:

  • the base characters are presented inline with and similarly to the context text, as if they are all part of the same sentence, and
  • the annotation is presented as an annotation, and
  • the annotation is jointly associated with the whole base, not just part of it.

Note: This is not a layout or rendering test. The precise appearance is not specified, and implementations may therefore validly vary.


例文は今日!きょう!