Skip to content

Commit

Permalink
Switch to MDN browser compatibility data package
Browse files Browse the repository at this point in the history
Use data from the MDN browser compatibility data instead of scraping
from the MDN documentation website for more consistent changes and data
structure.

Closes #48
  • Loading branch information
Siilwyn committed Oct 17, 2020
1 parent 33fd613 commit 4e21583
Show file tree
Hide file tree
Showing 7 changed files with 343 additions and 164 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
extends: 'eslint:recommended'

parserOptions:
ecmaVersion: 2020

env:
es6: true
node: true

rules:
comma-dangle:
- warn
- always-multiline
comma-spacing:
- warn
- {
Expand Down
94 changes: 77 additions & 17 deletions orders/alphabetical.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"-webkit-line-clamp",
"align-content",
"align-items",
"align-self",
Expand All @@ -12,6 +13,7 @@
"animation-name",
"animation-play-state",
"animation-timing-function",
"appearance",
"backdrop-filter",
"backface-visibility",
"background",
Expand All @@ -28,6 +30,8 @@
"background-size",
"block-size",
"border",
"border-block",
"border-block-color",
"border-block-end",
"border-block-end-color",
"border-block-end-style",
Expand All @@ -36,6 +40,8 @@
"border-block-start-color",
"border-block-start-style",
"border-block-start-width",
"border-block-style",
"border-block-width",
"border-bottom",
"border-bottom-color",
"border-bottom-left-radius",
Expand All @@ -44,12 +50,16 @@
"border-bottom-width",
"border-collapse",
"border-color",
"border-end-end-radius",
"border-end-start-radius",
"border-image",
"border-image-outset",
"border-image-repeat",
"border-image-slice",
"border-image-source",
"border-image-width",
"border-inline",
"border-inline-color",
"border-inline-end",
"border-inline-end-color",
"border-inline-end-style",
Expand All @@ -58,6 +68,8 @@
"border-inline-start-color",
"border-inline-start-style",
"border-inline-start-width",
"border-inline-style",
"border-inline-width",
"border-left",
"border-left-color",
"border-left-style",
Expand All @@ -68,6 +80,8 @@
"border-right-style",
"border-right-width",
"border-spacing",
"border-start-end-radius",
"border-start-start-radius",
"border-style",
"border-top",
"border-top-color",
Expand All @@ -88,6 +102,7 @@
"clear",
"clip-path",
"color",
"color-adjust",
"column-count",
"column-fill",
"column-gap",
Expand All @@ -98,9 +113,11 @@
"column-span",
"column-width",
"columns",
"contain",
"content",
"counter-increment",
"counter-reset",
"counter-set",
"cursor",
"direction",
"display",
Expand All @@ -117,7 +134,6 @@
"font",
"font-display",
"font-family",
"font-feature-settings",
"font-kerning",
"font-language-override",
"font-optical-sizing",
Expand All @@ -127,13 +143,14 @@
"font-style",
"font-synthesis",
"font-variant",
"font-variant-alternates",
"font-variant-caps",
"font-variant-east-asian",
"font-variant-ligatures",
"font-variant-numeric",
"font-variant-position",
"font-variation-settings",
"font-weight",
"gap",
"grid",
"grid-area",
"grid-auto-columns",
Expand All @@ -149,13 +166,18 @@
"grid-template-areas",
"grid-template-columns",
"grid-template-rows",
"hanging-punctuation",
"height",
"hyphens",
"image-orientation",
"image-rendering",
"initial-letter",
"initial-letter-align",
"inline-size",
"inset",
"inset-block",
"inset-block-end",
"inset-block-start",
"inset-inline",
"inset-inline-end",
"inset-inline-start",
"isolation",
"justify-content",
"justify-items",
Expand All @@ -169,17 +191,21 @@
"list-style-position",
"list-style-type",
"margin",
"margin-block",
"margin-block-end",
"margin-block-start",
"margin-bottom",
"margin-inline",
"margin-inline-end",
"margin-inline-start",
"margin-left",
"margin-right",
"margin-top",
"mask",
"mask-clip",
"mask-composite",
"mask-image",
"mask-mode",
"mask-origin",
"mask-position",
"mask-repeat",
Expand All @@ -196,10 +222,11 @@
"mix-blend-mode",
"object-fit",
"object-position",
"offset-block-end",
"offset-block-start",
"offset-inline-end",
"offset-inline-start",
"offset",
"offset-anchor",
"offset-distance",
"offset-path",
"offset-rotate",
"opacity",
"order",
"orphans",
Expand All @@ -209,13 +236,23 @@
"outline-style",
"outline-width",
"overflow",
"overflow-anchor",
"overflow-block",
"overflow-inline",
"overflow-wrap",
"overflow-x",
"overflow-y",
"overscroll-behavior",
"overscroll-behavior-block",
"overscroll-behavior-inline",
"overscroll-behavior-x",
"overscroll-behavior-y",
"padding",
"padding-block",
"padding-block-end",
"padding-block-start",
"padding-bottom",
"padding-inline",
"padding-inline-end",
"padding-inline-start",
"padding-left",
Expand All @@ -224,6 +261,7 @@
"page-break-after",
"page-break-before",
"page-break-inside",
"paint-order",
"perspective",
"perspective-origin",
"place-content",
Expand All @@ -236,13 +274,35 @@
"right",
"rotate",
"row-gap",
"ruby-align",
"ruby-position",
"scale",
"scroll-behavior",
"scroll-snap-coordinate",
"scroll-snap-destination",
"scroll-margin",
"scroll-margin-block",
"scroll-margin-block-end",
"scroll-margin-block-start",
"scroll-margin-bottom",
"scroll-margin-inline",
"scroll-margin-inline-end",
"scroll-margin-inline-start",
"scroll-margin-left",
"scroll-margin-right",
"scroll-margin-top",
"scroll-padding",
"scroll-padding-block",
"scroll-padding-block-end",
"scroll-padding-block-start",
"scroll-padding-bottom",
"scroll-padding-inline",
"scroll-padding-inline-end",
"scroll-padding-inline-start",
"scroll-padding-left",
"scroll-padding-right",
"scroll-padding-top",
"scroll-snap-align",
"scroll-snap-stop",
"scroll-snap-type",
"scrollbar-color",
"scrollbar-width",
"shape-image-threshold",
"shape-margin",
"shape-outside",
Expand All @@ -255,9 +315,9 @@
"text-decoration",
"text-decoration-color",
"text-decoration-line",
"text-decoration-skip",
"text-decoration-skip-ink",
"text-decoration-style",
"text-decoration-thickness",
"text-emphasis",
"text-emphasis-color",
"text-emphasis-position",
Expand All @@ -266,10 +326,9 @@
"text-justify",
"text-orientation",
"text-overflow",
"text-rendering",
"text-shadow",
"text-size-adjust",
"text-transform",
"text-underline-offset",
"text-underline-position",
"top",
"touch-action",
Expand All @@ -282,6 +341,7 @@
"transition-duration",
"transition-property",
"transition-timing-function",
"translate",
"unicode-bidi",
"unicode-range",
"user-select",
Expand All @@ -295,4 +355,4 @@
"word-spacing",
"writing-mode",
"z-index"
]
]
Loading

0 comments on commit 4e21583

Please sign in to comment.