diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..7e5690c5 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,4 @@ +# This file is used to request PR reviews. + +# Default +* @mdn/core-yari-content diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d1f0d085..f9b86438 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,21 @@ version: 2 + updates: - - package-ecosystem: "npm" + - package-ecosystem: npm + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 + labels: + - "automated pr" + - "dependencies" + - "javascript" + + - package-ecosystem: "github-actions" directory: "/" schedule: interval: "daily" + labels: + - "automated pr" + - "dependencies" + - "github actions" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3ed4dea1..85d15165 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -26,15 +26,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8388fe10..f69d4a53 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.8.0" + ".": "2.12.2" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6947ca6c..bf23188a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,98 @@ # Changelog +## [2.12.2](https://github.com/mdn/data/compare/v2.12.1...v2.12.2) (2024-11-05) + + +### Bug Fixes + +* **css:** stroke-opacity syntax correction ([#778](https://github.com/mdn/data/issues/778)) ([8c66896](https://github.com/mdn/data/commit/8c66896261c36a13e7c1af021137608986c992c7)) +* Update syntax for 'forced-color-adjust' & 'scale' properties, 'axis', 'color', 'scroller', 'system-color' types ([#771](https://github.com/mdn/data/issues/771)) ([39f2aed](https://github.com/mdn/data/commit/39f2aede448fa9d1257d8ef9b474149052f1aad0)) + +## [2.12.1](https://github.com/mdn/data/compare/v2.12.0...v2.12.1) (2024-10-29) + + +### Bug Fixes + +* **css:** aspect-ratio value supports both 'auto' and 'ratio' together ([4fa8523](https://github.com/mdn/data/commit/4fa8523b48fe7b3f87fa7f6cd35f4bd3258f5d39)) + +## [2.12.0](https://github.com/mdn/data/compare/v2.11.1...v2.12.0) (2024-10-23) + + +### Features + +* add data for `interpolate-size` property ([#773](https://github.com/mdn/data/issues/773)) ([43873fc](https://github.com/mdn/data/commit/43873fcd9ba6f8e976ad29d683a8cf655960879e)) +* added auto value to text-emphasis-position property ([#772](https://github.com/mdn/data/issues/772)) ([c4ac978](https://github.com/mdn/data/commit/c4ac9780a4bb8def18297d5c6cbd5f19c014fca2)) +* rename `inset-area` to `position-area` ([#769](https://github.com/mdn/data/issues/769)) ([d2b8857](https://github.com/mdn/data/commit/d2b88572098571628d8125da43cdaec424154f88)) +* update `text-wrap` to be a shorthand property ([#774](https://github.com/mdn/data/issues/774)) ([2213097](https://github.com/mdn/data/commit/22130975d32d59d550a193b5d71365bc4bc00761)) +* update syntax for Anchor Positioning related properties ([#770](https://github.com/mdn/data/issues/770)) ([5f5c637](https://github.com/mdn/data/commit/5f5c6378f657db08fb48e0c75c184a0f0b8865bb)) + + +### Bug Fixes + +* add mdn url for CSS offset-anchor ([#759](https://github.com/mdn/data/issues/759)) ([991632c](https://github.com/mdn/data/commit/991632c9678a3ed0534185b4f0bf94528a92d321)) +* **link:** fix link to stacking context ([#768](https://github.com/mdn/data/issues/768)) ([793cb7a](https://github.com/mdn/data/commit/793cb7aa88119fc4f20dcd7227edd786c5747ab5)) + + +### Miscellaneous + +* **css:** remove `column-fill: balance-all` ([#775](https://github.com/mdn/data/issues/775)) ([97b010c](https://github.com/mdn/data/commit/97b010c3516ec71571d9eefa0488d3f727951f62)) +* update linear-gradient syntax to use optional color-interpolation-method ([#766](https://github.com/mdn/data/issues/766)) ([9d0f4c5](https://github.com/mdn/data/commit/9d0f4c5b52377868d0277d2bac53e63f3a85ea49)) + +## [2.11.1](https://github.com/mdn/data/compare/v2.11.0...v2.11.1) (2024-09-11) + + +### Miscellaneous + +* **deps:** bump actions/checkout from 3 to 4 ([#764](https://github.com/mdn/data/issues/764)) ([3c2be02](https://github.com/mdn/data/commit/3c2be024b7988a472b4f9176029234dfeffa5118)) +* **deps:** bump github/codeql-action from 2 to 3 ([#763](https://github.com/mdn/data/issues/763)) ([251e6e2](https://github.com/mdn/data/commit/251e6e2548a2ad1f10cd2cdd7b2acd3b35bc5f4e)) + +## [2.11.0](https://github.com/mdn/data/compare/v2.10.0...v2.11.0) (2024-09-09) + + +### Features + +* **ci:** Update depbot to check GH actions ([#761](https://github.com/mdn/data/issues/761)) ([f1ba782](https://github.com/mdn/data/commit/f1ba782ce5b4c1a2024645d4522fa655d0f516df)) +* **css:** Add stroke CSS SVG properties ([#757](https://github.com/mdn/data/issues/757)) ([e577bd0](https://github.com/mdn/data/commit/e577bd0df5e35fb4f196b837ea886335c32036b1)) +* Update depbot to check GH actions ([f1ba782](https://github.com/mdn/data/commit/f1ba782ce5b4c1a2024645d4522fa655d0f516df)) + + +### Bug Fixes + +* CSS zoom should be a not animatable property ([#748](https://github.com/mdn/data/issues/748)) ([3183e91](https://github.com/mdn/data/commit/3183e91e4c5fea85e402472a2489f8644af20e6e)) + +## [2.10.0](https://github.com/mdn/data/compare/v2.9.0...v2.10.0) (2024-08-29) + + +### Features + +* add CSS SVG d and fill-* properties ([#754](https://github.com/mdn/data/issues/754)) ([7384073](https://github.com/mdn/data/commit/738407371c5eb6eca156decc1a211e17f038b4fd)) +* add CSS SVG geometric properties ([#753](https://github.com/mdn/data/issues/753)) ([ab6bf8a](https://github.com/mdn/data/commit/ab6bf8a2eb9bd8123aa025ba6c8758eaeb0ca2ef)) +* Add marker CSS SVG properties ([#756](https://github.com/mdn/data/issues/756)) ([ebe6b02](https://github.com/mdn/data/commit/ebe6b02ea760452a6f02bfe6406a2d25fc354011)) + + +### Bug Fixes + +* **css:** follow canonical order in border and outline sections ([#749](https://github.com/mdn/data/issues/749)) ([b703067](https://github.com/mdn/data/commit/b70306787efd4d0f49c3ed8ba2af7dc45db7f803)) +* position-try-options > position-try-fallbacks ([#751](https://github.com/mdn/data/issues/751)) ([0edc1ea](https://github.com/mdn/data/commit/0edc1ea255ffcbdda2305a8a128fffee63bfd891)) + + +### Miscellaneous + +* add CODEOWNERS for auto-adding reviewers ([#760](https://github.com/mdn/data/issues/760)) ([cae4438](https://github.com/mdn/data/commit/cae4438b47a837fde4f9915404c240d727cca5bc)) + +## [2.9.0](https://github.com/mdn/data/compare/v2.8.0...v2.9.0) (2024-07-03) + + +### Features + +* **css:** add text-spacing-trim property ([bb0a599](https://github.com/mdn/data/commit/bb0a599e7e45739b6b04fcc4982e322342034120)) + + +### Bug Fixes + +* **css/functions:** update path mdn_url ([#739](https://github.com/mdn/data/issues/739)) ([946c423](https://github.com/mdn/data/commit/946c42353d33eef81ebc238516f4a28cd03e5e5c)) +* **l10n/css:** replace removed macros ([#745](https://github.com/mdn/data/issues/745)) ([b9dcf29](https://github.com/mdn/data/commit/b9dcf2975f04fddf7a357e5b20d9aff37d6ab687)) + ## [2.8.0](https://github.com/mdn/data/compare/v2.7.0...v2.8.0) (2024-05-21) diff --git a/css/definitions.json b/css/definitions.json index 28b18646..df4d95f9 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -73,6 +73,7 @@ "Pseudo-classes", "Pseudo-elements", "Selectors", + "Scalable Vector Graphics", "WebKit Extensions" ] } diff --git a/css/functions.json b/css/functions.json index 3ec05751..09c9ce30 100644 --- a/css/functions.json +++ b/css/functions.json @@ -1,6 +1,6 @@ { "anchor()": { - "syntax": "anchor( ? , ? )", + "syntax": "anchor( ? && , ? )", "groups": [ "CSS Positioning" ], @@ -8,7 +8,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor" }, "anchor-size()": { - "syntax": "anchor-size( ? , ? )", + "syntax": "anchor-size( [ || ]? , ? )", "groups": [ "CSS Positioning" ], diff --git a/css/properties.json b/css/properties.json index 2e473159..e08383da 100644 --- a/css/properties.json +++ b/css/properties.json @@ -2085,7 +2085,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/appearance" }, "aspect-ratio": { - "syntax": "auto | ", + "syntax": "auto || ", "media": "all", "inherited": false, "animationType": "byComputedValueType", @@ -2453,9 +2453,9 @@ "media": "visual", "inherited": false, "animationType": [ - "border-color", + "border-width", "border-style", - "border-width" + "border-color" ], "percentages": "no", "groups": [ @@ -4107,6 +4107,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clip-path" }, + "clip-rule": { + "syntax": "nonzero | evenodd", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "nonzero", + "appliesto": "limitedSVGElementsGraphics", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clip-rule" + }, "color": { "syntax": "", "media": "visual", @@ -4128,6 +4144,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color" }, + "color-interpolation-filters": { + "syntax": "auto | sRGB | linearRGB", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "linearRGB", + "appliesto": "limitedSVGElementsFilterPrimitives", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clip-rule" + }, "color-scheme": { "syntax": "normal | [ light | dark | ]+ && only?", "media": "visual", @@ -4161,7 +4193,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/column-count" }, "column-fill": { - "syntax": "auto | balance | balance-all", + "syntax": "auto | balance", "media": "visualInContinuousMediaNoEffectInOverflowColumns", "inherited": false, "animationType": "discrete", @@ -4589,6 +4621,54 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cursor" }, + "d": { + "syntax": "none | path()", + "media": "visual", + "inherited": false, + "animationType": "basicShapeOtherwiseNo", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "none", + "appliesto": "limitedSVGElementsPath", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/d" + }, + "cx": { + "syntax": " | ", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportWidth", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsEllipse", + "computed": "percentageAsSpecifiedOrAbsoluteLength", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cx" + }, + "cy": { + "syntax": " | ", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportHeight", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsEllipse", + "computed": "percentageAsSpecifiedOrAbsoluteLength", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cy" + }, "direction": { "syntax": "ltr | rtl", "media": "visual", @@ -4621,6 +4701,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/display" }, + "dominant-baseline": { + "syntax": "auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top", + "media": "all", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "auto", + "appliesto": "blockContainersFlexContainersGridContainersInlineBoxesTableRowsSVGTextContentElements", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/dominant-baseline" + }, "empty-cells": { "syntax": "show | hide", "media": "visual", @@ -4653,6 +4749,54 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/field-sizing" }, + "fill": { + "syntax": "none | | [none | ]? | context-fill | context-stroke", + "media": "visual", + "inherited": true, + "animationType": "byComputedValueType", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "black", + "appliesto": "limitedSVGElementsShapeText", + "computed": "asColorOrAbsoluteURL", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fill" + }, + "fill-opacity": { + "syntax": "", + "media": "visual", + "inherited": true, + "animationType": "byComputedValueType", + "percentages": "mapToRange0To1", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "1", + "appliesto": "limitedSVGElementsShapeText", + "computed": "specifiedValueNumberClipped0To1", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fill-opacity" + }, + "fill-rule": { + "syntax": "nonzero | evenodd", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "nonzero", + "appliesto": "limitedSVGElementsShapeText", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fill-rule" + }, "filter": { "syntax": "none | ", "media": "visual", @@ -5406,7 +5550,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-weight" }, "forced-color-adjust": { - "syntax": "auto | none", + "syntax": "auto | none | preserve-parent-color", "media": "visual", "inherited": true, "animationType": "notAnimatable", @@ -6050,22 +6194,6 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset" }, - "inset-area": { - "syntax": "none | ", - "media": "visual", - "inherited": false, - "animationType": "discrete", - "percentages": "no", - "groups": [ - "CSS Positioning" - ], - "initial": "none", - "appliesto": "positionedElementsWithADefaultAnchorElement", - "computed": "asSpecified", - "order": "perGrammar", - "status": "experimental", - "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset-area" - }, "inset-block": { "syntax": "<'top'>{1,2}", "media": "visual", @@ -6174,6 +6302,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset-inline-start" }, + "interpolate-size": { + "syntax": "numeric-only | allow-keywords", + "media": "none", + "inherited": true, + "animationType": "notAnimatable", + "percentages": "no", + "groups": [ + "CSS Units" + ], + "initial": "numeric-only", + "appliesto": "allElements", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/interpolate-size" + }, "isolation": { "syntax": "auto | isolate", "media": "visual", @@ -6666,6 +6810,74 @@ "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-trim" }, + "marker": { + "syntax": "none | ", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": [ + "marker-start", + "marker-mid", + "marker-end" + ], + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/marker" + }, + "marker-end": { + "syntax": "none | ", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "none", + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecifiedURLsAbsolute", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/marker-end" + }, + "marker-mid": { + "syntax": "none | ", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "none", + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecifiedURLsAbsolute", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/marker-mid" + }, + "marker-start": { + "syntax": "none | ", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "none", + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecifiedURLsAbsolute", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/marker-start" + }, "mask": { "syntax": "#", "media": "visual", @@ -7301,7 +7513,8 @@ "appliesto": "transformableElements", "computed": "forLengthAbsoluteValueOtherwisePercentage", "order": "perGrammar", - "status": "standard" + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/offset-anchor" }, "offset-distance": { "syntax": "", @@ -7419,31 +7632,31 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/orphans" }, "outline": { - "syntax": "[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]", + "syntax": "[ <'outline-width'> || <'outline-style'> || <'outline-color'> ]", "media": [ "visual", "interactive" ], "inherited": false, "animationType": [ - "outline-color", "outline-width", - "outline-style" + "outline-style", + "outline-color" ], "percentages": "no", "groups": [ "CSS Basic User Interface" ], "initial": [ - "outline-color", + "outline-width", "outline-style", - "outline-width" + "outline-color" ], "appliesto": "allElements", "computed": [ - "outline-color", "outline-width", - "outline-style" + "outline-style", + "outline-color" ], "order": "orderOfAppearance", "status": "standard", @@ -8207,7 +8420,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position" }, "position-anchor": { - "syntax": "", + "syntax": "auto | ", "media": "visual", "inherited": false, "animationType": "discrete", @@ -8215,40 +8428,59 @@ "groups": [ "CSS Positioning" ], - "initial": "implicit", + "initial": "auto", "appliesto": "absolutelyPositionedElements", "computed": "asSpecified", "order": "perGrammar", "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-anchor" }, + "position-area": { + "syntax": "none | ", + "media": "visual", + "inherited": false, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "CSS Positioning" + ], + "initial": "none", + "appliesto": "positionedElementsWithADefaultAnchorElement", + "computed": "asSpecified", + "order": "perGrammar", + "status": "experimental", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-area" + }, "position-try": { - "syntax": "<'position-try-order'>? <'position-try-options'>", + "syntax": "<'position-try-order'>? <'position-try-fallbacks'>", "media": "visual", "inherited": false, "animationType": [ - "position-try-options", + "position-try-fallbacks", + "position-try-order" + ], + "percentages": [ + "position-try-fallbacks", "position-try-order" ], - "percentages": "no", "groups": [ "CSS Positioning" ], "initial": [ - "position-try-options", + "position-try-fallbacks", "position-try-order" ], "appliesto": "absolutelyPositionedElements", "computed": [ - "position-try-options", + "position-try-fallbacks", "position-try-order" ], "order": "perGrammar", "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-try" }, - "position-try-options": { - "syntax": "none | [ [ || ] | inset-area( <'inset-area'> ) ]#", + "position-try-fallbacks": { + "syntax": "none | [ [ || ] | <'position-area'> ]#", "media": "visual", "inherited": false, "animationType": "discrete", @@ -8261,7 +8493,7 @@ "computed": "asSpecified", "order": "perGrammar", "status": "experimental", - "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-try-options" + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks" }, "position-try-order": { "syntax": "normal | ", @@ -8327,6 +8559,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/quotes" }, + "r": { + "syntax": " | ", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportSize", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsCircle", + "computed": "percentageAsSpecifiedOrAbsoluteLength", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/r" + }, "resize": { "syntax": "none | both | horizontal | vertical | block | inline", "media": "visual", @@ -8439,8 +8687,40 @@ "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ruby-position" }, + "rx": { + "syntax": " | ", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportWidth", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsEllipseRect", + "computed": "percentageAsSpecifiedOrAbsoluteLength", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/rx" + }, + "ry": { + "syntax": " | ", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportHeight", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsEllipseRect", + "computed": "percentageAsSpecifiedOrAbsoluteLength", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ry" + }, "scale": { - "syntax": "none | {1,3}", + "syntax": "none | [ | ]{1,3}", "media": "visual", "inherited": false, "animationType": "transform", @@ -9165,6 +9445,166 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/shape-outside" }, + "shape-rendering": { + "syntax": "auto | optimizeSpeed | crispEdges | geometricPrecision", + "media": "visual", + "inherited": false, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "CSS Shapes" + ], + "initial": "auto", + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/shape-rendering" + }, + "stroke": { + "syntax": "", + "media": "visual", + "inherited": true, + "animationType": [ + "stroke-dasharray", + "stroke-dashoffset", + "stroke-linecap", + "stroke-linejoin", + "stroke-miterlimit", + "stroke-opacity", + "stroke-width" + ], + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": [ + "stroke-dasharray", + "stroke-dashoffset", + "stroke-linecap", + "stroke-linejoin", + "stroke-miterlimit", + "stroke-opacity", + "stroke-width" + ], + "appliesto": "asLonghands", + "computed": "asLonghands", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke" + }, + "stroke-dasharray": { + "syntax": "none | ", + "media": "visual", + "inherited": true, + "animationType": "repeatableList", + "percentages": "referToSVGViewportDiagonal", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "none", + "appliesto": "limitedSVGElementsShapes", + "computed": "listEachItemConsistingOfAbsoluteLengthPercentageOrKeyword", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray" + }, + "stroke-dashoffset": { + "syntax": " | ", + "media": "visual", + "inherited": true, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportDiagonal", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsShapes", + "computed": "absoluteLengthOrPercentageNumbersConverted", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset" + }, + "stroke-linecap": { + "syntax": "butt | round | square", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "butt", + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecified", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke-linecap" + }, + "stroke-linejoin": { + "syntax": "miter | miter-clip | round | bevel | arcs", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "miter", + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecified", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin" + }, + "stroke-miterlimit": { + "syntax": "", + "media": "visual", + "inherited": true, + "animationType": "byComputedValueType", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "4", + "appliesto": "limitedSVGElementsShapes", + "computed": "asSpecified", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit" + }, + "stroke-opacity": { + "syntax": "<'opacity'>", + "media": "visual", + "inherited": true, + "animationType": "byComputedValueType", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "1", + "appliesto": "limitedSVGElementsShapes", + "computed": "specifiedValueClipped0To1", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke-opacity" + }, + "stroke-width": { + "syntax": " | ", + "media": "visual", + "inherited": true, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportDiagonal", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "1px", + "appliesto": "limitedSVGElementsShapes", + "computed": "absoluteLengthOrPercentageNumbersConverted", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/stroke-width" + }, "tab-size": { "syntax": " | ", "media": "visual", @@ -9232,6 +9672,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-align-last" }, + "text-anchor": { + "syntax": "start | middle | end", + "media": "visual", + "inherited": true, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "start", + "appliesto": "limitedSVGElementsTextContent", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-anchor" + }, "text-combine-upright": { "syntax": "none | all | [ digits ? ]", "media": "visual", @@ -9441,7 +9897,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color" }, "text-emphasis-position": { - "syntax": "[ over | under ] && [ right | left ]", + "syntax": "auto | [ over | under ] && [ right | left ]?", "media": "visual", "inherited": true, "animationType": "discrete", @@ -9449,7 +9905,7 @@ "groups": [ "CSS Text Decoration" ], - "initial": "over right", + "initial": "auto", "appliesto": "allElements", "computed": "asSpecified", "order": "uniqueOrder", @@ -9667,17 +10123,23 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-underline-position" }, "text-wrap": { - "syntax": "wrap | nowrap | balance | stable | pretty", + "syntax": "<'text-wrap-mode> || <'text-wrap-style'>", "media": "visual", "inherited": true, - "animationType": "discrete", + "animationType": [ + "text-wrap-mode", + "text-wrap-style" + ], "percentages": "no", "groups": [ "CSS Text" ], "initial": "wrap", "appliesto": "textAndBlockContainers", - "computed": "asSpecified", + "computed": [ + "text-wrap-mode", + "text-wrap-style" + ], "order": "perGrammar", "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-wrap" @@ -9985,6 +10447,22 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/user-select" }, + "vector-effect": { + "syntax": "none | non-scaling-stroke | non-scaling-size | non-rotation | fixed-position", + "media": "visual", + "inherited": false, + "animationType": "discrete", + "percentages": "no", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "none", + "appliesto": "limitedSVGElementsGraphicsAndUse", + "computed": "asSpecified", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/vector-effect" + }, "vertical-align": { "syntax": "baseline | sub | super | text-top | text-bottom | middle | top | bottom | | ", "media": "visual", @@ -10260,6 +10738,38 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/writing-mode" }, + "x": { + "syntax": " | ", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportWidth", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsGeometry", + "computed": "percentageAsSpecifiedOrAbsoluteLength", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/x" + }, + "y": { + "syntax": " | ", + "media": "visual", + "inherited": false, + "animationType": "byComputedValueType", + "percentages": "referToSVGViewportHeight", + "groups": [ + "Scalable Vector Graphics" + ], + "initial": "0", + "appliesto": "limitedSVGElementsGeometry", + "computed": "percentageAsSpecifiedOrAbsoluteLength", + "order": "perGrammar", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/y" + }, "z-index": { "syntax": "auto | ", "media": "visual", @@ -10281,7 +10791,7 @@ "syntax": "normal | reset | | ", "media": "visual", "inherited": false, - "animationType": "integer", + "animationType": "notAnimatable", "percentages": "no", "groups": [ "Microsoft Extensions" diff --git a/css/properties.md b/css/properties.md index 2fa9c80f..4838e7d1 100644 --- a/css/properties.md +++ b/css/properties.md @@ -115,5 +115,5 @@ on MDN and the [CSS Values and Units](https://www.w3.org/TR/css3-values/#value-d There are 3 more properties that are optional: * `mdn_url` (string): a URL linking to the property's page on MDN. This URL must omit the localization part of the URL (such as `en-US/`). -* `stacking` (boolean): Whether or not the property creates a stacking context. See [stacking context](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context) for details. +* `stacking` (boolean): Whether or not the property creates a stacking context. See [stacking context](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context) for details. * `alsoAppliesTo` (enum): To which elements the property also applies to. See the schema for [a list of enums](https://github.com/mdn/data/blob/main/css/properties.schema.json#L253). diff --git a/css/properties.schema.json b/css/properties.schema.json index 98672695..d9ca6460 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -74,6 +74,10 @@ "referToSizeOfFont", "referToSizeOfMaskBorderImage", "referToSizeOfMaskPaintingArea", + "referToSVGViewportHeight", + "referToSVGViewportSize", + "referToSVGViewportWidth", + "referToSVGViewportDiagonal", "referToTotalPathLength", "referToWidthAndHeightOfElement", "referToWidthOfAffectedGlyph", @@ -107,14 +111,17 @@ "absoluteLengthOrNone", "absoluteLengthOrNormal", "absoluteLengthOrPercentage", + "absoluteLengthOrPercentageNumbersConverted", "absoluteLengthsSpecifiedColorAsSpecified", "absoluteLengthZeroIfBorderStyleNoneOrHidden", "absoluteLengthZeroOrLarger", "absoluteURIOrNone", "angleRoundedToNextQuarter", "asAutoOrColor", + "asColorOrAbsoluteURL", "asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified", "asLength", + "asLonghands", "asSpecified", "asSpecifiedAppliesToEachProperty", "asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent", @@ -138,6 +145,7 @@ "keywordPlusIntegerIfDigits", "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto", "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin", + "listEachItemConsistingOfAbsoluteLengthPercentageOrKeyword", "listEachItemConsistingOfNormalLengthPercentageOrNameLengthPercentage", "listEachItemConsistingOfPairsOfAutoOrLengthPercentage", "listEachItemHasTwoKeywordsOnePerDimension", @@ -194,6 +202,7 @@ "allElementsTreeAbidingPseudoElementsPageMarginBoxes", "allElementsUAsNotRequiredWhenCollapse", "anyElementEffectOnProgressAndMeter", + "asLonghands", "beforeAndAfterPseudos", "blockContainerElements", "blockContainers", @@ -201,6 +210,7 @@ "blockContainersExceptMultiColumnContainers", "blockContainersExceptTableWrappers", "blockContainersFlexContainersGridContainers", + "blockContainersFlexContainersGridContainersInlineBoxesTableRowsSVGTextContentElements", "blockContainersMultiColumnContainersFlexContainersGridContainers", "blockElementsInNormalFlow", "blockLevelElements", @@ -235,6 +245,19 @@ "inFlowChildrenOfBoxElements", "inlineBoxesAndBlockContainers", "inlineLevelAndTableCellElements", + "limitedSVGElements", + "limitedSVGElementsCircle", + "limitedSVGElementsEllipse", + "limitedSVGElementsEllipseRect", + "limitedSVGElementsFilterPrimitives", + "limitedSVGElementsGeometry", + "limitedSVGElementsGraphics", + "limitedSVGElementsGraphicsAndUse", + "limitedSVGElementsPath", + "limitedSVGElementsShapes", + "limitedSVGElementsShapesAndTextContent", + "limitedSVGElementsShapeText", + "limitedSVGElementsTextContent", "listItems", "maskElements", "multicolElements", diff --git a/css/syntaxes.json b/css/syntaxes.json index 8bf5d72f..08b197e9 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -57,7 +57,7 @@ "syntax": "[ ? [ | ] ]* ? \n[ ? [ | ] ]* ?" }, "axis": { - "syntax": "block | inline | vertical | horizontal" + "syntax": "block | inline | x | y" }, "baseline-position": { "syntax": "[ first | last ]? baseline" @@ -123,7 +123,7 @@ "syntax": "" }, "color": { - "syntax": " | | | | | | | | | | currentcolor | " + "syntax": " | | | | | | | | | | | | | | currentcolor | transparent" }, "color-stop": { "syntax": " | " @@ -137,6 +137,9 @@ "color-stop-list": { "syntax": "[ [, ]? ]# , " }, + "color-interpolation-method": { + "syntax": "in [ | ? ]" + }, "combinator": { "syntax": "'>' | '+' | '~' | [ '||' ]" }, @@ -356,6 +359,9 @@ "hue-rotate()": { "syntax": "hue-rotate( )" }, + "hue-interpolation-method": { + "syntax": "[ shorter | longer | increasing | decreasing ] hue" + }, "hwb()": { "syntax": "hwb( [ | none] [ | none] [ | none] [ / [ | none] ]? )" }, @@ -447,7 +453,7 @@ "syntax": " ?" }, "linear-gradient()": { - "syntax": "linear-gradient( [ | to ]? , )" + "syntax": "linear-gradient( [ [ | to ] || ]? , )" }, "log()": { "syntax": "log( , ? )" @@ -596,6 +602,9 @@ "polygon()": { "syntax": "polygon( ? , [ ]# )" }, + "polar-color-space": { + "syntax": "hsl | hwb | lch | oklch" + }, "position": { "syntax": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | ] [ top | center | bottom | ]? | [ [ left | right ] ] && [ [ top | bottom ] ] ]" }, @@ -626,6 +635,9 @@ "ray-size": { "syntax": "closest-side | closest-corner | farthest-side | farthest-corner | sides" }, + "rectangular-color-space": { + "syntax": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65" + }, "relative-selector": { "syntax": "? " }, @@ -702,7 +714,7 @@ "syntax": "scroll( [ || ]? )" }, "scroller": { - "syntax": "root | nearest" + "syntax": "root | nearest | self" }, "self-position": { "syntax": "center | start | end | self-start | self-end | flex-start | flex-end" @@ -800,6 +812,9 @@ "symbol": { "syntax": " | | " }, + "system-color": { + "syntax": "AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText" + }, "tan()": { "syntax": "tan( )" }, diff --git a/l10n/css.json b/l10n/css.json index 17527859..19d60b08 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -91,6 +91,9 @@ "ja": "{{cssxref(\"length\")}} の場合は絶対的な値、それ以外はパーセント値", "ru": "для {{cssxref(\"length\")}} абсолютного значения, иначе процент" }, + "absoluteLengthOrPercentageNumbersConverted": { + "en-US": "an absolute {{cssxref(\"length\")}} or {{cssxref(\"percentage\")}}, numbers converted to absolute lengths first" + }, "absoluteLengthsSpecifiedColorAsSpecified": { "de": "Längen absolut gemacht; angegebene Farben berechnet; ansonsten wie angegeben", "en-US": "any length made absolute; any specified color computed; otherwise as specified", @@ -326,11 +329,11 @@ "ru": "как <angle>, <basic-shape> или <path()>" }, "angleRoundedToNextQuarter": { - "de": "ein {{xref_cssangle}}, auf den nächsten Viertel von 0deg gerundet (üblicherweise  1turn)", - "en-US": "an {{xref_cssangle}}, rounded to the next quarter turn from 0deg and normalized, that is moduloing the value by 1turn", - "fr": "un {{xref_cssangle}}, arrondi au quart de tour supérieur (à partir de 0deg) puis normalisé (modulo) pour obtenir l'angle relatif à un tour", - "ja": "0deg から次の 4 分の 1 回転に丸めて正規化した {{xref_cssangle}} を 1turn で割った余り", - "ru": "{{xref_cssangle}}, с округлением до следующей четверти оборота от 0deg и нормализованный так, что значение - 1 поворот" + "de": "ein {{cssxref(\"angle\")}}, auf den nächsten Viertel von 0deg gerundet (üblicherweise  1turn)", + "en-US": "an {{cssxref(\"angle\")}}, rounded to the next quarter turn from 0deg and normalized, that is moduloing the value by 1turn", + "fr": "un {{cssxref(\"angle\")}}, arrondi au quart de tour supérieur (à partir de 0deg) puis normalisé (modulo) pour obtenir l'angle relatif à un tour", + "ja": "0deg から次の 4 分の 1 回転に丸めて正規化した {{cssxref(\"angle\")}} を 1turn で割った余り", + "ru": "{{cssxref(\"angle\")}}, с округлением до следующей четверти оборота от 0deg и нормализованный так, что значение - 1 поворот" }, "animationType": { "de": "Animationstyp", @@ -369,6 +372,9 @@ "de": "auto wird wie angegeben berechnet und <color> Werte werden wie für die {{cssxref(\"color\")}} Eigenschaft berechnet.", "ja": "auto は仕様通りに計算され、 <color> 値は {{cssxref(\"color\")}} プロパティで定義されたように計算される。" }, + "asColorOrAbsoluteURL": { + "en-US": "as specified, but with <color> values computed and <url> values made absolute" + }, "asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified": { "de": "wie definiert für {{cssxref(\"basic-shape\")}} (gefolgt von {{cssxref(\"shape-box\")}}, falls angegeben), dem {{cssxref(\"image\")}}, dessen URI absolut gemacht wurde, ansonsten wie angegeben.", "en-US": "as defined for {{cssxref(\"basic-shape\")}} (with {{cssxref(\"shape-box\")}} following, if supplied), the {{cssxref(\"image\")}} with its URI made absolute, otherwise as specified.", @@ -549,6 +555,9 @@ "en-US": "Block-containers, flex containers, and grid containers", "ja": "ブロックコンテナー, フレックスコンテナー, グリッドコンテナー" }, + "blockContainersFlexContainersGridContainersInlineBoxesTableRowsSVGTextContentElements": { + "en-US": "Block-containers, flex containers, grid containers, inline boxes, table rows, and SVG text content elements" + }, "blockContainersMultiColumnContainersFlexContainersGridContainers": { "en-US": "Block-containers, multi-column containers, flex containers" }, @@ -651,11 +660,11 @@ "ru": "продолжительный" }, "createsStackingContext": { - "de": "Erstellt Stapelkontext", - "en-US": "Creates stacking context", - "fr": "Crée un contexte d'empilement", - "ja": "重ね合わせコンテキストの生成", - "ru": "Создаёт контекст наложения" + "de": "Erstellt Stapelkontext", + "en-US": "Creates stacking context", + "fr": "Crée un contexte d'empilement", + "ja": "重ね合わせコンテキストの生成", + "ru": "Создаёт контекст наложения" }, "dependsOnLayoutModel": { "de": "hängt vom Layoutmodell ab", @@ -808,12 +817,12 @@ "ru": "жирность шрифта" }, "forLengthAbsoluteValueOtherwisePercentage": { - "de": "for {{xref_csslength}} the absolute value, otherwise a percentage", - "en-US": "for {{xref_csslength}} the absolute value, otherwise a percentage", - "fr": "pour une valeur de type {{xref_csslength}} sa valeur absolue, sinon un pourcentage", - "ja": "{{xref_csslength}} の場合は絶対的な値、それ以外の場合はパーセント値", - "ru": "для {{xref_csslength}} абсолютное значение, иначе процент", - "zh-CN": "对于 {{xref_csslength}} 则为绝对值,否则为百分比值" + "de": "for {{cssxref(\"length\")}} the absolute value, otherwise a percentage", + "en-US": "for {{cssxref(\"length\")}} the absolute value, otherwise a percentage", + "fr": "pour une valeur de type {{cssxref(\"length\")}} sa valeur absolue, sinon un pourcentage", + "ja": "{{cssxref(\"length\")}} の場合は絶対的な値、それ以外の場合はパーセント値", + "ru": "для {{cssxref(\"length\")}} абсолютное значение, иначе процент", + "zh-CN": "对于 {{cssxref(\"length\")}} 则为绝对值,否则为百分比值" }, "gridContainers": { "de": "Gridcontainer", @@ -959,6 +968,42 @@ "lengthsAsPercentages": { "en-US": "The lengths may be specified as percentages" }, + "limitedSVGElementsCircle": { + "en-US": "{{SVGElement(\"circle\")}} element in {{SVGElement(\"svg\")}}" + }, + "limitedSVGElementsEllipse": { + "en-US": "{{SVGElement(\"ellipse\")}} and {{SVGElement(\"circle\")}} elements in {{SVGElement(\"svg\")}}" + }, + "limitedSVGElementsEllipseRect": { + "en-US": "{{SVGElement(\"ellipse\")}} and {{SVGElement(\"rect\")}} elements in {{SVGElement(\"svg\")}}" + }, + "limitedSVGElementsGeometry": { + "en-US": "{{SVGElement(\"svg\")}}, {{SVGElement(\"rect\")}}, {{SVGElement(\"image\")}}, and {{SVGElement(\"foreignObject\")}} elements in an svg" + }, + "limitedSVGElementsPath": { + "en-US": "{{SVGElement(\"path\")}} element in {{SVGElement(\"svg\")}}" + }, + "limitedSVGElementsShapeText": { + "en-US": "SVG shapes and text content elements" + }, + "limitedSVGElementsFilterPrimitives": { + "en-US": "The set of elements that control the output of a {{SVGElement(\"filter\")}} element in {{SVGElement(\"svg\")}}" + }, + "limitedSVGElementsGraphics": { + "en-US": "{{SVGElement(\"circle\")}}, {{SVGElement(\"ellipse\")}}, {{SVGElement(\"foreignObject\")}}, {{SVGElement(\"image\")}}, {{SVGElement(\"line\")}}, {{SVGElement(\"path\")}}, {{SVGElement(\"polygon\")}}, {{SVGElement(\"polyline\")}}, {{SVGElement(\"rect\")}}, {{SVGElement(\"text\")}}, {{SVGElement(\"textPath\")}}, and {{SVGElement(\"tspan\")}} elements in {{SVGElement(\"svg\")}}" + }, + "limitedSVGElementsGraphicsAndUse": { + "en-US": "{{SVGElement(\"circle\")}}, {{SVGElement(\"ellipse\")}}, {{SVGElement(\"foreignObject\")}}, {{SVGElement(\"image\")}}, {{SVGElement(\"line\")}}, {{SVGElement(\"path\")}}, {{SVGElement(\"polygon\")}}, {{SVGElement(\"polyline\")}}, {{SVGElement(\"rect\")}}, {{SVGElement(\"use\")}}, {{SVGElement(\"text\")}}, {{SVGElement(\"textPath\")}}, and {{SVGElement(\"tspan\")}} elements in {{SVGElement(\"svg\")}}" + }, + "limitedSVGElementsShapes": { + "en-US": "{{SVGElement(\"circle\")}}, {{SVGElement(\"ellipse\")}}, {{SVGElement(\"line\")}}, {{SVGElement(\"path\")}}, {{SVGElement(\"polygon\")}}, {{SVGElement(\"polyline\")}}, and {{SVGElement(\"rect\")}} elements in an svg" + }, + "limitedSVGElementsShapesAndTextContent": { + "en-US": "{{SVGElement(\"circle\")}}, {{SVGElement(\"ellipse\")}}, {{SVGElement(\"line\")}}, {{SVGElement(\"path\")}}, {{SVGElement(\"polygon\")}}, {{SVGElement(\"polyline\")}}, {{SVGElement(\"rect\")}}, {{SVGElement(\"text\")}}, {{SVGElement(\"textPath\")}}, and {{SVGElement(\"tspan\")}} elements in an svg" + }, + "limitedSVGElementsTextContent": { + "en-US": "{{SVGElement(\"text\")}}, {{SVGElement(\"textPath\")}}, and {{SVGElement(\"tspan\")}} elements in an svg" + }, "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin": { "de": "Eine Liste, bei der jeder Eintrag aus einem Versatz besteht, der durch eine Kombination aus absoluter Länge und einem Prozentsatz plus einem Ursprungsschlüsselwort definiert wird", "en-US": "A list, each item consisting of: an offset given as a combination of an absolute length and a percentage, plus an origin keyword", @@ -966,6 +1011,9 @@ "ja": "絶対長とパーセント値の組み合わせで与えられるオフセットと原点のキーワードを、各項目として構成されるリスト。", "ru": "Список, каждый элемент которого состоит из: смещения, данного комбинацией абсолютной длины и процентов плюс ключевое слово" }, + "listEachItemConsistingOfAbsoluteLengthPercentageOrKeyword": { + "en-US": "A comma separated list of absolute lengths or percentages, numbers converted to absolute lengths first, or keyword specified" + }, "listEachItemConsistingOfNormalLengthPercentageOrNameLengthPercentage": { "en-US": "A list where each item may be 'normal', a length percentage, or a timeline range name and a length percentage", "ja": "リストで、それぞれの項目は 'normal'、長さのパーセント値、タイムラインの範囲名と長さのパーセント値のいずれか。" @@ -986,11 +1034,11 @@ "ja": "リストで、それぞれの項目は大文字小文字を区別する CSS 識別子またはキーワード none, auto" }, "listEachItemTwoKeywordsOriginOffsets": { - "de": "a list, each item consisting of two keywords representing the origin undtwo offsets from that origin, each given as an absolute length (if given a {{xref_csslength}}), otherwise as a percentage", - "en-US": "a list, each item consisting of two keywords representing the origin and two offsets from that origin, each given as an absolute length (if given a {{xref_csslength}}), otherwise as a percentage", - "fr": "une liste dont chaque élément consiste en deux mots-clé représentant l'origine et deux offsets depuis cette origine, chacun étant une longueur absolue (si spécifié comme une {{xref_csslength}}), ou un pourcentage", - "ja": "それぞれの項目が原点を表す 2 つのキーワードおよびその原点からの 2 つのオフセット値であるリストであり、それぞれが絶対的な長さ ({{xref_csslength}} が与えられた場合) またはパーセント値で与えられる", - "ru": "список, каждый элемент которого состоит из двух ключевых слов, представляющих начало координат и два смещения от этого начала, каждое из которых задаётся абсолютной длиной (если дано {{xref_csslength}}), иначе как проценты" + "de": "a list, each item consisting of two keywords representing the origin undtwo offsets from that origin, each given as an absolute length (if given a {{cssxref(\"length\")}}), otherwise as a percentage", + "en-US": "a list, each item consisting of two keywords representing the origin and two offsets from that origin, each given as an absolute length (if given a {{cssxref(\"length\")}}), otherwise as a percentage", + "fr": "une liste dont chaque élément consiste en deux mots-clé représentant l'origine et deux offsets depuis cette origine, chacun étant une longueur absolue (si spécifié comme une {{cssxref(\"length\")}}), ou un pourcentage", + "ja": "それぞれの項目が原点を表す 2 つのキーワードおよびその原点からの 2 つのオフセット値であるリストであり、それぞれが絶対的な長さ ({{cssxref(\"length\")}} が与えられた場合) またはパーセント値で与えられる", + "ru": "список, каждый элемент которого состоит из двух ключевых слов, представляющих начало координат и два смещения от этого начала, каждое из которых задаётся абсолютной длиной (если дано {{cssxref(\"length\")}}), иначе как проценты" }, "listItems": { "de": "Listenelemente", @@ -1409,6 +1457,18 @@ "ja": "マスク描画領域の寸法からマスクレイヤー画像の寸法を引いたものに対する相対値 ({{cssxref(\"background-position\")}} のテキストを参照)", "ru": "относятся к размеру маски области рисования минус размер маски слоя изображения (смотрите статью о {{cssxref(\"background-position\")}})" }, + "referToSVGViewportSize": { + "en-US": "refer to the normalized diagonal of the current SVG viewport" + }, + "referToSVGViewportHeight": { + "en-US": "refer to the height of the current SVG viewport" + }, + "referToSVGViewportWidth": { + "en-US": "refer to the width of the current SVG viewport" + }, + "referToSVGViewportDiagonal": { + "en-US": "refer to the normalized diagonal measure of the current SVG viewport’s applied {{SVGAttr(\"viewBox\")}}, or of the viewport itself if no `viewBox` is specified" + }, "referToTotalPathLength": { "de": "beziehen sich auf die Gesamtlänge des Pfads", "en-US": "refer to the total path length", diff --git a/package-lock.json b/package-lock.json index e1e24cd3..206a3e3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mdn-data", - "version": "2.8.0", + "version": "2.12.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mdn-data", - "version": "2.8.0", + "version": "2.12.2", "license": "CC0-1.0", "devDependencies": { "ajv": "^6.12.6", diff --git a/package.json b/package.json index 4efb6d35..eb6eb345 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mdn-data", - "version": "2.8.0", + "version": "2.12.2", "description": "Open Web data by the Mozilla Developer Network", "main": "index.js", "files": [