mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Update web-platform-tests to revision bbfea06cb188fbe7b7004bd838ccbfb4f50f429c
This commit is contained in:
parent
8e783577d2
commit
ba8922cc76
2439 changed files with 5192 additions and 2611 deletions
|
@ -37,6 +37,3 @@
|
|||
[Revoke blob URL after creating Request, will fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Revoke blob URL after calling fetch, fetch should succeed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,2 @@
|
|||
[hypothetical-box-dynamic.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[mix-blend-mode-animation.html]
|
||||
expected: FAIL
|
|
@ -312,6 +312,24 @@
|
|||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%0C]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20%22nosniFF%22]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_1.html]
|
||||
[Multiple history traversals from the same task]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[DOMContentLoaded-defer.html]
|
||||
[The end: DOMContentLoaded and defer scripts]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[realtimeanalyser-fft-scaling.html]
|
||||
expected: TIMEOUT
|
||||
[X 2048-point FFT peak position is not equal to 64. Got 0.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[response.py]
|
||||
expected: TIMEOUT
|
|
@ -1,5 +1,4 @@
|
|||
[import-in-moduleworker.html]
|
||||
expected: ERROR
|
||||
[Base URL in module dedicated workers: import]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -234,6 +234,7 @@ tasks:
|
|||
script: >-
|
||||
export TOXENV=py36;
|
||||
export HYPOTHESIS_PROFILE=ci;
|
||||
sudo apt update -qqy;
|
||||
sudo apt install -qqy python3-pip;
|
||||
./tools/ci/run_tc.py \
|
||||
tools_unittest \
|
||||
|
@ -246,6 +247,7 @@ tasks:
|
|||
Integration tests for wpt commands
|
||||
script: >-
|
||||
export TOXENV=py27;
|
||||
sudo apt update -qqy;
|
||||
sudo apt install -qqy libnss3-tools;
|
||||
./tools/ci/run_tc.py \
|
||||
--oom-killer \
|
||||
|
@ -274,6 +276,7 @@ tasks:
|
|||
description: >-
|
||||
Smoketests for wptrunner
|
||||
script: >-
|
||||
sudo apt update -qqy;
|
||||
sudo apt install -qqy libnss3-tools libappindicator1 fonts-liberation;
|
||||
./tools/ci/run_tc.py \
|
||||
--oom-killer \
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<title>webkit-text-fill-color on text-overflow ellipsis reference</title>
|
||||
<link rel="author" title="Jeremy Chen" href="jeremychen@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
font-size: 10px;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<link rel="help" href="https://compat.spec.whatwg.org/#the-webkit-text-fill-color">
|
||||
<meta name="assert" content="The color of text-overflow ellipsis should be green">
|
||||
<link rel="match" href="webkit-text-fill-color-property-006-ref.html">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
font-size: 10px;
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<title>CSS Test Reference</title>
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<link rel="author" title="Mozilla" href="https://mozilla.org">
|
||||
<style>
|
||||
div {
|
||||
font: 16px / 1 monospace;
|
||||
text-align: center;
|
||||
margin: 5px;
|
||||
position: relative;
|
||||
min-height: 30px;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
<p>Should see two words at the same horizontal position below:</p>
|
||||
<div>
|
||||
<span>Foo</span>
|
||||
</div>
|
||||
<div>
|
||||
<span>Foo</span>
|
||||
</div>
|
|
@ -0,0 +1,37 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<title>Layout is correctly updated when the hypothetical display of an element changes, even though the final computed display doesn't</title>
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<link rel="author" title="Mozilla" href="https://mozilla.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#abs-non-replaced-height" title="10.6.4 Absolutely positioned, non-replaced elements">
|
||||
<link rel="match" href="hypothetical-box-dynamic-ref.html">
|
||||
<style>
|
||||
div {
|
||||
font: 16px / 1 monospace;
|
||||
text-align: center;
|
||||
margin: 5px;
|
||||
position: relative;
|
||||
min-height: 30px;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
}
|
||||
.block {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<p>Should see two words at the same horizontal position below:</p>
|
||||
<div>
|
||||
<span class="block">Foo</span>
|
||||
</div>
|
||||
<div>
|
||||
<span>Foo</span>
|
||||
</div>
|
||||
<script>
|
||||
onload = function() {
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
document.querySelector(".block").className = "";
|
||||
document.documentElement.className = "";
|
||||
}));
|
||||
}
|
||||
</script>
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="User agent default style sheet settings can be overridden." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
em
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The computed value of a font-size with a percentage is the percentage of its parent's font-size value. A nested element which also has a percentage applies the parents' specified value (which is inherited)." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.container
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<meta name="assert" content="When a cleared element has more top margin than the height of the floated element the margin is collpased with previous in-flow children. The element is then placed at the point of the resulting collapsed margin." />
|
||||
<!-- C1 = H-M2 -->
|
||||
<!-- C2 = Max(M1, M2) - M1 - M2 -->
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<meta name="assert" content="If after margin collapsing the position of the cleared element is above or hypothetically positioned within the layout position of the float. Then the cleared element is positioned directly below the floated element." />
|
||||
<!-- C1 = H-M2 -->
|
||||
<!-- C2 = Max(M1, M2) - M1 - M2 -->
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<meta name="assert" content="When a cleared element has more top margin than the height of the floated element the margin is collpased with previous in-flow children. The element is then placed at the point of the resulting collapsed margin." />
|
||||
<!-- C1 = H-MT2 -->
|
||||
<!-- C2 = Max(M1, MT2, MB2) - M1 - MT2 -->
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
body {margin: 8px;}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content=""/>
|
||||
<meta name="assert" content="Zero clearance is not the same as no clearance."/>
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div {
|
||||
font: 20px/1em Ahem;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<meta content="ahem" name="flags" />
|
||||
<meta content="A non-positioned block box created after a float box should flow vertically as if the float did not exist. The line boxes created next to the float should be shortened to make room for that preceding floated box." name="assert" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div#left-floated-square
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="If 'width' computes to 'auto' then the used value of 'width' is 'shrink-to-fit'." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<meta content="If 'width' of a floating, non-replaced element computes to 'auto' or 'width' of an inline-block, non-replaced element in normal flow computes to 'auto', then the used value of 'width' is given by 'shrink-to-fit' width calculation. If 'width' of an inline-block, non-replaced element in normal flow is given by 'shrink-to-fit' width calculation, then such calculated width can be furthermore constrained, reduced by a max-width declaration. If 'width' of a floating, non-replaced element computes to 'auto' but its own child uses a constrained length resulting from a max-width declaration, then such constrained length will define the preferred width in 'shrink-to-fit' width calculation." name="assert" />
|
||||
<meta content="ahem" name="flags" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<meta content="If 'width' of a floating, non-replaced element computes to 'auto', then the used value of 'width' is given by 'shrink-to-fit' width calculation. If 'width' of a floating, non-replaced element is given by 'shrink-to-fit' width calculation, then such calculated width can be furthermore constrained, reduced by a max-width declaration. If 'width' of a floating, non-replaced element computes to 'auto' but its own child uses a constrained length resulting from a max-width declaration, then such constrained length will define the preferred width in 'shrink-to-fit' width calculation." name="assert" />
|
||||
<meta content="ahem" name="flags" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<meta content="If 'width' of a floating, non-replaced element computes to 'auto', then the used value of 'width' is given by 'shrink-to-fit' width calculation. If 'width' of a floating, non-replaced element is given by 'shrink-to-fit' width calculation, then such calculated width can be furthermore constrained, reduced by a max-width declaration. If 'width' of a floating, non-replaced element computes to 'auto' but its own child uses a constrained length resulting from a max-width declaration, then such constrained length will define the preferred width in 'shrink-to-fit' width calculation." name="assert" />
|
||||
<meta content="ahem" name="flags" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<meta content="If 'width' of a floating, non-replaced element computes to 'auto', then the used value of 'width' is given by 'shrink-to-fit' width calculation. If 'width' is specified with absolute length, then the computed value is the specified value. If 'width' of a floating, non-replaced element computes to 'auto' but its own child uses specified absolute length, then such specified absolute length will define the preferred width in 'shrink-to-fit' width calculation." name="assert" />
|
||||
<meta content="ahem" name="flags" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<meta content="If 'width' of a floating, non-replaced element computes to 'auto' or 'width' of an inline-block, non-replaced element in normal flow computes to 'auto', then the used value of 'width' is given by 'shrink-to-fit' width calculation. If 'width' of an inline-block, non-replaced element in normal flow is given by 'shrink-to-fit' width calculation, then such calculated width can be furthermore constrained, reduced by a max-width declaration. If 'width' of a floating, non-replaced element computes to 'auto' but its own child uses a constrained length resulting from a max-width declaration, then such constrained length will define the preferred width in 'shrink-to-fit' width calculation." name="assert" />
|
||||
<meta content="ahem" name="flags" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<meta content="If 'width' of a floating non-replaced element computes to 'auto', then the used value of 'width' is given by 'shrink-to-fit' width calculation and such calculated width can be furthermore constrained, reduced by a max-width declaration." name="assert" />
|
||||
<meta content="ahem" name="flags" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Inline boxes are reflowed to the first available line on the other side of a float." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#div1
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Inline boxes are reflowed to the first available line on the other side of a float for right-to-left." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#div1
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<link rel="match" href="floats-111-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
.container { width: 40%; padding: 0; margin: 1em; border: solid black; font: 2.5em/1 Ahem; height: 1em; width: 1em; background: red; }
|
||||
.test { text-align: right; float: right; clear: right; color: green; }
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<link rel="match" href="floats-112-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
.container { width: 40%; padding: 0; margin: 1em; border: solid black; font: 2.5em/1 Ahem; height: 1em; width: 2em; background: red; }
|
||||
.test { text-align: right; float: right; clear: right; color: green; }
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<link rel="match" href="floats-113-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
.container { width: 40%; padding: 0; margin: 1em; border: solid black; font: 2.5em/1 Ahem; height: 1em; width: 3em; background: white; }
|
||||
.test { text-align: right; float: right; clear: right; color: green; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-115-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.test { display: block; width: 200px; height: 50px; background: red; }
|
||||
.float { float: left; background: green; color: green; font: 50px/1 Ahem; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-116-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.test { display: block; width: 300px; height: 150px; background: red; }
|
||||
.float { float: left; background: green; color: green; font: 50px/1 Ahem; padding: 50px; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-116-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.test { display: block; width: 300px; height: 150px; background: red; }
|
||||
.float { float: left; color: green; font: 50px/1 Ahem; border: 50px solid green; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-118-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.test { display: block; }
|
||||
span { display: block; width: 100px; height: 25px; margin-bottom: 10px; background: navy; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-119-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.test { display: block; }
|
||||
span { display: block; width: 150px; height: 75px; margin-bottom: 10px; background: navy; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-119-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.test { display: block; }
|
||||
span { display: block; width: 150px; height: 75px; margin-bottom: 10px; background: navy; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-121-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#container { display: block; width: 299px; background: red; color: green; font: 50px/1 Ahem; border: solid white; }
|
||||
.float { float: left; margin: 50px; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-122-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#container { display: block; width: 100px; background: red; color: green; font: 50px/1 Ahem; position: relative; }
|
||||
.float { float: left; color: white; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-123-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#container { display: block; width: 150px; background: red; position: relative; }
|
||||
.float { float: left; color: green; font: 50px/1 Ahem; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-132-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.container { font: 20px/1 Ahem; width: 8em; height: 2em; background: red; }
|
||||
.box { height: 1em; background: green; color: lime; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-133-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.container { font: 20px/1 Ahem; width: 2em; height: 1em; background: red; }
|
||||
.box { height: 1em; color: white; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-133-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.container { font: 20px/1 Ahem; width: 2em; height: 1em; background: red; }
|
||||
.box { height: 1em; color: white; position: relative; }
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="match" href="floats-136-ref.xht" />
|
||||
|
||||
<meta name="flags" content="ahem" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.container { font: 30px/1 Ahem; color: green; margin: 0; padding: 0; border: 0;
|
||||
background: url(support/60x60-red.png) no-repeat;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/float/wrapping/001.html" type="text/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<meta name="flags" content="ahem animated"/>
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
.ahem { font: 1.25em/1 Ahem; background: yellow; color: navy; }
|
||||
div.ahem { border: solid 1em navy; width: 10em; height: 10em; }
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
||||
<link rel="match" href="floats-145-ref.xht" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<meta name="flags" content="ahem image" />
|
||||
<meta name="assert" content="An element that has clearance applied to it will not collapse its top margin with its parent's bottom margin." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<meta name="flags" content="ahem image" />
|
||||
<meta name="assert" content="If an in-flow block-level sibling (#div4) has clearance applied to it, then it will not adjoin its top margin with the bottom margin of its previous in-flow sibling (#div2)." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<meta name="flags" content="ahem image" />
|
||||
<meta name="assert" content="When an in-flow block-level element (#div3) is adjoining its in-flow block-level child's top margin and the child has no top border, no top padding or no clearance applied to it, then such top margins collapse." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<meta name="flags" content="ahem image" />
|
||||
<meta name="assert" content="When a last sibling has clearance, its own margins collapse and it collapsed its margins with a subsequent sibling, the last sibling does not collapse its bottom margin with its parent's bottom margin." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<meta content="ahem" name="flags" />
|
||||
<meta content="Although margins, borders and padding of inline non-replaced elements do not enter into the line box calculation, they are still rendered around inline boxes. This means that if the height specified by 'line-height' (40px in this testcase) is equal to the content height (40px in this testcase) of contained boxes, then background-color of padding-top area and border-top may 'bleed' into the adjoining preceding line box. Since line boxes are rendered in document order, this causes padding-top and border-top of 2nd line box (the span element in this testcase) to be painted over border-bottom and padding-bottom of inline boxes of previous line and, in this testcase, over the 1st line box." name="assert" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<meta content="ahem" name="flags" />
|
||||
<meta content="Although margins, borders and padding of inline non-replaced elements do not enter into the line box calculation, they are still rendered around inline boxes. This means that if the height specified by 'line-height' (40px in this testcase) is equal to the content height (40px in this testcase) of contained boxes, then background-color of padding-top area and border-top may 'bleed' into the adjoining preceding line box. Since line boxes are rendered in document order, this causes padding-top of 2nd line box (the span element in this testcase) to be painted over border-bottom and padding-bottom of inline boxes of previous line and, in this testcase, over the 1st line box." name="assert" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<meta content="ahem" name="flags" />
|
||||
<meta content="Although margins, borders and padding of inline non-replaced elements do not enter into the line box calculation, they are still rendered around inline boxes. This means that if the height specified by 'line-height' (40px in this testcase) is equal to the content height (40px in this testcase) of contained boxes, then background-color of padding-top area and border-top may 'bleed' into the adjoining preceding line box. Since line boxes are rendered in document order, this causes border-top of 2nd line box (the span element in this testcase) to be painted over border-bottom and padding-bottom of inline boxes of previous line and, in this testcase, over the 1st line box." name="assert" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Empty inline elements still influence calculation just like elements with content." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div, span
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Inline element width is determined by the containing block." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#div1
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Inline element width is determined by the containing block and any floated elements." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#div1
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="A line box is always tall enough to contain all the boxes in the line." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<meta content="ahem dom image interact" name="flags" />
|
||||
<meta content="A line box is always tall enough for all of the boxes it contains. A line box can be as tall as the tallest inline non-replaced box it contains." name="assert" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
body
|
||||
{
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<meta content="ahem image" name="flags" />
|
||||
<meta content="The line box height is given by the distance between the uppermost box top and the lowermost box bottom. The line box height is not necessarly given by the height of the tallest inline box contained in the line box." name="assert" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css"><![CDATA[
|
||||
div
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'vertical-align' property determines the vertical alignment of a box within a line box." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Line boxes are stacked with no vertical separation and they never overlap." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Line boxes span the entire width of a container unless constrained by floats." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting" />
|
||||
<meta name="flags" content="ahem may" />
|
||||
<meta name="assert" content="If 'text-align' is set to 'justify' the user agent may stretch spaces and/or words." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem image" />
|
||||
<meta name="assert" content="Margins, borders and padding have no visual effect when inline boxes are split." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="Line-height can be different from the content area so space is above and below." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets the initial height but that height is increased if the content height is larger." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
#div1
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
|
||||
<meta name="flags" content="ahem invalid should" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum minus one length value in pixels." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum length value in pixels." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum plus one length value in pixels." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a negative zero length value in pixels." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive zero length value in pixels." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a nominal length value in pixels." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive nominal length value in pixels." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
|
||||
<meta name="flags" content="ahem invalid should" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum minus one length value in points." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum length value in points." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<meta name="flags" content="96dpi ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum plus one length value in points." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a negative zero length value in points." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive zero length value in points." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a nominal length value in points." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive nominal length value in points." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
|
||||
<meta name="flags" content="ahem invalid should" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum minus one length value in picas." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum length value in picas." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum plus one length value in picas." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a negative zero length value in picas." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive zero length value in picas." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a nominal length value in picas." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive nominal length value in picas." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
|
||||
<meta name="flags" content="ahem invalid should" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum minus one length value in centimeters." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum length value in centimeters." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a minimum plus one length value in centimeters." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a negative zero length value in centimeters." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive zero length value in centimeters." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a nominal length value in centimeters." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<meta name="flags" content="ahem" />
|
||||
<meta name="assert" content="The 'line-height' property sets a positive nominal length value in centimeters." />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue