


テスト/リファレンスどちらも同じ表示

.redSquare{
width: 200px;
height: 200px;
background: red;
filter: opacity(0);
} .greenSquare{
width:200px;
height: 200px;
background: green;
}<body>
・・・
<div class="greenSquare"></div>
<div class="redSquare"></div>
</body> <body>
・・・
<div class="greenSquare"></div>
</body><body><p>Test filter opacity CSS shorthand. You should see a green box.</p>・・・</body>
テストファイル
<!DOCTYPE html> <html> <head> <title>CSS Filter Test: Test opacity shorthand with value 0</title>・・・
リファレンスファイル
<!DOCTYPE html> <html> <head> <title>CSS Filter Opacity Reference with value 0</title>・・・
テストファイル/リファレンスファイル
<!DOCTYPE html> <html> <head>・・・<link rel="author" title="Your Name" href="mailto:youraddress@mail.com">・・・
このテストを書いた人が誰かわかるように
名前とメールアドレスを書く
テストファイルのみ
<!DOCTYPE html> <html> <head>・・・<link rel="help" href="http://www.w3.org/TR/filter-effects/#FilterProperty"> <link rel="help" href="http://www.w3.org/TR/filter-effects/#opacityltnumbergt-ltpercentagegt">・・・
テストされる機能の仕様へのリンクを貼る。
分類があるならその項目の仕様のリンクも貼る。
※古い仕様へのリンクを貼らないように注意
テストファイルのみ
<!DOCTYPE html> <html> <head>・・・<link rel="match" href="reference/filters-opacity-002-ref.html">・・・
相対パスでリファレンスファイルへのパスを書く
テストファイル/リファレンスファイル
<!DOCTYPE html> <html> <head> ・・・<meta name="assert" content="CSS opacity filter will apply a transparency to the div element. Since opacity is 0, it has affect on the div to be transparent.">・・・
何をテストしているかを詳細に書く
.redSquare{
width: 200px;
height: 200px;
background: red;
-webkit-filter: opacity(0);
}-prefix-free
http://leaverou.github.io/prefixfree/
prefixfree.jsapi.js
https://github.com/LeaVerou/prefixfree/tree/gh-pages/plugins
・・・<!-- W3Cに提出する前に消す --><script src="prefixfree.js"></script><script src="plugins/prefixfree.jsapi.js"></script>・・・
CSS Test Repository/
contributors/
ttwf_tokyo/
github_username/
submitted/
/reference
testfile.htmlリファレンスファイルはファイル名に-ref.htmlをつける