]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport #32015
authorXhmikosR <xhmikosr@gmail.com>
Fri, 30 Oct 2020 14:26:55 +0000 (16:26 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 30 Oct 2020 14:34:06 +0000 (16:34 +0200)
Fix redirects

site/docs/4.5/components/forms.md
site/docs/4.5/getting-started/build-tools.md

index a3cd02618753c686894ec57a6cfb34346d2e6c4c..6058b44abd87b6927e920475922c8e8945b52ef1 100644 (file)
@@ -761,7 +761,7 @@ Here's how form validation works with Bootstrap:
 - To reset the appearance of the form (for instance, in the case of dynamic form submissions using AJAX), remove the `.was-validated` class from the `<form>` again after submission.
 - As a fallback, `.is-invalid` and `.is-valid` classes may be used instead of the pseudo-classes for [server side validation](#server-side). They do not require a `.was-validated` parent class.
 - Due to constraints in how CSS works, we cannot (at present) apply styles to a `<label>` that comes before a form control in the DOM without the help of custom JavaScript.
-- All modern browsers support the [constraint validation API](https://www.w3.org/TR/html5/sec-forms.html#the-constraint-validation-api), a series of JavaScript methods for validating form controls.
+- All modern browsers support the [constraint validation API](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-constraint-validation-api), a series of JavaScript methods for validating form controls.
 - Feedback messages may utilize the [browser defaults](#browser-defaults) (different for each browser, and unstylable via CSS) or our custom feedback styles with additional HTML and CSS.
 - You may provide custom validity messages with `setCustomValidity` in JavaScript.
 
index 873a1ca11bcc0cec0c195623e6c8bc52c8b71cdd..58b5af285c430c62ea8b20bc0389dbff3c076f19 100644 (file)
@@ -8,7 +8,7 @@ toc: true
 
 ## Tooling setup
 
-Bootstrap uses [npm scripts](https://docs.npmjs.com/misc/scripts) for its build system. Our [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json) includes convenient methods for working with the framework, including compiling code, running tests, and more.
+Bootstrap uses [npm scripts](https://docs.npmjs.com/misc/scripts/) for its build system. Our [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json) includes convenient methods for working with the framework, including compiling code, running tests, and more.
 
 To use our build system and run our documentation locally, you'll need a copy of Bootstrap's source files and Node. Follow these steps and you should be ready to rock: