Détail du package

mdn-data

mdn148.1mCC0-1.02.21.0

Open Web data by the Mozilla Developer Network

data, mdn, mozilla, css

readme

Welcome to MDN data

Note We are in the process of deprecating the mdn/data package in favor of w3c/webref. If you depend on this project, let us know in our community GitHub discussions. Thank you.

NPM version lint

This repository contains general data for Web technologies and is maintained by the MDN team at Mozilla.

Repository contents

The data in this repository is used in MDN Web Docs to build information boxes and sidebar navigation. External tools make use of this data as well, for example, the CSSTree CSS parser.

There's a top-level directory for each broad area covered: for example, api and css. Inside each of these directories is one or more JSON files containing the data.

api

Contains data about Web APIs:

  • API inheritance (interface inheritance and mixin implementations)

css

Contains data about:

  • CSS at-rules
  • CSS functions
  • CSS properties
  • CSS selectors
  • CSS syntaxes
  • CSS types
  • CSS units

For more information, see the CSS data documentation and the Updating CSS JSON DB guide.

l10n

The l10n folder contains localization strings that are used in the various json files throughout this repository.

Problems?

If you find a problem, please file an issue.

Contributing

We're very happy to accept contributions to this data. Please familiarize yourself with the schema for the data you're editing, and send us a pull request. See the CONTRIBUTING.md document for more information.

See also

changelog

Changelog

2.21.0 (2025-04-11)

Features

  • css: Update syntax for @counter-style/additive-symbols descriptor (#978) (61a3662)
  • css: Update syntax for @page/size descriptor (#977) (f56fae7)

Miscellaneous

2.20.0 (2025-04-07)

Features

  • css: Add data for ::checkmark (#960) (ad9ebf0)
  • css: Add data for ::picker-icon (#961) (a2b6f97)
  • css: Add data for ::picker() (#962) (931d63d)
  • css: Add data for <text-edge> (#959) (c7acf92)
  • css: Add data for baseline-shift (#957) (25e6f28)
  • css: Add data for object-view-box (#969) (20a9429)
  • css: Add data for scroll-initial-target (#964) (9f08805)
  • css: Fix syntax for font-size (4866a9d)
  • css: Fix syntax for view-timeline (4318469)
  • css: Update syntax for [@keyframes](https://github.com/keyframes) (#954) (767a605)
  • css: Update syntax for *-conic-gradient() (#947) (4277471)
  • css: Update syntax for *-linear-gradient() (#948) (f9775b1)
  • css: Update syntax for *-radial-gradient() (#950) (f9066d3)
  • css: Update syntax for <basic-shape> (#971) (d4bc9b3)
  • css: Update syntax for container-type (#955) (8ffa50e)
  • css: Update syntax for font-size (#945) (4866a9d)
  • css: Update syntax for view-timeline (#946) (4318469)
  • css: Update syntax for gradient related features (#949) (503b88f)

Bug Fixes

  • Replace Markdown formatting with HTML (#974) (a7c5cb3)

Miscellaneous

  • css: Mark ::cue-region as experimental (#966) (8c84202)
  • css: merge CSS Units group into CSS Values and Units (#879) (c6f42b0)
  • css: Rename CSS Positioning group to CSS Positioned Layout group (#923) (3660ce1)
  • css: Sync features's status with bcd (#943) (d473c4f)

2.19.0 (2025-03-31)

Features

Miscellaneous

  • css: Adjust feature order by alphabet (#944) (ddc6e0d)

2.18.0 (2025-03-10)

Features

  • css: Add data for :target-current ::scroll-marker ::scroll-marker-group (#941) (7e25ddc)
  • css: Add data for view-transition-class (#940) (6f35883)

2.17.0 (2025-02-26)

Features

  • css: Sync syntax for some css functions (#938) (de14073)

Miscellaneous

  • css: Add mdn_url for newly documented features (#937) (7384ff1)
  • css: Update status for :has-slotted (#936) (43ac794)

2.16.0 (2025-02-24)

Features

  • css: Add @view-transition/types (#887) (451f3bf)
  • css: Add css symbols() function (#905) (2f71ad9)
  • css: Add CSS Shadow Parts group to ::part() (#892) (d8fbd6a)
  • css: Add data for experimental speak-as property (#889) (2cfb53a)
  • css: Add missing rect() and xywh() functions (#927) (90a3446)
  • css: Add rest standard selectors (510bd92)
  • css: Add rest two standard selectors (#893) (510bd92)
  • css: Update filter-function-list to filter-value-list (#897) (34b32b1)
  • css: Update group definitions for CSS View Transitions (#894) (76a3bbe)
  • css: Update group value for CSS Lists and Counters group (#898) (0cd5a25)
  • css: Update status for page-break-* properties (#909) (51fec53)
  • css: Update synatx for css zoom property (#901) (5c57b10)
  • css: Update syntax for @font-face/font-display (#875) (8cf4abe)
  • css: Update syntax for an+b type (#907) (ffeb23b)
  • css: Update syntax for circle() and ellipse() functions (#928) (fbc345f)
  • css: Update syntax for outline (#877) (8791748)
  • css: Update syntax for path() & polygon() (#885) (7b41d05)
  • css: Update syntax for text-transform:math-auto (#896) (3c1a279)
  • css: Update syntax for white-space (#878) (14ad879)
  • css: Update syntax for color functions (#867) (b172f0a)

Miscellaneous

  • ci: remove unused workflows (#920) (a4c3d9b)
  • css: Add align- and justify- properties with CSS Flexible Bo… (#912) (74a60ad)
  • css: Add align- and justify- properties with CSS Flexible Box Layout group (74a60ad)
  • css: Add CSS Anchor Positioning group (#922) (0c3a40b)
  • css: Fix group for clip-rule (#925) (abca3c7)
  • css: Fix group for shape-rendering (#926) (b8cd457)
  • css: Fix group for css env() function (#915) (6c947bc)
  • css: FIx group for CSS Box Sizing (#914) (9c304df)
  • css: Fix group for CSS Display module features (#916) (e19ddbd)
  • css: Fix group for CSS Images module (#935) (068de27)
  • css: Fix group for some CSS Inline module feature (#921) (925fbc4)
  • css: Fix group key for text-overflow (#910) (7000695)
  • css: Fix group value for CSS Overscroll Behavior features (#917) (e3976c9)
  • css: Fox group for CSS Display module features (e19ddbd)
  • css: Remove never used CSSOM View group (#904) (10abfad)
  • css: Remove non-existent 'CSS Flexible Lengths' group (#913) (015220c)
  • css: Remove not existed CSS Flexible Lengths group (015220c)
  • css: Rename CSS Columns to CSS Multi-column Layout (#919) (8debe78)
  • css: Rename CSS Device Adaptation to CSS Viewport (#900) (0ade227)
  • css: Rename CSS Logical Properties to CSS Logical Properties and Values (#929) (9ba094b)
  • css: Rename CSS Motion Path to Motion Path (#902) (9138aa7)
  • css: Rename CSS Pages group to CSS Paged Media group (#918) (34b49a3)
  • css: Rename CSS Scrollbars to CSS Scrollbars Styling to match spec (#895) (79d0ace)
  • css: Update for CSS Generated Content group (#890) (8060a0a)
  • css: Update group for [@import](https://github.com/import) (#908) (194f3b0)
  • css: Update group for paint() function (#891) (845020b)
  • css: Update group for CSS Animations (#931) (4186fe3)
  • css: Update group for CSS Fonts (#932) (b6ec854)
  • css: Update group for CSS Text (#933) (68917b2)

2.15.0 (2025-01-16)

Features

  • css: Add data for css [@view-transition](https://github.com/view-transition) at-rule (#851) (f326618)
  • css: add legacy -webkit-user-select property (#864) (37b9934)
  • css: add missing :modal pseudo-classes (#862) (314b1ce)
  • css: Add missing anchor-side syntax for anchor() (#860) (774d6c5)
  • css: add missing anchor-size syntax for anchor-size() (#861) (37bf01a)
  • css: add missing css color-mix() function (#857) (3fe902e)
  • css: Add missing css color() function (397906c)
  • css: Add missing css color() function (#858) (397906c)
  • css: add missing pseudo classes [a-c] (#871) (7a57280)
  • css: add missing pseudo classes [h-m] (#872) (59d6142)
  • css: add missing pseudo classes [p-s] (#873) (10e61fd)
  • css: add missing pseudo classes [v-x] (#874) (a8104c4)
  • css: add missing pseudo elements (#868) (23379df)
  • css: Add/Fix interfaces field of at-rules (#856) (20f0bab)
  • css: consistent naming for function-like pseudo-classes (#865) (8d17ec8)
  • css: Remove lack-support, deprecated input-security (#863) (857fe8d)
  • css: remove mdn_url for all IE features (#847) (edf11bb)
  • css: Remove mdn_url for some obsolute/experiemental features (#849) (fd7fc88)
  • css: Remove never-supported obsolute azimuth feature (#832) (c4ab0f3)
  • css: Replace &lt;box&gt; type with <visual-box> type (#842) (57b11d6)
  • css: Update css2 syntax for some pseudo-elements (#866) (7798a1c)
  • css: Update synatx for background-origin (#838) (aa45cc7)
  • css: Update syntax for @font-face/unicode-range (#833) (5186311)
  • css: Update syntax for [-webkit]-mask-{clip,origin} (#839) (c73adfe)
  • css: Update syntax for background-clip (#835) (76d7860)
  • css: Update syntax for image-rendering property smooth value (#834) (22b6586)
  • css: Update syntax of filter functions for optional parameters (#886) (a3814e6)
  • css: Update/Extra <color> syntax (ec560a1)
  • css: Update/Extract <color> syntax (#859) (ec560a1)
  • css: Update/Remove mdn_url and update status for Masonry layout related features (#848) (0457a47)
  • css: Update&Fix mdn_url for some obsolute/experiemental features (fd7fc88)

Bug Fixes

  • css: Add group field for CSS Box Sizing module (#855) (97536bb)
  • css: Fix group field for CSS Containment module (#854) (7f652b0)
  • css: Fix mdn_url for functions (#840) (ec24bf4)
  • css: Fix mdn_url for selectors and types (#836) (f5689dc)
  • css: fix status for custom properties (#846) (aa28a80)
  • css: incorrect mdn_url for repeating-radial-gradient() (#844) (0500654)
  • css: Remove mdn_url for some firefox prefixed features (#850) (3c40733)

Miscellaneous

  • css: Remove CSS Miscellaneous group & Rename CSS Variables group (#882) (5edb039)
  • css: remove never used CSS Break group (#880) (0435f3a)
  • css: Remove never used CSS Regions group (#884) (448b41a)
  • css: remove not-supported for text-spacing-trim: {trim-both,trim-all,auto} (395971d)
  • css: remove not-supported values for text-spacing-trim (#870) (395971d)
  • css: remove support for white-space-collapse: discard (#869) (13074e5)
  • css: Replace CSS Charsets group with CSS Syntax group (#883) (9376284)

2.14.0 (2024-12-17)

Features

Bug Fixes

  • css: correct syntax for scale related css functions (#831) (955ef5b)
  • css: fix animate type of scrollbar-width (#825) (1f30436)
  • css: fix group for clamp() css function (#830) (424e985)
  • l10n: fix incorrect punctuation marks (#822) (8059106)

2.13.0 (2024-12-05)

Features

  • css: Add data for lighting-color, flood-color, flood-opacity (#787) (2e42c31)
  • css: Add data for stop-color & stop-opacity (#782) (9398267)
  • css: add mdn_url for features with documentations (#803) (dd04e07)
  • css: Add missing &lt;anchor-name&gt; syntax for position-anchor property (#792) (350f183)
  • css: Add missing &lt;position-area&gt; syntax for position-area property (#793) (3722a02)
  • css: Add missing &lt;try-size&gt; syntax for position-try-order property (#796) (0b93566)
  • css: Add missing &lt;try-tactic&gt; syntax for position-try-fallbacks property (#795) (76584aa)
  • css: Add missing syntax &lt;coord-box&gt; <offset-path> for offset-path property (#790) (8438947)
  • css: Add missing syntax &lt;dasharray&gt; for stroke-dasharray (#791) (df08f67)
  • css: add missing syntax for offset-path property (8438947)
  • css: Add missing syntax for stroke property (#783) (89c2196)
  • css: Allow at-rule descriptors also contain mdn_url key (#805) (7ebbdfa)
  • css: Fix/Add synatx for font-palette &lt;palette-identifier&gt; palette-mix() (#785) (d572bcb)
  • css: make at-rule descriptor also contain mdn_url key (7ebbdfa)
  • css: remove non-supported caption-side values (#818) (f0b8774)
  • css: Support for word-break:auto-phrase (#810) (12e6074)
  • css: sync at-rule status per bcd (9c8b9eb)
  • css: Sync at-rule status per bcd (#800) (9c8b9eb)
  • css: sync property status per bcd (06fa694)
  • css: Sync property status per bcd (#801) (06fa694)
  • css: sync selector status per bcd (31d4ebe)
  • css: Sync selector status per bcd (#799) (31d4ebe)
  • css: Update &lt;alpha-value&gt; usage (#784) (87dc78b)
  • css: Update padding properties (#816) (8a9f3e2)
  • css: Update syntax for outline-style (#808) (14605dc)
  • css: Update syntax for at_font-palette-values/override-colors (#780) (6f8e474)
  • css: Update syntax for fit-content() (#814) (cd9f7ce)
  • css: Update syntax for margin properties (#815) (8d9f939)
  • css: Update syntax for sizing properties (#813) (cd06f28)

Bug Fixes

  • add missing syntax for [@scope](https://github.com/scope) (0a8c8b6)
  • css: Add missing syntax &lt;single-animation-composition&gt; for animation-composition (#789) (e76c914)
  • css: Add missing syntax for [@scope](https://github.com/scope) (#788) (0a8c8b6)
  • css: fill-opacity should accept percentages (#786) (42dcf9e)
  • css: Fix incorrect mdn_url (#804) (f432647)
  • css: Fix syntax for scroll-timeline-name (#809) (f050f8b)
  • css: Fix syntax for text-wrap (#781) (1b708b3)
  • css: Fix syntax for white-space (#802) (2cc41d0)
  • css: make functions syntax consistent (#817) (eeffb3f)
  • css: Mark &lt;shape&gt; type as obsolete (#797) (c8067ba)
  • css: mark element() as experimental (10594fb)
  • css: Mark element() as experimental (#798) (10594fb)

2.12.2 (2024-11-05)

Bug Fixes

  • css: stroke-opacity syntax correction (#778) (8c66896)
  • Update syntax for 'forced-color-adjust' & 'scale' properties, 'axis', 'color', 'scroller', 'system-color' types (#771) (39f2aed)

2.12.1 (2024-10-29)

Bug Fixes

  • css: aspect-ratio value supports both 'auto' and 'ratio' together (4fa8523)

2.12.0 (2024-10-23)

Features

  • add data for interpolate-size property (#773) (43873fc)
  • added auto value to text-emphasis-position property (#772) (c4ac978)
  • rename inset-area to position-area (#769) (d2b8857)
  • update text-wrap to be a shorthand property (#774) (2213097)
  • update syntax for Anchor Positioning related properties (#770) (5f5c637)

Bug Fixes

Miscellaneous

  • css: remove column-fill: balance-all (#775) (97b010c)
  • update linear-gradient syntax to use optional color-interpolation-method (#766) (9d0f4c5)

2.11.1 (2024-09-11)

Miscellaneous

  • deps: bump actions/checkout from 3 to 4 (#764) (3c2be02)
  • deps: bump github/codeql-action from 2 to 3 (#763) (251e6e2)

2.11.0 (2024-09-09)

Features

  • ci: Update depbot to check GH actions (#761) (f1ba782)
  • css: Add stroke CSS SVG properties (#757) (e577bd0)
  • Update depbot to check GH actions (f1ba782)

Bug Fixes

  • CSS zoom should be a not animatable property (#748) (3183e91)

2.10.0 (2024-08-29)

Features

Bug Fixes

  • css: follow canonical order in border and outline sections (#749) (b703067)
  • position-try-options > position-try-fallbacks (#751) (0edc1ea)

Miscellaneous

  • add CODEOWNERS for auto-adding reviewers (#760) (cae4438)

2.9.0 (2024-07-03)

Features

  • css: add text-spacing-trim property (bb0a599)

Bug Fixes

2.8.0 (2024-05-21)

Features

  • correct ray() syntax and add ray-size type (311ca78)
  • css: correct ray() syntax + add ray-size type (#723) (311ca78)

2.7.0 (2024-05-10)

Features

2.6.1 (2024-04-24)

Bug Fixes

  • Add missing internationalization information (#731) (19b1a46)

2.6.0 (2024-04-18)

Features

  • css: add Anchor Positioning data (b3997c5)

2.5.0 (2024-04-08)

Features

  • css: text-wrap-mode + text-wrap-style (2e681ff)

Bug Fixes

  • lint: upgrade actions/{checkout,setup-node} to v4 + use node-version-file (b62c9ee)
  • package-lock: run npm install (#725) (dfad8d6)

Enhancements

  • publish-release: inline workflow action + allow manual execution (#724) (063fc20)

Miscellaneous

  • css: update appliesTo for align-content (603c07a)

2.4.2 (2024-02-27)

Bug Fixes

  • css: overflow-wrap applies to text elements (#705) (6732de5)
  • Update font-palette animation type (#716) (cd8d5db)

2.4.1 (2024-02-22)

Bug Fixes

  • css: replace value 'center' with '0% 0%' for mask-position inital value (#714) (2987ea9)

2.4.0 (2024-01-23)

Features

  • css: alsoAppliesTo data for bg-pos-x/bg-pos-y (#707) (90bc67c)

2.3.6 (2024-01-23)

Bug Fixes

  • css: Update the default/initial value of offset-position (#709) (d619c73)

2.3.5 (2024-01-20)

Bug Fixes

  • css: Remove ::first-line from margin* props (#706) (8858ac6)

2.3.4 (2024-01-15)

Bug Fixes

2.3.3 (2024-01-08)

Bug Fixes

2.3.2 (2023-12-28)

Bug Fixes

  • descriptions of discrete animation behavior between visible and hidden (#690) (eb3bd6b)

2.3.1 (2023-12-28)

Bug Fixes

  • css: replace value 'invert' with 'auto' for outline-color property (#694) (89ff350)

2.3.0 (2023-11-08)

Features

2.2.0 (2023-11-03)

Features

2.1.0 (2023-08-29)

Features

  • CSS contain-intrinsic-* syntax updates (#684) (59748c3)

Bug Fixes

  • css: Mark all 'text-emphasis*' properties inheritable (#685) (4382320)

2.0.33 (2023-08-21)

Features

Miscellaneous Chores

2.0.32 (2023-05-12)

Miscellaneous Chores

2.0.31 (2023-02-03)

Bug Fixes

  • scroll-timeline-axis and scroll-timeline-name are properties (#631) (7bb3805)

2.0.30 (2022-10-28)

Bug Fixes

  • correct mask-repeat initial value (b36469e)
  • correct scroll-timeline-axis and mask-repeat initial value (#622) (e48302d)
  • correct scroll-timeline-axis initial value (5144622)

2.0.29 (2022-08-30)

Miscellaneous Chores

2.0.28 (2022-07-12)

Bug Fixes

  • css: correct two syntax examples in selectors (#589) (91ab33a)

2.0.27 (2022-02-24)

Miscellaneous Chores

2.0.26 (2022-01-19)

Miscellaneous Chores

2.0.25 (2021-12-21)

Bug Fixes

  • change branch reference to main (a473261)
  • remove old clashing workflow (af9a18c)

Miscellaneous Chores

2.0.24 (2021-12-17)

Miscellaneous Chores

2.0.24 (2021-12-15)

Miscellaneous Chores