Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham
2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: unicode-bidi: bidi-override in alt text</title>
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction">
<meta name="assert" content="If alt text is not treated as replaced content, then unicode-bidi applies to image alt text.">
<style type="text/css">
.rtol {
direction: rtl;
unicode-bidi: bidi-override;
}
img {
color:blue;
width: 0; /* If alt text is treated as replaced content, then this makes it invisible. */
/* (The rendering of replaced content is out-of-scope for CSS.) */
display: inline;
}
</style>
</head>
<body>
<p>The three lines below should be <strong>identical</strong>.</p>
<p>Three lines of <img src="" alt="readable" width="0"> text</p>
<p>Three lines of <span class="rtol"><img src="" alt="elbadaer" width="0"></span> text</p>
<p>Three lines of <img src="" alt="elbadaer" class="rtol" width="0"> text</p>
</body>
</html>