Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326

This commit is contained in:
Josh Matthews 2017-10-12 09:25:50 -04:00
parent 462c272380
commit 1f531f66ea
5377 changed files with 174916 additions and 84369 deletions

View file

@ -5,6 +5,8 @@
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/001.html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#at-import"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#at-import"/>
<link rel="help" href="http://www.ietf.org/rfc/rfc2397.txt"/>
<style type="text/css">
@import url(data:text/css,@import%20url\(data:text/css,.test%2520%257B%2520background:%2520maroon;%2520color:%2520white;%2520%257D\);%0D%0A.test.test%20%7B%20background:%20green;%20color:%20white;%20%7D);

View file

@ -8,7 +8,11 @@
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.6"/>
<!-- There seems to be no spec defining http-equiv="Link" behavior -->
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#at-import"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#at-import"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<meta name="flags" content="http" />
<meta http-equiv="Link" content='&lt;support/cascade-import-002h.css>; rel="stylesheet"'/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/003.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="stylesheet" href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=2&amp;mime=text%2Fcss&amp;text=.a+%7B+color%3A+green%3B+%7D%0D%0A.b+%7B+color%3A+red%3B+%7D%0D%0A.c+%7B+color%3A+red%3B+%7D"/>
<link rel="stylesheet" href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=5&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+green%3B+%7D%0D%0A.c+%7B+color%3A+red%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/004.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="stylesheet" href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=8&amp;mime=text%2Fcss&amp;text=.a+%7B+color%3A+green%3B+%7D%0D%0A.b+%7B+color%3A+red%3B+%7D%0D%0A.c+%7B+color%3A+red%3B+%7D"/>
<link rel="stylesheet" href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=5&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+green%3B+%7D%0D%0A.c+%7B+color%3A+red%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/005.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="1"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=2&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+display%3A+block%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/006.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="1"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=8&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+display%3A+block%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/007.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="1"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=2&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+display%3A+block%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/008.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="1"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=8&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+display%3A+block%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/009.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="Test"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=2&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/010.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="Test"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=8&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/011.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="Test"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=2&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+%7D"/>

View file

@ -6,6 +6,8 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/012.html"/>
<link rel="help" href="http://www.w3.org/TR/html4/present/styles.html#h-14.3"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading"/>
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading"/>
<link rel="alternate stylesheet" title="Test"
href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=8&amp;mime=text%2Fcss&amp;text=.b+%7B+color%3A+red%3B+%7D"/>

View file

@ -4,6 +4,8 @@
<title>CSS Test: @import not as the first declaration</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="" />
<meta name="assert" content="An @import is ignored if it is not the first statement in a style block." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Importing external stylesheets with @import</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="An @import used to import external stylesheets." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Importing styles using @import with a string</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="An @import used with just a string is interpreted as if it had url(...) around it." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Media dependency on @import set to 'print'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<link rel="match" href="../reference/no-red-filler-text-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Specifying a media-dependency of print does not apply rules to the user agent display." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Media dependency on @import set to 'all'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Specifying the media-dependency of 'all' applies to all media types including user agent display." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Media dependency on @import set to 'screen'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Specifying the media-dependent import rules to 'screen' applies to user agent display." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: @import with @charset</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="An @import is valid after @charset." />

View file

@ -8,6 +8,8 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#at-import" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#at-import" />
<meta content="paged" name="flags" />
<meta content="Media-dependent @import rules" name="assert" />

View file

@ -4,6 +4,8 @@
<title>CSS Test: User style sheets</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="Normal user declarations override the default user agent style sheet." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Author stylesheets override user stylesheets</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="Normal author declarations override normal user stylesheet declarations." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Author rules with !important and a user stylesheet</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="Author rules using !important override user stylesheet rules." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: User stylesheet rules using !important and normal author rules</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="User stylesheet rules using !important override normal author rules." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Redefining rules</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The latter specified rule wins when having the same specificity and weight." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: User style sheets and redefining rules</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The latter specified rule in a style sheet wins when having the same specificity and weight in user styles sheets." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Author rules local and external</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Author rules in embedded stylesheets override author rules in imported stylesheets." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Shorthand properties with !important</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#importance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#importance" />
<meta name="flags" content="" />
<meta name="assert" content="Shorthand properties with !important apply to all direct sub-properties." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Author rules with !important and other normal author rules</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#importance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#importance" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Author rules with !important override normal author rules." />

View file

@ -9,6 +9,8 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" title="6.4.2 !important rules" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#importance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#importance" />
<link rel="match" href="cascade-009a-ref.xht" />
<meta content="" name="flags" />

View file

@ -9,6 +9,8 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" title="6.4.2 !important rules" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#importance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#importance" />
<link rel="match" href="cascade-009b-ref.xht" />
<meta content="" name="flags" />

View file

