Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
4 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
tests/wpt/mozilla/tests/css/inline_absolute_hypothetical_baseline_a.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
4 changes: 4 additions & 0 deletions
4
tests/wpt/mozilla/tests/css/inline_absolute_hypothetical_baseline_ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<div>A C D</div> | ||
<div>B</div> |