Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaron committed May 30, 2016
1 parent a2893f1 commit d2eb706
Show file tree
Hide file tree
Showing 24 changed files with 167 additions and 9 deletions.
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-round-4-ref.html">
<link rel="match" href="background-repeat-space-2-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'space' works correctly or not.">
<style type="text/css">
.outer {
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-round-3-ref.html">
<link rel="match" href="background-repeat-space-3-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'no-repeat space' and 'space no-repeat' works correctly or not.">
<style type="text/css">
.outer {
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-1-ref.html">
<link rel="match" href="background-repeat-space-4-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'repeat space' works correctly or not.">
<style type="text/css">
.outer {
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-1-ref.html">
<link rel="match" href="background-repeat-space-5-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'space repeat' works correctly or not.">
<style type="text/css">
.outer {
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-1-ref.html">
<link rel="match" href="background-repeat-space-6-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'round space' works correctly or not.">
<style type="text/css">
.outer {
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-1-ref.html">
<link rel="match" href="background-repeat-space-7-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'space round' works correctly or not.">
<style type="text/css">
.outer {
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-1-ref.html">
<link rel="match" href="background-repeat-space-8-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'space' works correctly or not.">
<style type="text/css">
.outer {
Expand Down
Expand Up @@ -5,6 +5,9 @@
<title>CSS Masking: mask-image: multiple SVG masks</title>
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
<link rel="match" href="mask-image-3-ref.html">
<meta name="assert" content="Test checks whether SVG mask as mask layer works correctly or not.">
<svg height="0">
<mask id="mask1" x="0" y="0" width="100" height="100" >
<rect x="0" y="0" width="50" height="50" style="stroke:none; fill: #ffffff"/>
Expand Down
Expand Up @@ -5,6 +5,9 @@
<title>CSS Masking: mask-image: interleave SVG mask with image mask </title>
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
<link rel="match" href="mask-image-3-ref.html">
<meta name="assert" content="Test checks whether SVG mask and image as mask layer works correctly or not.">
<svg height="0">
<mask id="mask1" x="0" y="0" width="100" height="100" >
<circle cx="50" cy="50" r="25" style="stroke:none; fill: #ffffff"/>
Expand Down
Expand Up @@ -5,6 +5,9 @@
<title>CSS Masking: mask-image: interleave SVG mask with image mask </title>
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
<link rel="match" href="mask-image-3-ref.html">
<meta name="assert" content="Test checks whether SVG mask and image as mask layer works correctly or not.">
<svg height="0">
<mask id="mask1" x="0" y="0" width="100" height="100" >
<circle cx="50" cy="50" r="25" style="stroke:none; fill: #ffffff"/>
Expand Down
Expand Up @@ -5,6 +5,9 @@
<title>CSS Masking: mask-image: interleave SVG mask with image mask </title>
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
<link rel="match" href="mask-image-3-ref.html">
<meta name="assert" content="Test checks whether SVG mask and image as mask layer works correctly or not.">
<svg height="0">
<mask id="mask1" x="10%" y="10%" width="80" height="80" >
<circle cx="50" cy="50" r="25" style="stroke:none; fill: #ffffff"/>
Expand Down
Expand Up @@ -5,6 +5,9 @@
<title>CSS Masking: mask-image: interleave SVG mask with image mask </title>
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
<link rel="match" href="mask-image-3-ref.html">
<meta name="assert" content="Test checks whether SVG mask and image as mask layer works correctly or not.">
<svg height="0">
<mask id="mask1" x="0" y="0" width="100" height="100" >
<circle cx="50" cy="50" r="25" style="stroke:none; fill: #ffffff"/>
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#propdef-mask-mode">
<link rel="match" href="mask-mode-ref.html">
<link rel="match" href="mask-mode-to-mask-type-ref.html">
<meta name="assert" content="Test checks the fallback logic between mask-mode and mask-type.">
<style type="text/css">
div {
Expand Down
Expand Up @@ -13,7 +13,7 @@
# mask-mode test cases
== mask-mode-a.html mask-mode-ref.html
== mask-mode-b.html mask-mode-ref.html
== mask-type.html mask-type-ref.html
== mask-mode-to-mask-type.html mask-mode-to-mask-type-ref.html

# mask-image test cases
== mask-image-1a.html mask-image-1-ref.html
Expand Down
Expand Up @@ -11,3 +11,8 @@
== ruby-autohide-003.html ruby-autohide-003-ref.html
== ruby-autohide-004.html ruby-autohide-001-ref.html

# Tests for ruby with text-combine-upright
== ruby-text-combine-upright-001a.html ruby-text-combine-upright-001-ref.html
== ruby-text-combine-upright-001b.html ruby-text-combine-upright-001-ref.html
== ruby-text-combine-upright-002a.html ruby-text-combine-upright-002-ref.html
== ruby-text-combine-upright-002b.html ruby-text-combine-upright-002-ref.html
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Reference: Ruby with text-combine-upright in base</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="stylesheet" href="support/ahem.css">
<style>
.test {
font: 52px Ahem;
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<p>Test passes if the two rectangles are vertically middle aligned.</p>
<div class="test">
<ruby><rb><span style="writing-mode: horizontal-tb">X</span></rb><rt>XXXXXXXX</rt></ruby>
</div>
</body>
</html>
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Test: Ruby with text-combine-upright base</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-001-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<style>
.test {
font: 52px Ahem;
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<p>Test passes if the two rectangles are vertically middle aligned.</p>
<div class="test">
<ruby><rb style="text-combine-upright: all">X</rb><rt>XXXXXXXX</rt></ruby>
</div>
</body>
</html>
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Test: Ruby with text-combine-upright child in base</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-001-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<style>
.test {
font: 52px Ahem;
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<p>Test passes if the two rectangles are vertically middle aligned.</p>
<div class="test">
<ruby><rb><span style="text-combine-upright: all">X</span></rb><rt>XXXXXXXX</rt></ruby>
</div>
</body>
</html>
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Reference: Ruby with text-combine-upright annotation</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="stylesheet" href="support/ahem.css">
<style>
.test {
font: 52px Ahem;
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<p>Test passes if the two rectangles are vertically middle aligned.</p>
<div class="test">
<ruby><rb>XXXX</rb><rt><span style="writing-mode: horizontal-tb">X</span></rt></ruby>
</div>
</body>
</html>
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Test: Ruby with text-combine-upright in annotation</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-002-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<style>
.test {
font: 52px Ahem;
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<p>Test passes if the two rectangles are vertically middle aligned.</p>
<div class="test">
<ruby><rb>XXXX</rb><rt style="text-combine-upright: all">X</rt></ruby>
</div>
</body>
</html>
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Test: Ruby with text-combine-upright child in annotation</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-002-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<style>
.test {
font: 52px Ahem;
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<p>Test passes if the two rectangles are vertically middle aligned.</p>
<div class="test">
<ruby><rb>XXXX</rb><rt><span style="text-combine-upright: all">X</span></rt></ruby>
</div>
</body>
</html>
Binary file not shown.
@@ -0,0 +1,4 @@
@font-face {
font-family: "Ahem";
src: url(./Ahem.ttf);
}

0 comments on commit d2eb706

Please sign in to comment.