Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
[css-writing-modes-3] Corrected 5 imprecise
Browse files Browse the repository at this point in the history
overconstrained-rel-pos-*-ref.xht
reference files.
  • Loading branch information
Gérard Talbot committed Mar 22, 2017
1 parent 75f2d22 commit 4283e66
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,41 @@
<meta content="image" name="flags" />

<meta name="DC.date.created" content="2017-02-25T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-02-28T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-03-22T09:54:03+11:00" scheme="W3CDTF" />

<style type="text/css"><![CDATA[
p
{
margin: 8px;
left: 16px;
position: absolute;
top: -8px;
}

div
img
{
margin-left: 270px; /* 278px minus 8px */
margin-top: 40px; /* 8px + 40px + 8px + 40px == 88px */
vertical-align: top;
}

img + img
{
left: 16px;
position: relative;
top: 80px;
}

]]></style>

</head>

<body>

<p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="36" alt="Image download support must be enabled" /></p>
<p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="36" alt="Image download support must be enabled" /><img src="support/swatch-green.png" width="80" height="80" alt="Image download support must be enabled" /></p>

<!--
The image says:
Test passes if there is a filled
green square and <strong>no red</strong>.
-->

<div><img src="support/swatch-green.png" width="80" height="80" alt="Image download support must be enabled" /></div>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta content="image" name="flags" />

<meta name="DC.date.created" content="2017-02-25T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-02-28T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-03-22T09:54:03+11:00" scheme="W3CDTF" />

<style type="text/css"><![CDATA[
html
Expand All @@ -21,29 +21,35 @@

p
{
margin: 8px;
position: absolute;
right: 16px;
top: -8px;
}

div
img
{
margin-right: 270px; /* 278px minus 8px */
margin-top: 40px; /* 8px + 40px + 8px + 40px == 88px */
vertical-align: top;
}

img + img
{
position: relative;
right: 16px;
top: 80px;
}
]]></style>

</head>

<body>

<p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="36" alt="Image download support must be enabled" /></p>
<p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="36" alt="Image download support must be enabled" /><img src="support/swatch-green.png" width="80" height="80" alt="Image download support must be enabled" /></p>

<!--
The image says:
Test passes if there is a filled
green square and <strong>no red</strong>.
-->

<div><img src="support/swatch-green.png" width="80" height="80" alt="Image download support must be enabled" /></div>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,21 @@
<meta content="image" name="flags" />

<meta name="DC.date.created" content="2017-02-25T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-02-28T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-03-22T09:54:03+11:00" scheme="W3CDTF" />

<style type="text/css"><![CDATA[
p
{
bottom: 0px;
margin: 4px 8px;
/*
margin bottom is 4px which is the baseline (descender space) of the image;
this 4px value is not perfectly reliable. More reliable is to set
vertical-align: (top | bottom) for all images of tests and associated
reference files
*/
bottom: -8px;
left: 16px;
position: absolute;
}

img
{
vertical-align: bottom;
}

img + img
{
left: 96px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta content="image" name="flags" />

<meta name="DC.date.created" content="2017-02-25T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-02-28T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-03-22T09:54:03+11:00" scheme="W3CDTF" />

<style type="text/css"><![CDATA[
html
Expand All @@ -21,15 +21,14 @@

p
{
bottom: 0px;
margin: 4px 8px;
/*
margin bottom is 4px which is the baseline (descender space) of the image;
this 4px value is not perfectly reliable. More reliable is to set
vertical-align: (top | bottom) for all images of tests and associated
reference files
*/
bottom: -8px;
position: absolute;
right: 16px;
}

img
{
vertical-align: bottom;
}

img + img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,21 @@
<meta content="image" name="flags" />

<meta name="DC.date.created" content="2017-02-25T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-02-28T09:54:03+11:00" scheme="W3CDTF" />
<meta name="DC.date.modified" content="2017-03-22T09:54:03+11:00" scheme="W3CDTF" />

<style type="text/css"><![CDATA[
p
{
bottom: 0px;
margin: 4px 8px;
/*
margin bottom is 4px which is the baseline (descender space) of the image;
this 4px value is not perfectly reliable. More reliable is to set
vertical-align: (top | bottom) for all images of tests and associated
reference files
*/
bottom: -8px;
left: 16px;
position: absolute;
}

img
{
vertical-align: bottom;
}

img + img
{
bottom: 80px;
Expand Down

0 comments on commit 4283e66

Please sign in to comment.