mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Don't count lines that consist solely of hypothetical boxes when
determining the baseline offset of the last line. Improves Twitter by placing the favorite icon in the right place vertically.
This commit is contained in:
parent
3a56cc7f2f
commit
0803ef98e3
4 changed files with 46 additions and 5 deletions
|
@ -2372,6 +2372,18 @@
|
|||
"url": "/_mozilla/css/incremental_visibility_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_baseline_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_baseline_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_baseline_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_baseline_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_clip_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_clip_a.html",
|
||||
|
@ -16010,6 +16022,18 @@
|
|||
"url": "/_mozilla/css/incremental_visibility_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_baseline_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_baseline_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_absolute_hypothetical_baseline_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_absolute_hypothetical_baseline_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_clip_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_clip_a.html",
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="match" href="inline_absolute_hypothetical_baseline_ref.html">
|
||||
<div style="display: inline-block">
|
||||
<div>A</div>
|
||||
<span style="position: absolute;">B</span>
|
||||
</div>
|
||||
C
|
||||
D
|
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<div>A C D</div>
|
||||
<div>B</div>
|
Loading…
Add table
Add a link
Reference in a new issue