Files
servo/tests/wpt/css-tests/css-fonts-3_dev/html/font-size-adjust-001.htm

25 lines
934 B
HTML

<!DOCTYPE html>
<html><head><meta charset="utf-8">
<title>CSS Fonts Test: font-size-adjust - greater 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 greater than the specified size when the value of font-size-adjust
is greater than the aspect value of font" name="assert">
<style>
div {
font-family: Ahem;
font-size: 40px;
}
#test {
color: blue;
font-size-adjust: 0.9;
}
</style>
</head><body>
<p>Test passes if the size of blue rectangle is greater than the black rectangle.</p>
<div>FillerText</div>
<div id="test">FillerText</div>
</body></html>