mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
0ce777d92e
This is the first of two patches to honor inflation during intrinsic width calculation (which we need to do to make some form controls inflate correctly).
18 lines
340 B
HTML
18 lines
340 B
HTML
<!DOCTYPE HTML>
|
|
<style>
|
|
@font-face { font-family: Ahem; src: url(Ahem.ttf); }
|
|
html, body { margin: 0; padding: 0; }
|
|
body { width: 450px }
|
|
p {
|
|
margin: 0;
|
|
background: yellow;
|
|
color: blue;
|
|
width: 60px;
|
|
font: 12px Ahem;
|
|
}
|
|
</style>
|
|
<!--
|
|
In a 60px container, the minimum font size at 15em per line is 4px.
|
|
-->
|
|
<p>This is some text.</p>
|