mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision 213a7607e8d6ba44d88f1774319e6c1c82ab1ccb
This commit is contained in:
parent
95614f57f1
commit
8903de3c76
119 changed files with 1456 additions and 594 deletions
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS Text test reference</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<style>
|
||||
pre {
|
||||
font-size: 12px;
|
||||
float: left;
|
||||
border: 1px solid black;
|
||||
margin: 12px;
|
||||
}
|
||||
</style>
|
||||
<pre>
|
||||
foo
|
||||
bar
|
||||
</pre>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS Text test reference</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<style>
|
||||
pre {
|
||||
font-size: 12px;
|
||||
float: left;
|
||||
border: 1px solid black;
|
||||
margin: 12px;
|
||||
-moz-tab-size: 100px;
|
||||
tab-size: 100px;
|
||||
}
|
||||
</style>
|
||||
<pre>
|
||||
<span>foo</span>	<span>bar</span>
|
||||
</pre>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS Text Test: preserved white space with zero font-size</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/white-space-zero-fontsize-001-ref.html">
|
||||
<meta name="assert" content="Forced line break in preserved white space is respected even when font-size is zero">
|
||||
<style>
|
||||
pre {
|
||||
font-size: 0;
|
||||
float: left;
|
||||
border: 1px solid black;
|
||||
margin: 12px;
|
||||
}
|
||||
span { font-size: 12px; }
|
||||
</style>
|
||||
<pre>
|
||||
<span>foo</span>
|
||||
<span>bar</span>
|
||||
</pre>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS Text Test: preserved white space with zero font-size</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/white-space-zero-fontsize-002-ref.html">
|
||||
<meta name="assert" content="Tab in preserved white space is respected even when font-size is zero">
|
||||
<style>
|
||||
pre {
|
||||
font-size: 0;
|
||||
float: left;
|
||||
border: 1px solid black;
|
||||
margin: 12px;
|
||||
-moz-tab-size: 100px;
|
||||
tab-size: 100px;
|
||||
}
|
||||
span { font-size: 12px; }
|
||||
</style>
|
||||
<pre>
|
||||
<span>foo</span>	<span>bar</span>
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue