mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
be7a42e48c
Change the "hypothetical box" calculations that we do for 'auto'-offset absolutely positioned elements take its inline codepath (using horizontal position of placeholder, and placing even with the top of the placeholder's line) rather than its block codepath (using the horizontal edge of the containing block, and placing below the placeholder's line) when display types are display-outside:inline types other than display:inline.
7 lines
176 B
HTML
7 lines
176 B
HTML
<!DOCTYPE HTML>
|
|
<title>'auto' offset properties on display:inline-block (reference)</title>
|
|
<style>
|
|
p { font-family: monospace /* avoid kerning */ }
|
|
</style>
|
|
<p>HelloWorld</p>
|