selectors.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. {
  2. "Type selectors": {
  3. "syntax": "element",
  4. "groups": [
  5. "Basic Selectors",
  6. "Selectors"
  7. ],
  8. "status": "standard"
  9. },
  10. "Class selectors": {
  11. "syntax": ".class",
  12. "groups": [
  13. "Basic Selectors",
  14. "Selectors"
  15. ],
  16. "status": "standard"
  17. },
  18. "ID selectors": {
  19. "syntax": "#id",
  20. "groups": [
  21. "Basic Selectors",
  22. "Selectors"
  23. ],
  24. "status": "standard"
  25. },
  26. "Universal selectors": {
  27. "syntax": "*",
  28. "groups": [
  29. "Basic Selectors",
  30. "Selectors"
  31. ],
  32. "status": "standard"
  33. },
  34. "Attribute selectors": {
  35. "syntax": "[attr=value]",
  36. "groups": [
  37. "Basic Selectors",
  38. "Selectors"
  39. ],
  40. "status": "standard"
  41. },
  42. "Adjacent sibling selectors": {
  43. "syntax": "A + B",
  44. "groups": [
  45. "Combinators",
  46. "Selectors"
  47. ],
  48. "status": "standard"
  49. },
  50. "General sibling selectors": {
  51. "syntax": "A ~ B",
  52. "groups": [
  53. "Combinators",
  54. "Selectors"
  55. ],
  56. "status": "standard"
  57. },
  58. "Child selectors": {
  59. "syntax": "A > B",
  60. "groups": [
  61. "Combinators",
  62. "Selectors"
  63. ],
  64. "status": "standard"
  65. },
  66. "Descendant selectors": {
  67. "syntax": "A B",
  68. "groups": [
  69. "Combinators",
  70. "Selectors"
  71. ],
  72. "status": "standard"
  73. },
  74. ":active": {
  75. "syntax": ":active",
  76. "groups": [
  77. "Pseudo-classes",
  78. "Selectors"
  79. ],
  80. "status": "standard"
  81. },
  82. ":any": {
  83. "syntax": ":-moz-any( <selector># )\n:-webkit-any( <selector># )",
  84. "groups": [
  85. "Pseudo-classes",
  86. "Selectors"
  87. ],
  88. "status": "experimental"
  89. },
  90. ":any-link": {
  91. "syntax": ":any-link",
  92. "groups": [
  93. "Pseudo-classes",
  94. "Selectors"
  95. ],
  96. "status": "experimental"
  97. },
  98. ":checked": {
  99. "syntax": ":checked",
  100. "groups": [
  101. "Pseudo-classes",
  102. "Selectors"
  103. ],
  104. "status": "standard"
  105. },
  106. ":default": {
  107. "syntax": ":default",
  108. "groups": [
  109. "Pseudo-classes",
  110. "Selectors"
  111. ],
  112. "status": "standard"
  113. },
  114. ":defined": {
  115. "syntax": ":defined",
  116. "groups": [
  117. "Pseudo-classes",
  118. "Selectors"
  119. ],
  120. "status": "experimental"
  121. },
  122. ":dir": {
  123. "syntax": ":dir( ltr | rtl )",
  124. "groups": [
  125. "Pseudo-classes",
  126. "Selectors"
  127. ],
  128. "status": "standard"
  129. },
  130. ":disabled": {
  131. "syntax": ":disabled",
  132. "groups": [
  133. "Pseudo-classes",
  134. "Selectors"
  135. ],
  136. "status": "standard"
  137. },
  138. ":empty": {
  139. "syntax": ":empty",
  140. "groups": [
  141. "Pseudo-classes",
  142. "Selectors"
  143. ],
  144. "status": "standard"
  145. },
  146. ":enabled": {
  147. "syntax": ":enabled",
  148. "groups": [
  149. "Pseudo-classes",
  150. "Selectors"
  151. ],
  152. "status": "standard"
  153. },
  154. ":first": {
  155. "syntax": ":first",
  156. "groups": [
  157. "Pseudo-classes",
  158. "Selectors"
  159. ],
  160. "status": "standard"
  161. },
  162. ":first-child": {
  163. "syntax": ":first-child",
  164. "groups": [
  165. "Pseudo-classes",
  166. "Selectors"
  167. ],
  168. "status": "standard"
  169. },
  170. ":first-of-type": {
  171. "syntax": ":first-of-type",
  172. "groups": [
  173. "Pseudo-classes",
  174. "Selectors"
  175. ],
  176. "status": "standard"
  177. },
  178. ":fullscreen": {
  179. "syntax": ":fullscreen",
  180. "groups": [
  181. "Pseudo-classes",
  182. "Selectors"
  183. ],
  184. "status": "standard"
  185. },
  186. ":focus": {
  187. "syntax": ":focus",
  188. "groups": [
  189. "Pseudo-classes",
  190. "Selectors"
  191. ],
  192. "status": "standard"
  193. },
  194. ":focus-visible": {
  195. "syntax": ":focus-visible",
  196. "groups": [
  197. "Pseudo-classes",
  198. "Selectors"
  199. ],
  200. "status": "experimental"
  201. },
  202. ":focus-within": {
  203. "syntax": ":focus-within",
  204. "groups": [
  205. "Pseudo-classes",
  206. "Selectors"
  207. ],
  208. "status": "experimental"
  209. },
  210. ":host": {
  211. "syntax": ":host",
  212. "groups": [
  213. "Pseudo-classes",
  214. "Selectors"
  215. ],
  216. "status": "experimental"
  217. },
  218. ":host()": {
  219. "syntax": ":host( <compound-selector-list> )",
  220. "groups": [
  221. "Pseudo-classes",
  222. "Selectors"
  223. ],
  224. "status": "experimental"
  225. },
  226. ":host-context": {
  227. "syntax": ":host-context",
  228. "groups": [
  229. "Pseudo-classes",
  230. "Selectors"
  231. ],
  232. "status": "experimental"
  233. },
  234. ":host-context()": {
  235. "syntax": ":host-context( <compound-selector-list> )",
  236. "groups": [
  237. "Pseudo-classes",
  238. "Selectors"
  239. ],
  240. "status": "experimental"
  241. },
  242. ":hover": {
  243. "syntax": ":hover",
  244. "groups": [
  245. "Pseudo-classes",
  246. "Selectors"
  247. ],
  248. "status": "standard"
  249. },
  250. ":indeterminate": {
  251. "syntax": ":indeterminate",
  252. "groups": [
  253. "Pseudo-classes",
  254. "Selectors"
  255. ],
  256. "status": "standard"
  257. },
  258. ":in-range": {
  259. "syntax": ":in-range",
  260. "groups": [
  261. "Pseudo-classes",
  262. "Selectors"
  263. ],
  264. "status": "standard"
  265. },
  266. ":invalid": {
  267. "syntax": ":invalid",
  268. "groups": [
  269. "Pseudo-classes",
  270. "Selectors"
  271. ],
  272. "status": "standard"
  273. },
  274. ":lang": {
  275. "syntax": ":lang( <language-code> )",
  276. "groups": [
  277. "Pseudo-classes",
  278. "Selectors"
  279. ],
  280. "status": "standard"
  281. },
  282. ":last-child": {
  283. "syntax": ":last-child",
  284. "groups": [
  285. "Pseudo-classes",
  286. "Selectors"
  287. ],
  288. "status": "standard"
  289. },
  290. ":last-of-type": {
  291. "syntax": ":last-of-type",
  292. "groups": [
  293. "Pseudo-classes",
  294. "Selectors"
  295. ],
  296. "status": "standard"
  297. },
  298. ":left": {
  299. "syntax": ":left",
  300. "groups": [
  301. "Pseudo-classes",
  302. "Selectors",
  303. "CSS Pages"
  304. ],
  305. "status": "standard"
  306. },
  307. ":link": {
  308. "syntax": ":link",
  309. "groups": [
  310. "Pseudo-classes",
  311. "Selectors"
  312. ],
  313. "status": "standard"
  314. },
  315. ":not": {
  316. "syntax": ":not( <selector># )",
  317. "groups": [
  318. "Pseudo-classes",
  319. "Selectors"
  320. ],
  321. "status": "standard"
  322. },
  323. ":nth-child": {
  324. "syntax": ":nth-child( <nth> [ of <selector># ]? )",
  325. "groups": [
  326. "Pseudo-classes",
  327. "Selectors"
  328. ],
  329. "status": "standard"
  330. },
  331. ":nth-last-child": {
  332. "syntax": ":nth-last-child( <nth> [ of <selector># ]? )",
  333. "groups": [
  334. "Pseudo-classes",
  335. "Selectors"
  336. ],
  337. "status": "standard"
  338. },
  339. ":nth-last-of-type": {
  340. "syntax": ":nth-last-of-type( <nth> )",
  341. "groups": [
  342. "Pseudo-classes",
  343. "Selectors"
  344. ],
  345. "status": "standard"
  346. },
  347. ":nth-of-type": {
  348. "syntax": ":nth-of-type( <nth> )",
  349. "groups": [
  350. "Pseudo-classes",
  351. "Selectors"
  352. ],
  353. "status": "standard"
  354. },
  355. ":only-child": {
  356. "syntax": ":only-child",
  357. "groups": [
  358. "Pseudo-classes",
  359. "Selectors"
  360. ],
  361. "status": "standard"
  362. },
  363. ":only-of-type": {
  364. "syntax": ":only-of-type",
  365. "groups": [
  366. "Pseudo-classes",
  367. "Selectors"
  368. ],
  369. "status": "standard"
  370. },
  371. ":optional": {
  372. "syntax": ":optional",
  373. "groups": [
  374. "Pseudo-classes",
  375. "Selectors"
  376. ],
  377. "status": "standard"
  378. },
  379. ":out-of-range": {
  380. "syntax": ":out-of-range",
  381. "groups": [
  382. "Pseudo-classes",
  383. "Selectors"
  384. ],
  385. "status": "standard"
  386. },
  387. ":placeholder-shown": {
  388. "syntax": ":placeholder-shown",
  389. "groups": [
  390. "Pseudo-classes",
  391. "Selectors"
  392. ],
  393. "status": "experimental"
  394. },
  395. ":read-only": {
  396. "syntax": ":read-only",
  397. "groups": [
  398. "Pseudo-classes",
  399. "Selectors"
  400. ],
  401. "status": "standard"
  402. },
  403. ":read-write": {
  404. "syntax": ":read-write",
  405. "groups": [
  406. "Pseudo-classes",
  407. "Selectors"
  408. ],
  409. "status": "standard"
  410. },
  411. ":required": {
  412. "syntax": ":required",
  413. "groups": [
  414. "Pseudo-classes",
  415. "Selectors"
  416. ],
  417. "status": "standard"
  418. },
  419. ":right": {
  420. "syntax": ":right",
  421. "groups": [
  422. "Pseudo-classes",
  423. "Selectors",
  424. "CSS Pages"
  425. ],
  426. "status": "standard"
  427. },
  428. ":root": {
  429. "syntax": ":root",
  430. "groups": [
  431. "Pseudo-classes",
  432. "Selectors",
  433. "CSS Pages"
  434. ],
  435. "status": "standard"
  436. },
  437. ":scope": {
  438. "syntax": ":scope",
  439. "groups": [
  440. "Pseudo-classes",
  441. "Selectors"
  442. ],
  443. "status": "standard"
  444. },
  445. ":target": {
  446. "syntax": ":target",
  447. "groups": [
  448. "Pseudo-classes",
  449. "Selectors"
  450. ],
  451. "status": "standard"
  452. },
  453. ":valid": {
  454. "syntax": ":valid",
  455. "groups": [
  456. "Pseudo-classes",
  457. "Selectors"
  458. ],
  459. "status": "standard"
  460. },
  461. ":visited": {
  462. "syntax": ":visited",
  463. "groups": [
  464. "Pseudo-classes",
  465. "Selectors"
  466. ],
  467. "status": "standard"
  468. },
  469. "::-moz-progress-bar": {
  470. "syntax": "::-moz-progress-bar",
  471. "groups": [
  472. "Pseudo-elements",
  473. "Selectors",
  474. "Mozilla Extensions"
  475. ],
  476. "status": "nonstandard"
  477. },
  478. "::-moz-range-progress": {
  479. "syntax": "::-moz-range-progress",
  480. "groups": [
  481. "Pseudo-elements",
  482. "Selectors",
  483. "Mozilla Extensions"
  484. ],
  485. "status": "nonstandard"
  486. },
  487. "::-moz-range-thumb": {
  488. "syntax": "::-moz-range-thumb",
  489. "groups": [
  490. "Pseudo-elements",
  491. "Selectors",
  492. "Mozilla Extensions"
  493. ],
  494. "status": "nonstandard"
  495. },
  496. "::-moz-range-track": {
  497. "syntax": "::-moz-range-track",
  498. "groups": [
  499. "Pseudo-elements",
  500. "Selectors",
  501. "Mozilla Extensions"
  502. ],
  503. "status": "nonstandard"
  504. },
  505. "::-ms-browse": {
  506. "syntax": "::-ms-browse",
  507. "groups": [
  508. "Pseudo-elements",
  509. "Selectors",
  510. "Microsoft Extensions"
  511. ],
  512. "status": "nonstandard"
  513. },
  514. "::-ms-check": {
  515. "syntax": "::-ms-check",
  516. "groups": [
  517. "Pseudo-elements",
  518. "Selectors",
  519. "Microsoft Extensions"
  520. ],
  521. "status": "nonstandard"
  522. },
  523. "::-ms-clear": {
  524. "syntax": "::-ms-clear",
  525. "groups": [
  526. "Pseudo-elements",
  527. "Selectors",
  528. "Microsoft Extensions"
  529. ],
  530. "status": "nonstandard"
  531. },
  532. "::-ms-expand": {
  533. "syntax": "::-ms-clear",
  534. "groups": [
  535. "Pseudo-elements",
  536. "Selectors",
  537. "Microsoft Extensions"
  538. ],
  539. "status": "nonstandard"
  540. },
  541. "::-ms-fill": {
  542. "syntax": "::-ms-fill",
  543. "groups": [
  544. "Pseudo-elements",
  545. "Selectors",
  546. "Microsoft Extensions"
  547. ],
  548. "status": "nonstandard"
  549. },
  550. "::-ms-fill-lower": {
  551. "syntax": "::-ms-fill-lower",
  552. "groups": [
  553. "Pseudo-elements",
  554. "Selectors",
  555. "Microsoft Extensions"
  556. ],
  557. "status": "nonstandard"
  558. },
  559. "::-ms-fill-upper": {
  560. "syntax": "::-ms-fill-upper",
  561. "groups": [
  562. "Pseudo-elements",
  563. "Selectors",
  564. "Microsoft Extensions"
  565. ],
  566. "status": "nonstandard"
  567. },
  568. "::-ms-reveal": {
  569. "syntax": "::-ms-reveal",
  570. "groups": [
  571. "Pseudo-elements",
  572. "Selectors",
  573. "Microsoft Extensions"
  574. ],
  575. "status": "nonstandard"
  576. },
  577. "::-ms-thumb": {
  578. "syntax": "::-ms-thumb",
  579. "groups": [
  580. "Pseudo-elements",
  581. "Selectors",
  582. "Microsoft Extensions"
  583. ],
  584. "status": "nonstandard"
  585. },
  586. "::-ms-ticks-after": {
  587. "syntax": "::-ms-ticks-after",
  588. "groups": [
  589. "Pseudo-elements",
  590. "Selectors",
  591. "Microsoft Extensions"
  592. ],
  593. "status": "nonstandard"
  594. },
  595. "::-ms-ticks-before": {
  596. "syntax": "::-ms-ticks-before",
  597. "groups": [
  598. "Pseudo-elements",
  599. "Selectors",
  600. "Microsoft Extensions"
  601. ],
  602. "status": "nonstandard"
  603. },
  604. "::-ms-tooltip": {
  605. "syntax": "::-ms-tooltip",
  606. "groups": [
  607. "Pseudo-elements",
  608. "Selectors",
  609. "Microsoft Extensions"
  610. ],
  611. "status": "nonstandard"
  612. },
  613. "::-ms-track": {
  614. "syntax": "::-ms-track",
  615. "groups": [
  616. "Pseudo-elements",
  617. "Selectors",
  618. "Microsoft Extensions"
  619. ],
  620. "status": "nonstandard"
  621. },
  622. "::-ms-value": {
  623. "syntax": "::-ms-value",
  624. "groups": [
  625. "Pseudo-elements",
  626. "Selectors",
  627. "Microsoft Extensions"
  628. ],
  629. "status": "nonstandard"
  630. },
  631. "::-webkit-progress-bar": {
  632. "syntax": "::-webkit-progress-bar",
  633. "groups": [
  634. "Pseudo-elements",
  635. "Selectors",
  636. "WebKit Extensions"
  637. ],
  638. "status": "nonstandard"
  639. },
  640. "::-webkit-progress-inner-value": {
  641. "syntax": "::-webkit-progress-inner-value",
  642. "groups": [
  643. "Pseudo-elements",
  644. "Selectors",
  645. "WebKit Extensions"
  646. ],
  647. "status": "nonstandard"
  648. },
  649. "::-webkit-progress-value": {
  650. "syntax": "::-webkit-progress-value",
  651. "groups": [
  652. "Pseudo-elements",
  653. "Selectors",
  654. "WebKit Extensions"
  655. ],
  656. "status": "nonstandard"
  657. },
  658. "::-webkit-slider-runnable-track": {
  659. "syntax": "::-webkit-slider-runnable-track",
  660. "groups": [
  661. "Pseudo-elements",
  662. "Selectors",
  663. "WebKit Extensions"
  664. ],
  665. "status": "nonstandard"
  666. },
  667. "::-webkit-slider-thumb": {
  668. "syntax": "::-webkit-slider-thumb",
  669. "groups": [
  670. "Pseudo-elements",
  671. "Selectors",
  672. "WebKit Extensions"
  673. ],
  674. "status": "nonstandard"
  675. },
  676. "::after": {
  677. "syntax": "/* CSS3 syntax */\n::after\n\n/* CSS2 syntax */\n:after",
  678. "groups": [
  679. "Pseudo-elements",
  680. "Selectors"
  681. ],
  682. "status": "standard"
  683. },
  684. "::backdrop": {
  685. "syntax": "::backdrop",
  686. "groups": [
  687. "Pseudo-elements",
  688. "Selectors"
  689. ],
  690. "status": "standard"
  691. },
  692. "::before": {
  693. "syntax": "/* CSS3 syntax */\n::before\n\n/* CSS2 syntax */\n:before",
  694. "groups": [
  695. "Pseudo-elements",
  696. "Selectors"
  697. ],
  698. "status": "standard"
  699. },
  700. "::cue": {
  701. "syntax": "::cue | ::cue( <selector> )",
  702. "groups": [
  703. "Pseudo-elements",
  704. "Selectors"
  705. ],
  706. "status": "standard"
  707. },
  708. "::first-letter": {
  709. "syntax": "/* CSS3 syntax */\n::first-letter\n\n/* CSS2 syntax */\n:first-letter",
  710. "groups": [
  711. "Pseudo-elements",
  712. "Selectors"
  713. ],
  714. "status": "standard"
  715. },
  716. "::first-line": {
  717. "syntax": "/* CSS3 syntax */\n::first-line\n\n/* CSS2 syntax */\n:first-line",
  718. "groups": [
  719. "Pseudo-elements",
  720. "Selectors"
  721. ],
  722. "status": "standard"
  723. },
  724. "::grammar-error": {
  725. "syntax": "::grammar-error",
  726. "groups": [
  727. "Pseudo-elements",
  728. "Selectors"
  729. ],
  730. "status": "experimental"
  731. },
  732. "::placeholder": {
  733. "syntax": "::placeholder",
  734. "groups": [
  735. "Pseudo-elements",
  736. "Selectors"
  737. ],
  738. "status": "standard"
  739. },
  740. "::selection": {
  741. "syntax": "::selection",
  742. "groups": [
  743. "Pseudo-elements",
  744. "Selectors"
  745. ],
  746. "status": "standard"
  747. },
  748. "::slotted": {
  749. "syntax": "::slotted(<compound-selector-list>)",
  750. "groups": [
  751. "Pseudo-elements",
  752. "Selectors"
  753. ],
  754. "status": "standard"
  755. },
  756. "::spelling-error": {
  757. "syntax": "::spelling-error",
  758. "groups": [
  759. "Pseudo-elements",
  760. "Selectors"
  761. ],
  762. "status": "experimental"
  763. }
  764. }