mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
25 lines
1.0 KiB
HTML
25 lines
1.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
|
|
<title>CSS Fonts Test: font-size-adjust - less than aspect value of font</title>
|
|
<link href="http://www.intel.com/" rel="author" title="Intel" />
|
|
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan" />
|
|
<link href="http://www.w3.org/TR/css-fonts-3/#font-size-adjust-prop" rel="help" title="3.6 Relative sizing: the font-size-adjust property" />
|
|
<meta content="Ahem" name="flags" />
|
|
<meta content="Test checks that the actual font size is less than the specified size when the value of font-size-adjust
|
|
is less than the aspect value of font" name="assert" />
|
|
<style>
|
|
div {
|
|
font-family: Ahem;
|
|
font-size: 40px;
|
|
}
|
|
#test {
|
|
color: blue;
|
|
font-size-adjust: 0.2;
|
|
}
|
|
</style>
|
|
</head><body>
|
|
<p>Test passes if the size of blue rectangle is less than the black rectangle.</p>
|
|
<div>FillerText</div>
|
|
<div id="test">FillerText</div>
|
|
|
|
</body></html> |