summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html
blob: 3790ba0bd1a952cf97023bc144fb46fede5cbc41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>

 <meta charset="UTF-8">

 <title>CSS Ruby Test: Improperly-contained ruby annotation</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
  <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#ruby-display">
  <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#box-fixup">
  <link rel="match" href="reference/improperly-contained-annotation-001-ref.html">

  <meta content="This test checks that an improperly-contained ruby annotation is wrapped in an anonymous ruby container.">

  <style>
  ruby
    {
      background-color: lightblue;
      font-size: 40px;
    }

  rbc
    {
      display: ruby-base-container;
    }
  </style>

  <ruby><rbc>B<rt>A</rt></rbc></ruby>