Skip to content

Commit

Permalink
epubcsstest_voyager を更新。Kinoppyでの誤判定が起きないようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakamiShinyu committed Dec 7, 2023
1 parent d45e73a commit 4874601
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
color: black;
}
}

@supports (unknownprop: 0) {
#at-supports .OK {
color: white;
}
}

</style>
</head>
<body>
Expand Down
48 changes: 40 additions & 8 deletions epub-exp/epubcsstest_voyager/item/xhtml/p-002-selectors-3.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,18 @@
#pseudo-elements .fln .OK::first-line {
color: black;
}
#pseudo-elements .fln .OK::unknownpseudo {
color: white;
}
#pseudo-elements .flt .OK span {
display: block;
}
#pseudo-elements .flt .OK span::first-letter {
color: black;
}
#pseudo-elements .flt .OK span::unknownpseudo {
color: white;
}
#pseudo-elements .bf .OK::before {
content: "OK";
color: black;
Expand All @@ -80,12 +86,18 @@
#pseudo-elements .fln1 .OK:first-line {
color: black;
}
#pseudo-elements .fln1 .OK:unknownpseudo {
color: white;
}
#pseudo-elements .flt1 .OK span {
display: block;
}
#pseudo-elements .flt1 .OK span:first-letter {
color: black;
}
#pseudo-elements .flt1 .OK span.OK::unknownpseudo {
color: white;
}
#pseudo-elements .bf1 .OK:before {
content: "OK";
color: black;
Expand Down Expand Up @@ -152,18 +164,38 @@
</section>
<section id="pseudo-elements">
<h2 id="toc-D22B496F3A22476F9C3FD5FE5C2A4350">::first-line, ::first-letter, ::before, ::after 擬似要素</h2>
<h3>::first-line</h3>
<ul>
<li class="fln"><div class="OK">OK<br/>ではなくてNG</div></li>
</ul>
<h3>::first-letter</h3>
<ul>
<li class="fln"><div class="OK">OK</div></li>
<li class="flt"><div class="OK"><span>O</span><span>K</span></div></li>
<li class="bf"><div class="OK"></div></li>
<li class="af"><div class="OK"></div></li>
<li class="flt"><div class="OK"><span>O</span><span>KではなくてNG</span></div></li>
</ul>
<h3>::before</h3>
<ul>
<li class="bf"><div class="OK"></div></li>
</ul>
<h3>::after</h3>
<ul>
<li class="af"><div class="OK"></div></li>
</ul>
<h3>参考に、コロン1つの形式 :first-line, :first-letter, :before, :after 擬似要素</h3>
<h4>:first-line</h4>
<ul>
<li class="fln1"><div class="OK">OK<br/>ではなくてNG</div></li>
</ul>
<h4>:first-letter</h4>
<ul>
<li class="flt1"><div class="OK"><span>O</span><span>KではなくてNG</span></div></li>
</ul>
<h4>:before</h4>
<ul>
<li class="bf1"><div class="OK"></div></li>
</ul>
<h4>:after</h4>
<ul>
<li class="fln1"><div class="OK">OK</div></li>
<li class="flt1"><div class="OK"><span>O</span><span>K</span></div></li>
<li class="bf1"><div class="OK"></div></li>
<li class="af1"><div class="OK"></div></li>
<li class="af1"><div class="OK"></div></li>
</ul>
<section id="subsequent">
<h2 id="toc-65224E930BF142B3ADFF67A2AB72073B">後続兄弟結合子 <code>E ~ F</code></h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
#length-units .vw .OK {
width: 10vw;
}
#length-units .vw .OK {
width: 10vw;
}
#length-units .vh .OK {
width: 10vh;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>
</div>
<ul>
<li>・上の2つの顔の画像が同じならOK</li>
<li>・上の2つの顔の画像が同じならOK(ただし、mix-blend-mode プロパティがNGの場合は無効)</li>
</ul>
</section>
<section id="background-blend-mode">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
color: black;
}
}

@supports selector(:::unknownselector) {
#at-supports-selector .OK {
color: white;
}
}
</style>
</head>
<body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
color: black !important;
}
}
@layer :invalidlayer {
#at-layer .OK {
color: white !important;
}
}
</style>
</head>
<body>
Expand Down
Binary file modified epub/epubcsstest_voyager.epub
Binary file not shown.

0 comments on commit 4874601

Please sign in to comment.