mirror of
https://github.com/servo/servo.git
synced 2025-09-15 09:28:20 +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
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue