diff options
Diffstat (limited to 'layout/reftests/css-ruby/intra-level-whitespace-3.html')
-rw-r--r-- | layout/reftests/css-ruby/intra-level-whitespace-3.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/layout/reftests/css-ruby/intra-level-whitespace-3.html b/layout/reftests/css-ruby/intra-level-whitespace-3.html new file mode 100644 index 000000000..a3a9b6313 --- /dev/null +++ b/layout/reftests/css-ruby/intra-level-whitespace-3.html @@ -0,0 +1,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> |