Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong calculation of inline element's block size
- Loading branch information
Showing
18 changed files
with
61 additions
and
44 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
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-padding-bleed-001.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-padding-bleed-002.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-padding-bleed-003.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/border-width-applies-to-008.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/c5506-ipadn-t-000.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/c5506-ipadn-t-002.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/c5508-ipadn-b-000.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
tests/wpt/metadata-css/css21_dev/html4/c5510-ipadn-000.htm.ini
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[c5510-ipadn-000.htm] | ||
type: reftest | ||
expected: FAIL | ||
expected: | ||
if os != "mac": FAIL |
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/inline-formatting-context-022.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/inline-formatting-context-023.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/inline-non-replaced-height-002.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/inline-non-replaced-height-003.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/margin-bottom-applies-to-008.htm.ini
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/wpt/metadata-css/css21_dev/html4/margin-top-applies-to-008.htm.ini
This file was deleted.
Oops, something went wrong.
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
21 changes: 21 additions & 0 deletions
21
tests/wpt/mozilla/tests/css/inline_element_padding_margin.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,21 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Border, padding and margin properties' top and bottom values of inline elements shouldn't affect element's height</title> | ||
<link rel="match" href="inline_element_padding_margin_ref.html"> | ||
<style> | ||
a { | ||
border-top: 20px solid transparent; | ||
border-bottom: 20px solid transparent; | ||
padding: 20px 0; | ||
margin: 20px 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<a href="#">foo</a> | ||
<br> | ||
bar | ||
</body> | ||
</html> |
12 changes: 12 additions & 0 deletions
12
tests/wpt/mozilla/tests/css/inline_element_padding_margin_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,12 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Border, padding and margin properties' top and bottom values of inline elements shouldn't affect element's height</title> | ||
</head> | ||
<body> | ||
<a href="#">foo</a> | ||
<br> | ||
bar | ||
</body> | ||
</html> |