Back to Chromium

Ruby Markup Content Model: single ruby element, rb bases, interleaved markup, annotation with rt, extra annotation, adding rp in all the places where it's allowed by the content model, as well as some where it's not.

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

149.0.7827.21.0 KB
Original Source

The example below consists of 3 base characters, each annotated with its pronunciation. “浄” is annotated by “じょう”. “瑠” is annotated by “る”. “璃” is annotated by “り”. There is also one excess annotation with no base: “け”. For ease of comparison, it is preceded by some context text: “例文は”. This test passes if:

  • each base character is presented inline with and similarly to the context text, as if they are all part of the same sentence, and
  • each annotation is presented as an annotation, and
  • the correct annotation is presented clearly as being associated with the correct base, and
  • the excess annotation appears to be annotating an empty base.

Note: The colors are not part of the test, they are merely provided as help to the person running the test, to make it easier to recognize the various parts of the text.

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


例文は!浄!じょう!瑠!る!璃!り!け!