summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ruby/intra-level-whitespace-3.html
blob: a3a9b6313dce7e856a11b03158ed747f227eb08a (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
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Bug 1099807 - Intra-level whitespace pairing</title>
  <link rel="stylesheet" href="common.css">
  <style>
    rbc::before {
      display: ruby-base;
      content: "before";
    }
    rbc::after {
      display: ruby-base;
      content: " ";
    }
    rtc::before {
      display: ruby-text;
      content: " ";
    }
    rtc::after {
      display: ruby-text;
      content: "after";
    }
  </style>
</head>
<body>
  <!-- This test ensures that we don't treat all-whitespace
       ::before/::after content as intra-level whitespace -->
  |<ruby>
    <rbc><rb>base</rb></rbc>
    <rtc><rt>text</rt></rtc>
  </ruby>|
</body>
</html>