Move Selectors Level 4 features correctly

This commit is contained in:
Kyo Nagashima
2013-12-10 06:51:34 +09:00
parent 32bb059f9d
commit 63515c7301
5 changed files with 85 additions and 72 deletions

View File

@@ -321,54 +321,57 @@
ruby-position: ruby-base-container;
}
.selectors3:not([DISABLED]),
.selectors3:matches(:hover, :focus),
.selectors3:any-link,
.selectors3:local-link,
.selectors3:local-link(0),
.selectors3:target,
.selectors3:scope,
.selectors3:current,
.selectors3:current(p, li, dt, dd),
.selectors3:past,
.selectors3:future,
.selectors3:enabled,
.selectors3:disabled,
.selectors3:checked,
.selectors3:indeterminate,
.selectors3:default,
.selectors3:in-range,
.selectors3:out-of-range,
.selectors3:required,
.selectors3:optional,
.selectors3:read-only,
.selectors3:read-write,
.selectors3:root,
.selectors3:empty,
.selectors3:nth-child(2n+1),
.selectors3:last-child,
.selectors3:nth-last-child(-n+2),
.selectors3:only-child,
.selectors3:first-of-type,
.selectors3:nth-of-type(2n+1),
.selectors3:last-of-type,
.selectors3:nth-last-of-type(n+2),
.selectors3:first-of-type,
.selectors3:only-child,
.selectors3:only-of-type,
.selectors3:nth-match(2n+1),
.selectors3:nth-last-match(-n+2),
.selectors3:column(p, li, dt, dd),
.selectors3:nth-column(2n+1),
.selectors3:nth-last-column(-n+2) {
.selectors3:nth-child(2n+1),
.selectors3:nth-last-child(-n+2),
.selectors3:nth-of-type(2n+1),
.selectors3:nth-last-of-type(n+2),
.selectors3:not([DISABLED]) {
display: auto;
}
foo | h1,
.selectors4:dir(ltr),
.selectors4 | h1,
.selectors4:scope,
.selectors4:current,
.selectors4:past,
.selectors4:future,
.selectors4:default,
.selectors4:valid,
.selectors4:invalid,
.selectors4:required,
.selectors4:optional,
.selectors4:blank,
.selectors4:any-link,
.selectors4:local-link,
.selectors4:read-only,
.selectors4:read-write,
.selectors4:placeholder-shown,
.selectors4:in-range,
.selectors4:out-of-range,
.selectors4:user-error,
.selectors4:active-drop-target,
.selectors4:valid-drop-target,
.selectors4:invalid-drop-target,
.selectors4:placeholder-shown,
.selectors4:user-error {
.selectors3:matches(:hover, :focus),
.selectors4:dir(ltr),
.selectors4:local-link(0),
.selectors4:current(p, li, dt, dd),
.selectors4:nth-match(2n+1),
.selectors4:nth-last-match(-n+2),
.selectors4:nth-column(2n+1),
.selectors4:nth-last-column(-n+2),
.selectors4:column(p, li, dt, dd) {
display: auto;
}