@ -4,6 +4,8 @@
<title>CSS Test: User stylesheet rules with !important and !important author rules</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#importance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#importance" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="User stylesheet rules with !important override !important author rules." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: User stylesheet rules with !important and normal user rules</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#importance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#importance" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="User stylesheet rules with !important declarations override user stylesheet rules with normal declarations." />
<style type="text/css"></style>

View file

@ -6,6 +6,8 @@
<link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" />
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/weight/002.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#at-import" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#at-import" />
<link rel="match" href="cascade-012-ref.xht" />
<style type="text/css"><![CDATA[

View file

@ -9,7 +9,11 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specified-value" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#specified" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#specified" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#inheritance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#inheriting" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#inheriting" />
<meta content="" name="flags" />
<meta content="When determining the specified value of a property, the cascade mechanism of (user agent, author, user) style sheets has precedence. If no value results from such mechanism, then the property may inherit from its parent. In this testcase, it is presumed that b elements are specified in the user agents style sheets to embold their text content." name="assert" />

View file

@ -9,7 +9,11 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specified-value" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#specified" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#specified" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#inheritance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#inheriting" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#inheriting" />
<meta content="" name="flags" />
<meta content="When determining the specified value of a property, the cascade mechanism of (user agent, author, user) style sheets has precedence. If no value results from such mechanism, then the property may inherit from its parent. In this testcase, it is presumed that i elements are specified in the user agents style sheets to italicize their text content." name="assert" />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Overriding the user agent default style sheet</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<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." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'align' vs. CSS 'caption-side' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'align' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'alink' vs. CSS active specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="interact" />
<meta name="assert" content="Attribute 'alink' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'background' vs. CSS 'background' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="image" />
<meta name="assert" content="Attribute 'background' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'bgcolor' vs. CSS 'background-color' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'bgcolor' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'border' vs. CSS border specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'border' has 0 specificity and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'cellpadding' vs. CSS 'padding' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'cellpadding' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'cellspacing' vs. CSS border-spacing specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'cellspacing' has 0 specificity and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'clear' vs. CSS 'clear' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'clear' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'color' vs. CSS 'color' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'color' has a specificity of zero and is overridden by CSS." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'cols' vs CSS 'width' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'cols' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'width' vs. CSS 'width' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'width' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'face' vs. CSS 'font-family' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Attribute 'face' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'valign' vs. CSS 'vertical-align' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'valign' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'frame' vs. CSS 'border' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'frame' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'rules' vs. CSS border specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'rules' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'height' vs. CSS 'height' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'height' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'hspace' vs. CSS 'margin' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="image" />
<meta name="assert" content="Attribute 'hspace' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'vspace' vs. CSS 'margin' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="image" />
<meta name="assert" content="Attribute 'vspace' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'link' vs. CSS ':link' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'link' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'marginheight' vs. CSS 'margin' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'marginheight' has a specificity of zero and is overridden by CSS." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'marginwidth' vs. CSS 'margin' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'marginwidth' has a specificity of zero and is overridden by CSS." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: HTML 'noshade' attribute vs CSS color specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'noshade' has 0 specificity and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'nowrap' vs. CSS 'white-space' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'nowrap' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'rows' vs CSS 'height' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'rows' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'size' vs CSS 'height' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'size' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'text' vs. CSS 'color' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Attribute 'text' has a specificity of zero and is overridden by CSS." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute 'vlink' vs. CSS ':visited' specificity</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<meta name="flags" content="history interact" />
<meta name="assert" content="Attribute 'vlink' has a specificity of zero and is overridden by CSS." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Element selector precedence</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The 'color' attribute has a specificity equal to 0 which be overridden by subsequent style sheet rules." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Universal selector precedence</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="" />
<meta name="assert" content="The universal selector and the 'color' attribute have the same specificity. The universal selector is applied since CSS takes precedence." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: User style sheet precedence</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The 'font' element's 'color' attribute trumps the user stylesheet's universal selector. They have the same specificity but the font element is a virtual author rule." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Inherit keyword</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#inherit" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#inherit" />
<meta name="flags" content="" />
<meta name="assert" content="Children elements inherit the parents color given the 'inherit' keyword." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Inherit on non-inherited properties</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#inherit" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#inherit" />
<meta name="flags" content="" />
<meta name="assert" content="Inherit can be used on properties which are not normally inherited." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Inherit on the root element</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#inherit" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#inherit" />
<meta name="flags" content="" />
<meta name="assert" content="If the 'inherit' value is set on the root element, the property is assigned its initial value." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Inheritance</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#inheritance" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#inheriting" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#inheriting" />
<meta name="flags" content="" />
<meta name="assert" content="Children elements can inherit properties from parents." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Inheriting computed values</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<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)." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Non-inherited values</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specified-value" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#specified" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#specified" />
<meta name="flags" content="" />
<meta name="assert" content="If the cascade results in a value, use it." />
<style type="text/css">

View file

@ -8,6 +8,8 @@
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" title="6.4.1 Cascading order" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/#cascading" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/#cascading" />
<link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
<meta content="" name="flags" />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - Specificity 0010 vs. 0001</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The attribute selector has an higher specificity over the element selector - specificity 0010 takes precedence over 0001." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - Inline Style</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="Specificity of the inline style trumps all other selectors." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - Specificity 0100 vs. 0011</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The ID attribute in a selector has the higher specificity than the combined pseudo-class and element selectors - specificity 0100 takes precedence over 0011." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - Specificity 0011 vs. 0010</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The combined pseudo-class and element selectors have a higher specificity than the attribute selector - specificity 0011 takes precedence over 0010." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - Specificity 0002 vs. 0001</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="An element selector with a pseudo-element selector wins over a pseudo-element selector - specificity 0002 takes precedence over 0001." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - Pseudo-element vs. simple element</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The combination of a pseudo-element selector with an element selector takes takes precedence over simple and single element selector - specificity 0002 takes precedence over 0001." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - Specificity 0001 vs. 0000</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The element selector has a higher specificity over the universal selector - specificity 0001 takes precedence over 0000." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - specificity 0012 vs. 0002</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="../reference/filler-text-below-green.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="The combined specificity of an element selector, with a pseudo-class selector and a pseudo-element selector achieves an higher specificity than the combined specificity of an element selector with a pseudo-element selector." />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Calculating specificity - specificity 0003 vs. 0002</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<meta name="flags" content="" />
<meta name="assert" content="First-line selector with highest specificity wins - specificity 0003 take precedence over 0002." />
<style type="text/css">

View file

@ -5,6 +5,8 @@
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/specificity/001.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="specificity-011-ref.xht" />
<style type="text/css">

View file

@ -5,6 +5,8 @@
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/specificity/002.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<meta name="flags" content="history interact" />

View file

@ -5,6 +5,8 @@
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/specificity/003.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" />
<link rel="help" href="http://www.w3.org/TR/css3-selectors/#specificity" />
<link rel="help" href="http://www.w3.org/TR/selectors4/#specificity" />
<link rel="match" href="specificity-013-ref.xht" />
<style type="text/css"><![CDATA[

View file

@ -4,6 +4,8 @@
<title>CSS Test: User defined stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="User stylesheet can be applied to the page." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: User defined stylesheet can be applied and persisted</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="interact userstyle" />
<meta name="assert" content="The user stylesheet is still applied after close and reopen the user agent window." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Rules with normal declarations in an user defined stylesheet can be overriden by rules with normal declarations from author in a style block</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="A CSS rule (with normal - not !important - declarations) in an author style sheet have more weight than a CSS rule (with normal - not !important -declarations) in an user style sheet." />
<style type="text/css">

View file

@ -4,6 +4,8 @@
<title>CSS Test: Rules with normal declarations in an user defined stylesheet can be overriden by normal declarations from author in an inline style attribute</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="A normal - not !important - declaration in an inline style from author have more weight than a CSS rule (with normal - not !important -) declarations in an user style sheet." />
<meta http-equiv="Content-Style-Type" content="text/css" />

View file

@ -4,6 +4,8 @@
<title>CSS Test: Descendant selector defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The descendant selector defined in user stylesheet is applied to the appropriate element." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Child selector defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The child selector defined in user stylesheet is applied to the appropriate element." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Adjacent sibling selector defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The adjacent sibling selector defined in user stylesheet is applied to the appropriate element." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Attribute selector defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The attribute selector defined in user stylesheet is applied to the appropriate element." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: ID selector defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The ID selector defined in user stylesheet is applied to the appropriate element." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Pseudo-class selector :first-child defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The pseudo-class selector :first-child defined in user stylesheet is applied to the first child of an element." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Pseudo-element first-line selector defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="userstyle" />
<meta name="assert" content="The pseudo-element selector :first-line defined in user stylesheet is applied to the first line of an element." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Link defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="history userstyle" />
<meta name="assert" content="The pseudo-class selector :link defined in user stylesheet is applied to all links." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Visited selector defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="interact userstyle" />
<meta name="assert" content="The pseudo-class selector :visited defined in user stylesheet is applied when a link has already been visited." />
<style type="text/css"></style>

View file

@ -4,6 +4,8 @@
<title>CSS Test: Hover defined in user stylesheet can be applied</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-3/" />
<link rel="help" href="http://www.w3.org/TR/css-cascade-4/" />
<meta name="flags" content="interact userstyle" />
<meta name="assert" content="The pseudo-class selector :hover defined in user stylesheet is applied when the mouse is above an element." />
<style type="text/css"></style>

Some files were not shown because too many files have changed in this diff Show more