Skip to content

Commit

Permalink
Moved 2 syntax and 3 selectors tests into their better,
Browse files Browse the repository at this point in the history
more appropriate folders, along with their associated
reference files.

--HG--
rename : css21/reference/first-letter-selector-028-ref.xht => css21/selectors/first-letter-selector-028-ref.xht
rename : css21/first-letter-selector-028.xht => css21/selectors/first-letter-selector-028.xht
rename : css21/first-letter-selector-029.xht => css21/selectors/first-letter-selector-029.xht
rename : css21/first-line-selector-017.xht => css21/selectors/first-line-selector-017.xht
rename : css21/escapes-015.xht => css21/syntax/escapes-015.xht
rename : css21/escapes-016.xht => css21/syntax/escapes-016.xht
  • Loading branch information
Gérard Talbot committed Jun 4, 2014
1 parent 8ac2378 commit f809954
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" title="5.12.2 The :first-letter pseudo-element" />
<link rel="match" href="reference/first-letter-selector-028-ref.xht" />
<link rel="match" href="first-letter-selector-028-ref.xht" />

<meta name="flags" content="" />
<meta name="assert" content="The :first-letter pseudo-element can be used and will apply onto in-flow block descendant that contains text." />

<style type="text/css"><![CDATA[
div {color: white;}
div {color: white;}

div#test:first-letter, span#reference
{
Expand All @@ -34,7 +34,7 @@
<body>

<p>Test passes if there are 2 identical big blue "A" letters.</p>

<div id="test">
<div>Adivtest</div>
</div>
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions css21/escapes-015.xht → css21/syntax/escapes-015.xht
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets" title="4.1.7 Rule sets, declaration blocks, and selectors" />
<link rel="match" href="reference/ref-if-there-is-no-red.xht" />
<link rel="match" href="../reference/ref-if-there-is-no-red.xht" />

<meta content="invalid" name="flags" />
<meta content="red is a reserved (color name) keyword while red\9 is not a reserved keyword. red\9 is made of red with an escaped horizontal tab. That is why the parsing of the declaration should fail. Same thing with the other 23 tests (see test escapes-016)." name="assert" />

<!--
This test is a much more elaborated version of the test
This test is a much more elaborated version of the test
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/escapes-002.htm
and
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/escapes-014.htm
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/escapes-014.htm
-->

<style type="text/css"><![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion css21/escapes-016.xht → css21/syntax/escapes-016.xht
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets" title="4.1.7 Rule sets, declaration blocks, and selectors" />
<link rel="match" href="reference/ref-if-there-is-no-red.xht" />
<link rel="match" href="../reference/ref-if-there-is-no-red.xht" />

<meta content="invalid" name="flags" />
<meta content="red is a reserved (color name) keyword while red\9 is not a reserved keyword. red\9 is made of red with an escaped horizontal tab. That is why the parsing of the declaration should fail. Same thing with the other 23 tests (see test escapes-015)." name="assert" />
Expand Down

0 comments on commit f809954

Please sign in to comment.