diff --git a/epub-exp/epubcsstest_voyager/item/xhtml/p-001-css-conditional-3.xhtml b/epub-exp/epubcsstest_voyager/item/xhtml/p-001-css-conditional-3.xhtml index a81fe7d..b3a13fc 100644 --- a/epub-exp/epubcsstest_voyager/item/xhtml/p-001-css-conditional-3.xhtml +++ b/epub-exp/epubcsstest_voyager/item/xhtml/p-001-css-conditional-3.xhtml @@ -13,6 +13,13 @@ color: black; } } + +@supports (unknownprop: 0) { + #at-supports .OK { + color: white; + } +} + diff --git a/epub-exp/epubcsstest_voyager/item/xhtml/p-002-selectors-3.xhtml b/epub-exp/epubcsstest_voyager/item/xhtml/p-002-selectors-3.xhtml index 27c3435..0354fc5 100644 --- a/epub-exp/epubcsstest_voyager/item/xhtml/p-002-selectors-3.xhtml +++ b/epub-exp/epubcsstest_voyager/item/xhtml/p-002-selectors-3.xhtml @@ -7,6 +7,9 @@ .OK { color: white; } +.NotOK { + color: white; +} #attr-substring [data-test^="AB"] .OK { color: black; @@ -62,12 +65,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; @@ -80,12 +89,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; @@ -105,34 +120,34 @@

部分文字列マッチング属性セレクタ [att^=val], [att$=val], [att*=val]

:root 擬似クラス

:nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type() 擬似クラス

:last-child, :only-child, :first-of-type, :last-of-type, :only-of-type 擬似クラス

@@ -140,30 +155,50 @@

:not 擬似クラス

::first-line, ::first-letter, ::before, ::after 擬似要素

+

::first-line

+ +

::first-letter

+ +

::before

+

::after

+

参考に、コロン1つの形式 :first-line, :first-letter, :before, :after 擬似要素

+

:first-line

+ +

:first-letter

+ +

:before

+ +

:after

後続兄弟結合子 E ~ F

@@ -171,7 +206,7 @@
  • - OK + OKではなくてNG
  • diff --git a/epub-exp/epubcsstest_voyager/item/xhtml/p-004-css-values-3.xhtml b/epub-exp/epubcsstest_voyager/item/xhtml/p-004-css-values-3.xhtml index 45bda31..49f8936 100644 --- a/epub-exp/epubcsstest_voyager/item/xhtml/p-004-css-values-3.xhtml +++ b/epub-exp/epubcsstest_voyager/item/xhtml/p-004-css-values-3.xhtml @@ -23,9 +23,6 @@ #length-units .vw .OK { width: 10vw; } -#length-units .vw .OK { - width: 10vw; -} #length-units .vh .OK { width: 10vh; } diff --git a/epub-exp/epubcsstest_voyager/item/xhtml/p-016-compositing-1.xhtml b/epub-exp/epubcsstest_voyager/item/xhtml/p-016-compositing-1.xhtml index c874b14..e46f800 100644 --- a/epub-exp/epubcsstest_voyager/item/xhtml/p-016-compositing-1.xhtml +++ b/epub-exp/epubcsstest_voyager/item/xhtml/p-016-compositing-1.xhtml @@ -58,7 +58,7 @@
    diff --git a/epub-exp/epubcsstest_voyager/item/xhtml/p-019-css-text-3.xhtml b/epub-exp/epubcsstest_voyager/item/xhtml/p-019-css-text-3.xhtml index e658128..26e9127 100644 --- a/epub-exp/epubcsstest_voyager/item/xhtml/p-019-css-text-3.xhtml +++ b/epub-exp/epubcsstest_voyager/item/xhtml/p-019-css-text-3.xhtml @@ -7,7 +7,7 @@ .test { margin: 1em; border: 1px dashed; - width: 10em; + width: 10.1em; } #word-break .keep-all .test { word-break: keep-all; diff --git a/epub-exp/epubcsstest_voyager/item/xhtml/p-024-css-conditional-4.xhtml b/epub-exp/epubcsstest_voyager/item/xhtml/p-024-css-conditional-4.xhtml index 59f3972..4f55bdd 100644 --- a/epub-exp/epubcsstest_voyager/item/xhtml/p-024-css-conditional-4.xhtml +++ b/epub-exp/epubcsstest_voyager/item/xhtml/p-024-css-conditional-4.xhtml @@ -13,6 +13,12 @@ color: black; } } + +@supports selector(:::unknownselector) { + #at-supports-selector .OK { + color: white; + } +} diff --git a/epub-exp/epubcsstest_voyager/item/xhtml/p-025-css-cascade-5.xhtml b/epub-exp/epubcsstest_voyager/item/xhtml/p-025-css-cascade-5.xhtml index 9ba0ce2..a27e8e8 100644 --- a/epub-exp/epubcsstest_voyager/item/xhtml/p-025-css-cascade-5.xhtml +++ b/epub-exp/epubcsstest_voyager/item/xhtml/p-025-css-cascade-5.xhtml @@ -12,6 +12,11 @@ color: black !important; } } +@layer :invalidlayer { + #at-layer .OK { + color: white !important; + } +} diff --git a/epub/epubcsstest_voyager.epub b/epub/epubcsstest_voyager.epub index 9306752..ca1a866 100644 Binary files a/epub/epubcsstest_voyager.epub and b/epub/epubcsstest_voyager.epub differ