mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
4fa0c843c9
Font inflation flow roots are similar to block formatting contexts, though I'm trying to make not all block formatting contexts be flow roots in later patches on this bug, bug 707195, and related bugs. This will lead to more consistent font size inflation in a flow of text where the blocks vary in width (e.g., because some of the blocks have horizontal margins) but we determine the text to comprise a single flow.
10 lines
186 B
HTML
10 lines
186 B
HTML
<!DOCTYPE HTML>
|
|
<style>
|
|
div { font-size: 34px; width: 450px }
|
|
div.inner { width: 300px }
|
|
</style>
|
|
<div class="middle">
|
|
Text in middle.
|
|
<div class="inner">Text in inner.</div>
|
|
</div>
|