Skip to content

Commit

Permalink
Moved 1 list, 1 inline-table and 1 margin-collapse tests
Browse files Browse the repository at this point in the history
to their better and more appropriate folders, along
with their associated reference files and/or
support image.

--HG--
rename : css21/reference/list-style-021-ref.xht => css21/lists/list-style-021-ref.xht
rename : css21/list-style-021.xht => css21/lists/list-style-021.xht
rename : css21/support/cat.png => css21/lists/support/cat.png
rename : css21/margin-collapse-015a.xht => css21/margin-padding-clear/margin-collapse-015a.xht
rename : css21/reference/inline-table-valign-002-ref.xht => css21/visudet/inline-table-valign-002-ref.xht
rename : css21/inline-table-valign-002.xht => css21/visudet/inline-table-valign-002.xht
  • Loading branch information
Gérard Talbot committed Jun 4, 2014
1 parent b98f543 commit 5083140
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions css21/list-style-021.xht → css21/lists/list-style-021.xht
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" title="12.5.1 list-style shorthand" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order" title="6.4.1 Cascading order" />
<link rel="match" href="reference/list-style-021-ref.xht" />
<link rel="match" href="list-style-021-ref.xht" />

<meta content="image" name="flags" />
<meta content="A value of 'none' for the 'list-style' property sets both 'list-style-type' and 'list-style-image' to 'none'. If two declarations have the same weight, origin and specificity, then the latter specified wins." name="assert" />

<style type="text/css"><![CDATA[
body {margin-left: 100px;}
body {margin-left: 100px;}

ul {list-style: none;}

ul {list-style-image: url("support/cat.png");}
Expand Down
Binary file added css21/lists/support/cat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="reviewer" title="Arron Eicholz" href="arronei(at)gmail.com" /> <!-- 2013-07-30 -->
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins" />
<link rel="match" href="reference/margin-collapse-002-ref.xht" />
<link rel="match" href="margin-collapse-002-ref.xht" />

<meta name="flags" content="ahem image" />
<meta name="assert" content="An element with its display set to 'inline-block' does not collapse its margins with its children." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>CSS Test: vertical baseline alignment of an element with 'display' set to 'inline-table' with a 'border-bottom' and with a first row made of empty cells</title>

<!--
Inspired by
Inspired by
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/margin-applies-to-014.htm
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/border-bottom-width-applies-to-014.htm
and
Expand All @@ -16,12 +16,12 @@

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<!--
Credits must go to Anton Prowse for answering an accurate
Credits must go to Anton Prowse for answering an accurate
question with regards to this test.
-->
<link rel="bookmark" href="http://lists.w3.org/Archives/Public/www-style/2012Sep/0270.html" title="[CSS21] baseline of an inline-table question" />
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" title="10.8.1 Leading and half-leading" />
<link rel="match" href="reference/inline-table-valign-002-ref.xht" />
<link rel="match" href="inline-table-valign-002-ref.xht" />

<meta name="flags" content="ahem" />
<meta name="assert" content="The baseline of an 'inline-table' is the baseline of the first row of the table. If the content of cells in such first row are empty, then the baseline of such first row coincides with the bottom edge of the content box of cells." />
Expand All @@ -42,16 +42,16 @@
div#wrapper
{
border-bottom: blue solid 10px;
font: 3.125em/1 Ahem;
font: 3.125em/1 Ahem;
/*
equivalent to font-size: 50px with a line-box of 50px;
50px was chosen so that É, which sits on the
baseline, is 0.8 times 50px == 40px;
50px was chosen so that É, which sits on the
baseline, is 0.8 times 50px == 40px;
*/

/*
"
'É' U+00C9
'É' U+00C9
A rectangle exactly 0.8em high, 1em wide, and aligned so
that its bottom is flush with the baseline.
"
Expand Down

0 comments on commit 5083140

Please sign in to comment.