mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -9,7 +9,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that when 'white-space' is set to 'break-spaces', then line feeds (&NewLine; in the code) are preserved, just like with 'white-space: pre' or with 'white-space: pre-wrap'.">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that when 'white-space' is set to 'break-spaces', then line feeds (&NewLine; in the code) are preserved, just like with 'white-space: pre' or with 'white-space: pre-wrap'.">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that when 'white-space' is set to 'break-spaces', then line feeds (&NewLine; in the code) are preserved, just like with 'white-space: pre' or with 'white-space: pre-wrap'.">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that when 'white-space' is set to 'break-spaces', then line feeds (&NewLine; in the code) are preserved, just like with 'white-space: pre' or with 'white-space: pre-wrap'.">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that when 'white-space' is set to 'break-spaces', then line feeds (&NewLine; in the code) are preserved, just like with 'white-space: pre' or with 'white-space: pre-wrap'.">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that when 'white-space' is set to 'break-spaces', then line feeds (&NewLine; in the code) are preserved, just like with 'white-space: pre' or with 'white-space: pre-wrap'.">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/line-edge-white-space-collapse-001-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<title>White space collapse at end of line collapses through an inline</title>
|
||||
<style>
|
||||
div { font: 30px/30px monospace; }
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/line-edge-white-space-collapse-002-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<title>White space collapse at start of line collapses through an inline</title>
|
||||
<style>
|
||||
div { font: 30px/30px monospace; }
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
|
||||
<link rel="help" title="CSS Text Level 4: 3.1. White Space Collapsing: the ‘text-space-collapse’ property" href="https://drafts.csswg.org/css-text-4/#white-space-collapsing" />
|
||||
<link rel="match" href="reference/text-space-collapse-discard-001-ref.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The UA should discard all white space in the element when text-space-collapse is set to discard." />
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
|
||||
<link rel="help" title="CSS Text Level 4: 3.1. White Space Collapsing: the ‘text-space-collapse’ property" href="https://drafts.csswg.org/css-text-4/#white-space-collapsing" />
|
||||
<link rel="match" href="reference/text-space-collapse-preserve-breaks-001-ref.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The UA should collapse sequences of white space into a single character but preserve segment breaks as forced line breaks when text-space-collapse is set to preserve-breaks." />
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
|
||||
<link rel="help" title="CSS Text Level 4: 3.2. White Space Trimming: the ‘text-space-trim’ property" href="https://drafts.csswg.org/css-text-4/#white-space-trim" />
|
||||
<link rel="match" href="reference/text-space-trim-trim-inner-001-ref.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The UA should discard all white space at the beginning of a block and all white space at the end of a block when text-space-trim is set to trim-inner." />
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<link rel="match" href="reference/pre-wrap-013-ref.html">
|
||||
<meta name="assert" content="When white-space is pre-wrap, spaces at the end of soft-wrapped lines get collapsed or hanged, so they do not have any effect when centering.">
|
||||
<meta name="fuzzy" content="maxDifference=0-36; totalPixels=0-12">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
textarea {
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-display-3/#box-generation">
|
||||
<link rel="match" href="reference/white-space-applies-to-text-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that 'white-space', which applies to inlines, also applies to text. In this test, we verify that 'white-space: normal', 'white-space: nowrap', 'white-space: pre', 'white-space: pre-wrap', 'white-space: break-spaces' and 'white-space: pre-line' apply to text." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#propdef-white-space">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<meta name="flags" content="">
|
||||
<link rel="match" href="reference/white-space-intrinsic-size-001-ref.html">
|
||||
<meta name="assert" content="When white-space is break-spaces, preserved spaces at the end of the line do affect the intrinsic min-content size. Overflow-wrap makes no difference.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#propdef-white-space">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<meta name="flags" content="">
|
||||
<link rel="match" href="reference/white-space-intrinsic-size-002-ref.html">
|
||||
<meta name="assert" content="If white-space is break-spaces, preserved spaces at the end of the line do affect the intrinsic max-content size. The value of overflow-wrap makes no difference.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#propdef-white-space">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<meta name="flags" content="">
|
||||
<link rel="match" href="reference/white-space-intrinsic-size-003-ref.html">
|
||||
<meta name="assert" content="Preserved spaces at the end of the line do not affect the intrinsic min-content size when white-space is pre-wrap. The value of overflow-wrap makes no difference.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#propdef-white-space">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
|
||||
<meta name="flags" content="">
|
||||
<link rel="match" href="reference/white-space-intrinsic-size-004-ref.html">
|
||||
<meta name="assert" content="Preserved spaces at the end of the line do affect the intrinsic max-content size when white-space is pre-wrap, as spaces before a forced break, at the end of un unwrapped line, only hanging conditionally, which does not prevent contributing to the max-content size. The value of overflow-wrap makes no difference.">
|
||||
<style>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'pre-wrap', white spaces at the end of the line are preserved. In this test, the overflowing end-of-line white spaces following the 'A', the 'GH', the 'MNO' and the 'WXYZ' conditionally 'hang' while they do not affect the intrinsic min-content size." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'pre-wrap', white spaces at the end of the line are preserved. In this test, the 4 overflowing white spaces following the 'ABCD', following the 'GHIJ', following the 'MNOP' and following the 'WXYZ' conditionally 'hang' while they do not affect the intrinsic min-content size." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'pre', preserved white spaces at the end of the line affect the intrinsic min-content size." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'pre', preserved white spaces at the end of the line affect the intrinsic min-content size. Overflow-wrap makes no difference." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-3958">
|
||||
<meta content="When 'white-space' is 'pre-wrap', preserved white spaces at the beginning and at the end of the line affect the intrinsic max-content size." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-3958">
|
||||
<meta content="When 'white-space' is 'pre', preserved white spaces at the beginning and at the end of the line affect the intrinsic max-content size." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'pre-line', sequence of white spaces are collapsed into 1 white space, the tabs are converted into a single white space and then the white spaces at the end of the line are removed." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'pre-line', sequence of white spaces are collapsed into 1 white space, the tabs are converted into a single white space and then the white spaces at the end of the line are removed." name="assert">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: inline' is tested." name="assert">
|
||||
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: block' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-003-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: list-item' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: inline-block' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-006-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-006-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: inline-table' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-006-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-row-group' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-006-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-header-group' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-006-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-footer-group' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-006-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-row' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-012-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="In this test, we verify that 'white-space: break-spaces' does not apply to element with 'display: table-column-group'." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-012-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="In this test, we verify that 'white-space: break-spaces' does not apply to element with 'display: table-column'." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-006-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-cell' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-property">
|
||||
<link rel="match" href="reference/ws-break-spaces-applies-to-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-caption' is tested." name="assert">
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue