mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
layout: Place inline absolute hypothetical boxes properly during block
fragment position assignment. Improves Rust documentation. Closes #13471.
This commit is contained in:
parent
19a5a30113
commit
5232b0c85f
38 changed files with 231 additions and 156 deletions
|
@ -1,3 +0,0 @@
|
|||
[flexbox_justifycontent-center.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[flexbox_justifycontent-flex-end.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[flexbox_justifycontent-spacearound-negative.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[flexbox_justifycontent-spacearound.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[flexbox_justifycontent-spacebetween-negative.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[flexbox_justifycontent-spacebetween-only.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[flexbox_justifycontent-spacebetween.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-005.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-017.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-029.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-041.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-053.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-065.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-077.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-089.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-105.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-137.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-143.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-145.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vlr-149.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-004.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-016.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-028.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-040.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-052.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-064.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-076.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-088.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-104.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-136.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[abs-pos-non-replaced-vrl-144.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -2420,6 +2420,30 @@
|
|||
"url": "/_mozilla/css/inline_absolute_hypothetical_clip_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_line_metrics_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_line_metrics_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_line_metrics_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_line_metrics_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_metrics_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_metrics_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_metrics_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_metrics_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_out_of_flow_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_out_of_flow_a.html",
|
||||
|
@ -16142,6 +16166,30 @@
|
|||
"url": "/_mozilla/css/inline_absolute_hypothetical_clip_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_line_metrics_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_line_metrics_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_line_metrics_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_line_metrics_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_metrics_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_metrics_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_metrics_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_metrics_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_out_of_flow_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_out_of_flow_a.html",
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<link rel="match" href="inline_absolute_hypothetical_line_metrics_ref.html">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
<img width=25 height=25 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWP4z8DwHwAFAAH/q842iQAAAABJRU5ErkJggg=="><!--
|
||||
--><img style="position: absolute" width=100 height=100 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYPj/HwADAgH/xCAAOgAAAABJRU5ErkJggg=="><!--
|
||||
--><img style="position: absolute" width=50 height=50 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgaGD4DwAChAGA2FJdiQAAAABJRU5ErkJggg==">
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
</style>
|
||||
<img style="left: 0" width=25 height=25 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWP4z8DwHwAFAAH/q842iQAAAABJRU5ErkJggg=="><!--
|
||||
--><img style="left: 25px" width=100 height=100 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYPj/HwADAgH/xCAAOgAAAABJRU5ErkJggg=="><!--
|
||||
--><img style="left: 25px" width=50 height=50 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgaGD4DwAChAGA2FJdiQAAAABJRU5ErkJggg==">
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<link rel="match" href="inline_absolute_hypothetical_metrics_ref.html">
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
font-size: 36px;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
A<span>B
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
font-size: 36px;
|
||||
}
|
||||
div {
|
||||
position: absolute;
|
||||
}
|
||||
#a {
|
||||
left: 0;
|
||||
}
|
||||
#b {
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
<div id=a>A</div><div id=b>B</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue