Skip to content

Commit

Permalink
Add width: stretch data from MDN
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jan 5, 2022
1 parent 96977af commit fc45fc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions copy-mdn.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,13 @@ writeFileSync(
'./node_modules/caniuse-db/features-json/css-file-selector-button.json',
JSON.stringify(fileSelectorButtonData)
)

const stretchData = bcdDataToCanIUseData(
bcd.css.properties.width.stretch.__compat,
'width: stretch property'
)

writeFileSync(
'./node_modules/caniuse-db/features-json/css-width-stretch.json',
JSON.stringify(stretchData)
)

0 comments on commit fc45fc1

Please sign in to comment.