Files
firefox/testing/web-platform/tests/html-ruby-extensions/html-ruby-703.html
T
Florian Rivoal 9f408b7ffb Bug 2020172 [wpt PR 58150] - Import tests for html ruby extensions, a=testonly
Automatic update from web-platform-tests
Import tests for html ruby extensions (#58150)

These cover:
* permutations of the allowed syntax for ruby base markup (with or
  without rb, interleaved and tabular markup, with too many bases, with too many annotations)
* usage of rt alone, rtc alone, and rt with rtc, and variants where
  (some) rt are implied
* spanning annotations using rtc
* multi-level ruby using rtc (both spanning and non-spanning)
* the presence of rp, and the lack of interference with segmentation and
  pairing, not only when rp respect the content model, but even when it
  doesn't
* inter-element spaces not interferring with segmentation and pairing

See the README for some more info on the approach followed.

--

wpt-commits: 0828f9ec7da741aea4ecaf817f9a5a09cfe8ff1a
wpt-pr: 58150
2026-03-12 15:56:46 +00:00

19 lines
691 B
HTML

<!DOCTYPE html>
<html lang="en" >
<meta charset="utf-8">
<title>Ruby Markup Content Model: rtc outside ruby</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel="help" href="https://www.w3.org/TR/html-ruby-extensions/#the-rtc-element">
<meta name="assert" content="An rtc element that is not a child of a ruby element represents the same thing as its children. ">
<link rel="mismatch" href="reference/html-ruby-701-ref.html">
<body>
<p>
This test passes if the word "PASS" appears below.
<p>Note: This is not a layout or rendering test.
The precise appearance is not specified,
and implementations may therefore validly vary.
<hr>
<rtc>PASS</rtc>