mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
layout: Make the hypothetical box for display: inline-block
with
`position: absolute` inline per CSS 2.1 § 10.3.7.
This commit is contained in:
parent
b7c9674044
commit
9e1935c2ed
4 changed files with 53 additions and 6 deletions
|
@ -2280,6 +2280,18 @@
|
|||
"url": "/_mozilla/css/inline_background_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_absolute_hypothetical_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_absolute_hypothetical_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_absolute_hypothetical_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_absolute_hypothetical_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_baseline_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_baseline_a.html",
|
||||
|
@ -9044,6 +9056,18 @@
|
|||
"url": "/_mozilla/css/inline_background_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_absolute_hypothetical_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_absolute_hypothetical_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_absolute_hypothetical_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_absolute_hypothetical_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_baseline_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_baseline_a.html",
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<link rel="match" href="inline_block_absolute_hypothetical_ref.html">
|
||||
<style>
|
||||
span {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
}
|
||||
</style>
|
||||
Hello <span>world</span>!
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
span {
|
||||
display: inline;
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
}
|
||||
</style>
|
||||
Hello <span>world</span>!
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue