From 87516f27d798caad1c3b2f1e5c4a9017ec1b3daf Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:50:53 +0800 Subject: [PATCH 1/2] Fix browser-compat key for css `` type (#37331) fix browser-compat key for css `` type --- files/en-us/web/css/gradient/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/css/gradient/index.md b/files/en-us/web/css/gradient/index.md index 2ff9635d23f48b1..23125a207a0e71b 100644 --- a/files/en-us/web/css/gradient/index.md +++ b/files/en-us/web/css/gradient/index.md @@ -2,7 +2,7 @@ title: slug: Web/CSS/gradient page-type: css-type -browser-compat: css.types.image.gradient +browser-compat: css.types.gradient --- {{CSSRef}} From 879db96bee7cd8301bbc38d326d9b905ae4493d1 Mon Sep 17 00:00:00 2001 From: Zenkoina <74417249+Zenkoina@users.noreply.github.com> Date: Tue, 24 Dec 2024 04:28:17 +0100 Subject: [PATCH 2/2] fix: links to correct pages (#37350) --- files/en-us/web/api/elementinternals/setvalidity/index.md | 2 +- files/en-us/web/api/htmlbuttonelement/validity/index.md | 2 +- files/en-us/web/api/htmlinputelement/index.md | 2 +- .../en-us/web/api/htmlselectelement/checkvalidity/index.md | 2 +- files/en-us/web/api/validitystate/customerror/index.md | 6 +++--- files/en-us/web/api/validitystate/index.md | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/files/en-us/web/api/elementinternals/setvalidity/index.md b/files/en-us/web/api/elementinternals/setvalidity/index.md index 6088d1d404832e7..cfd8bfb6218278a 100644 --- a/files/en-us/web/api/elementinternals/setvalidity/index.md +++ b/files/en-us/web/api/elementinternals/setvalidity/index.md @@ -43,7 +43,7 @@ setValidity(flags, message, anchor) - `badInput` - : A boolean value that is `true` if the user has provided input that the browser is unable to convert. - `customError` - - : A boolean value indicating whether the element's custom validity message has been set to a non-empty string by calling the element's {{domxref('HTMLObjectElement.setCustomValidity', 'setCustomValidity()')}} method. + - : A boolean value indicating whether the element's custom validity message has been set to a non-empty string by calling the element's {{domxref('HTMLInputElement.setCustomValidity', 'setCustomValidity()')}} method. > [!NOTE] > To set all flags to `false`, indicating that this element passes all constraints validation, pass in an empty object `{}`. In this case, you do not need to also pass a `message`. diff --git a/files/en-us/web/api/htmlbuttonelement/validity/index.md b/files/en-us/web/api/htmlbuttonelement/validity/index.md index 7af05a37fa24cf2..5fa3cee8eceb5ce 100644 --- a/files/en-us/web/api/htmlbuttonelement/validity/index.md +++ b/files/en-us/web/api/htmlbuttonelement/validity/index.md @@ -16,7 +16,7 @@ A {{domxref("ValidityState")}} object. ## Examples -The following example demonstrates that a `