Move white_space_intrinsic_sizes_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-12-07 16:33:02 -05:00
parent 29feccd02e
commit 844965ec2f
5 changed files with 30 additions and 3 deletions

View file

@ -4915,6 +4915,18 @@
"url": "/_mozilla/css/white-space-pre-wrap.htm"
}
],
"css/white_space_intrinsic_sizes_a.html": [
{
"path": "css/white_space_intrinsic_sizes_a.html",
"references": [
[
"/_mozilla/css/white_space_intrinsic_sizes_ref.html",
"=="
]
],
"url": "/_mozilla/css/white_space_intrinsic_sizes_a.html"
}
],
"css/whitespace_nowrap_a.html": [
{
"path": "css/whitespace_nowrap_a.html",
@ -10770,6 +10782,18 @@
"url": "/_mozilla/css/white-space-pre-wrap.htm"
}
],
"css/white_space_intrinsic_sizes_a.html": [
{
"path": "css/white_space_intrinsic_sizes_a.html",
"references": [
[
"/_mozilla/css/white_space_intrinsic_sizes_ref.html",
"=="
]
],
"url": "/_mozilla/css/white_space_intrinsic_sizes_a.html"
}
],
"css/whitespace_nowrap_a.html": [
{
"path": "css/whitespace_nowrap_a.html",

View file

@ -0,0 +1,5 @@
[white_space_intrinsic_sizes_a.html]
type: reftest
expected:
if os == "mac": FAIL
bug: https://github.com/servo/servo/issues/3926

View file

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=white_space_intrinsic_sizes_ref.html>
<style type="text/css">
table {
width: 0;
}
td {
border: solid black 1px;
white-space: nowrap;
}
</style>
</head>
<body>
<table>
<tr>
<td>
<div>
<div>Instant Video</div>
</div>
</td>
<td>
<div>
<div>Digital Music Store</div>
</div>
</td>
<td>
<div>
<div>Cloud Drive</div>
</div>
</td>
<td>
<div>
<div>Fire Phone</div>
</div>
</td>
<td>
<div>
<div>Appstore<br>for Android</div>
</div>
</td>
</tr>
</table>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
td {
border: solid black 1px;
}
</style>
</head>
<body>
<table>
<tr>
<td>
<div>
<div>Instant&nbsp;Video</div>
</div>
</td>
<td>
<div>
<div>Digital&nbsp;Music&nbsp;Store</div>
</div>
</td>
<td>
<div>
<div>Cloud&nbsp;Drive</div>
</div>
</td>
<td>
<div>
<div>Fire&nbsp;Phone</div>
</div>
</td>
<td>
<div>
<div><div>Appstore</div><div>for Android</div></div>
</div>
</td>
</tr>
</table>
</body>
</html>