зеркало из https://github.com/mozilla/gecko-dev.git
Bug 782610 - Fix format of @supports tests. r=dbaron
This commit is contained in:
Родитель
cd0de10329
Коммит
8f5071097b
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: green) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="Property declarations in an @supports rule condition must be surrounded by parentheses."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports color: green {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports ((color: green)) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Property declarations in an @supports rule can have !important specified."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: green !important) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A supported property with an unsupported value must cause the @supports condition to fail."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (color: rainbow) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: rainbow) or (color: green) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: green) or (color: rainbow) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: green) and (color: blue) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (color: rainbow) and (color: blue) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (color: blue) and (color: rainbow) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: rainbow) or (color: iridescent) or (color: green) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: red) and (color: green) and (color: blue) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (color: green) and (color: green) or (color: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (color: green) or (color: green) and (color: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="There need not be any white space between the '@supports' and open brace of the rule set, not between a declaration's property name and value."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports(color:green){
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports not (color: rainbow) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports not not (color: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports not (not (color: green)) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports not (color: rainbow) and not (color: iridescent) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="An @supports condition that is a declaration with a supported property name with an unsupported value must fail."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (unknown: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (unknown: green) or (color: green) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="An @supports conditions must fail to parse if a declaration has an empy property value."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (unknown:) or (color: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="A property declaration in an @supports declaration must not omit the colon between the property name and value."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (unknown) or (color: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A supported shorthand property declaration must be considered to pass."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (font: 16px serif) {
|
||||
html { background-color: green }
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: green) {
|
||||
@supports (color: blue) {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<head>
|
||||
<title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: green) {
|
||||
@media all {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<head>
|
||||
<title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-document" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="An outer @document rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @document conditions pass."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@-moz-document url-prefix("") {
|
||||
@supports (color: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="An inner @document rule with an outer @supports rule must apply the rules inside the @document only if both the @supports and @document conditions pass."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
@supports (color: green) {
|
||||
@-moz-document url-prefix("") {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses." />
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports not (color: rainbow) or (color: green) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses." />
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (not (color: rainbow) or (color: green)) {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
|
||||
<link rel="help" href="http://www.w3.org/TR/#at-supports" />
|
||||
<meta name="flags" content="" />
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="An @supports conditions must fail to parse if a declaration has an empy property value."/>
|
||||
<link rel="match" href="pass.html" />
|
||||
<link rel="match" href="support/pass.xht" />
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
@supports (color:) or (color: green) {
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
html { background-color: green }
|
||||
</style>
|
|
@ -1,31 +1,31 @@
|
|||
== css-supports-001.xht pass.html
|
||||
== css-supports-002.xht pass.html
|
||||
== css-supports-003.xht pass.html
|
||||
== css-supports-004.xht pass.html
|
||||
== css-supports-005.xht pass.html
|
||||
== css-supports-006.xht pass.html
|
||||
== css-supports-007.xht pass.html
|
||||
== css-supports-008.xht pass.html
|
||||
== css-supports-009.xht pass.html
|
||||
== css-supports-010.xht pass.html
|
||||
== css-supports-011.xht pass.html
|
||||
== css-supports-012.xht pass.html
|
||||
== css-supports-013.xht pass.html
|
||||
== css-supports-014.xht pass.html
|
||||
== css-supports-015.xht pass.html
|
||||
== css-supports-016.xht pass.html
|
||||
== css-supports-017.xht pass.html
|
||||
== css-supports-018.xht pass.html
|
||||
== css-supports-019.xht pass.html
|
||||
== css-supports-020.xht pass.html
|
||||
== css-supports-021.xht pass.html
|
||||
== css-supports-022.xht pass.html
|
||||
== css-supports-023.xht pass.html
|
||||
== css-supports-024.xht pass.html
|
||||
== css-supports-025.xht pass.html
|
||||
== css-supports-026.xht pass.html
|
||||
== css-supports-027.xht pass.html
|
||||
== css-supports-028.xht pass.html
|
||||
== css-supports-029.xht pass.html
|
||||
== css-supports-030.xht pass.html
|
||||
== css-supports-031.xht pass.html
|
||||
== css-supports-001.xht support/pass.xht
|
||||
== css-supports-002.xht support/pass.xht
|
||||
== css-supports-003.xht support/pass.xht
|
||||
== css-supports-004.xht support/pass.xht
|
||||
== css-supports-005.xht support/pass.xht
|
||||
== css-supports-006.xht support/pass.xht
|
||||
== css-supports-007.xht support/pass.xht
|
||||
== css-supports-008.xht support/pass.xht
|
||||
== css-supports-009.xht support/pass.xht
|
||||
== css-supports-010.xht support/pass.xht
|
||||
== css-supports-011.xht support/pass.xht
|
||||
== css-supports-012.xht support/pass.xht
|
||||
== css-supports-013.xht support/pass.xht
|
||||
== css-supports-014.xht support/pass.xht
|
||||
== css-supports-015.xht support/pass.xht
|
||||
== css-supports-016.xht support/pass.xht
|
||||
== css-supports-017.xht support/pass.xht
|
||||
== css-supports-018.xht support/pass.xht
|
||||
== css-supports-019.xht support/pass.xht
|
||||
== css-supports-020.xht support/pass.xht
|
||||
== css-supports-021.xht support/pass.xht
|
||||
== css-supports-022.xht support/pass.xht
|
||||
== css-supports-023.xht support/pass.xht
|
||||
== css-supports-024.xht support/pass.xht
|
||||
== css-supports-025.xht support/pass.xht
|
||||
== css-supports-026.xht support/pass.xht
|
||||
== css-supports-027.xht support/pass.xht
|
||||
== css-supports-028.xht support/pass.xht
|
||||
== css-supports-029.xht support/pass.xht
|
||||
== css-supports-030.xht support/pass.xht
|
||||
== css-supports-031.xht support/pass.xht
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/>
|
||||
<style type="text/css"><![CDATA[
|
||||
html { background-color: green }
|
||||
]]></style>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче