-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into groups-and-backreferences-#2664
- Loading branch information
Showing
53 changed files
with
480 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
live-examples/css-examples/generated-content/function-counter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<p>Best Dynamic Duos in Sports:</p> | ||
<ol class="double-list"> | ||
<li>Stephen Curry + Klay Thompson</li> | ||
<li>Simone Biles + Jonathan Owens</li> | ||
<li>Serena Williams + Venus Williams</li> | ||
<li>Aaron Judge + Giancarlo Stanton</li> | ||
<li>Michael Phelps + Ryan Lochte</li> | ||
<li>LeBron James + Dwyane Wade</li> | ||
<li>Xavi Hernandez + Andres Iniesta</li> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<form> | ||
<label for="name">Name:</label> | ||
<input name="name" type="text" /> | ||
<input id="name" name="name" type="text" /> | ||
|
||
<label for="emp">Employed:</label> | ||
<select name="emp" disabled> | ||
<select id="emp" name="emp" disabled> | ||
<option>No</option> | ||
<option>Yes</option> | ||
</select> | ||
|
||
<label for="empDate">Employment Date:</label> | ||
<input name="empDate" type="date" disabled /> | ||
<input id="empDate" name="empDate" type="date" disabled /> | ||
|
||
<label for="resume">Resume:</label> | ||
<input name="resume" type="file" /> | ||
<input id="resume" name="resume" type="file" /> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<form> | ||
<label for="name">Name:</label> | ||
<input name="name" type="text" /> | ||
<input id="name" name="name" type="text" /> | ||
|
||
<label for="emp">Employed:</label> | ||
<select name="emp" disabled> | ||
<select id="emp" name="emp" disabled> | ||
<option>No</option> | ||
<option>Yes</option> | ||
</select> | ||
|
||
<label for="empDate">Employment Date:</label> | ||
<input name="empDate" type="date" disabled /> | ||
<input id="empDate" name="empDate" type="date" disabled /> | ||
|
||
<label for="resume">Resume:</label> | ||
<input name="resume" type="file" /> | ||
<input id="resume" name="resume" type="file" /> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<form> | ||
<label for="amount">How many tickets? (You can buy 2-6 tickets)</label> | ||
<input name="amount" type="number" min="2" max="6" value="4" /> | ||
<input id="amount" name="amount" type="number" min="2" max="6" value="4" /> | ||
|
||
<label for="dep">Departure Date: (Whole year 2022 is acceptable)</label> | ||
<input name="dep" type="date" min="2022-01-01" max="2022-12-31" value="2025-05-05" /> | ||
<input id="dep" name="dep" type="date" min="2022-01-01" max="2022-12-31" value="2025-05-05" /> | ||
|
||
<label for="ret">Return Date: (Whole year 2022 is acceptable)</label> | ||
<input name="ret" type="date" min="2022-01-01" max="2022-12-31" /> | ||
<input id="ret" name="ret" type="date" min="2022-01-01" max="2022-12-31" /> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<form> | ||
<label for="email">Email Address:</label> | ||
<input name="email" type="email" value="na@[email protected]" /> | ||
<input id="email" name="email" type="email" value="na@[email protected]" /> | ||
|
||
<label for="secret">Secret Code: (lower case letters)</label> | ||
<input name="secret" type="text" value="test" pattern="[a-z]+" /> | ||
<input id="secret" name="secret" type="text" value="test" pattern="[a-z]+" /> | ||
|
||
<label for="age">Your age: (18+)</label> | ||
<input name="age" type="number" value="5" min="18" /> | ||
<input id="age" name="age" type="number" value="5" min="18" /> | ||
|
||
<label><input name="tos" type="checkbox" required checked /> - Do you agree to ToS?</label> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<form> | ||
<label for="amount">How many tickets? (You can buy 2-6 tickets)</label> | ||
<input name="amount" type="number" min="2" max="6" value="4" /> | ||
<input id="amount" name="amount" type="number" min="2" max="6" value="4" /> | ||
|
||
<label for="dep">Departure Date: (Whole year 2022 is acceptable)</label> | ||
<input name="dep" type="date" min="2022-01-01" max="2022-12-31" value="2025-05-05" /> | ||
<input id="dep" name="dep" type="date" min="2022-01-01" max="2022-12-31" value="2025-05-05" /> | ||
|
||
<label for="ret">Return Date: (Whole year 2022 is acceptable)</label> | ||
<input name="ret" type="date" min="2022-01-01" max="2022-12-31" /> | ||
<input id="ret" name="ret" type="date" min="2022-01-01" max="2022-12-31" /> | ||
</form> |
6 changes: 3 additions & 3 deletions
6
live-examples/css-examples/pseudo-class/placeholder-shown.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<form> | ||
<label for="name">Full Name:</label> | ||
<input name="name" type="text" /> | ||
<input id="name" name="name" type="text" /> | ||
|
||
<label for="email">Email Address:</label> | ||
<input name="email" type="email" placeholder="[email protected]" /> | ||
<input id="email" name="email" type="email" placeholder="[email protected]" /> | ||
|
||
<label for="age">Your age:</label> | ||
<input name="age" type="number" value="18" placeholder="You must be 18+" /> | ||
<input id="age" name="age" type="number" value="18" placeholder="You must be 18+" /> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
|
||
<form> | ||
<label for="email">Email Address:</label> | ||
<input name="email" type="email" value="[email protected]" /> | ||
<input id="email" name="email" type="email" value="[email protected]" /> | ||
|
||
<label for="note">Short note about yourself:</label> | ||
<textarea name="note">Don't be shy</textarea> | ||
<textarea id="note" name="note">Don't be shy</textarea> | ||
|
||
<label for="pic">Your picture:</label> | ||
<input name="pic" type="file" /> | ||
<input id="pic" name="pic" type="file" /> | ||
|
||
<input type="submit" value="Submit form" /> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
|
||
<form> | ||
<label for="email">Email Address:</label> | ||
<input name="email" type="email" value="[email protected]" /> | ||
<input id="email" name="email" type="email" value="[email protected]" /> | ||
|
||
<label for="note">Short note about yourself:</label> | ||
<textarea name="note">Don't be shy</textarea> | ||
<textarea id="note" name="note">Don't be shy</textarea> | ||
|
||
<label for="pic">Your picture:</label> | ||
<input name="pic" type="file" /> | ||
<input id="pic" name="pic" type="file" /> | ||
|
||
<input type="submit" value="Submit form" /> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<form> | ||
<label for="email">Email Address:</label> | ||
<input name="email" type="email" value="na@[email protected]" /> | ||
<input id="email" name="email" type="email" value="na@[email protected]" /> | ||
|
||
<label for="secret">Secret Code: (lower case letters)</label> | ||
<input name="secret" type="text" value="test" pattern="[a-z]+" /> | ||
<input id="secret" name="secret" type="text" value="test" pattern="[a-z]+" /> | ||
|
||
<label for="age">Your age: (18+)</label> | ||
<input name="age" type="number" value="5" min="18" /> | ||
<input id="age" name="age" type="number" value="5" min="18" /> | ||
|
||
<label><input name="tos" type="checkbox" required checked /> - Do you agree to ToS?</label> | ||
</form> |
2 changes: 1 addition & 1 deletion
2
live-examples/css-examples/pseudo-element/file-selector-button.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<label for="avatar">Choose a profile picture:</label><br /> | ||
|
||
<input type="file" name="avatar" accept="image/png, image/jpeg" /> | ||
<input id="avatar" type="file" name="avatar" accept="image/png, image/jpeg" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<label for="first-name">Your phone number:</label><br /> | ||
|
||
<input type="tel" name="phone" minlength="9" maxlength="9" placeholder="It must be 9 digits" /> | ||
<input id="first-name" type="tel" name="phone" minlength="9" maxlength="9" placeholder="It must be 9 digits" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#output section { | ||
font-size: 1.5em; | ||
font-size: 1.25em; | ||
background-color: #483d8b; | ||
align-items: start; | ||
} | ||
|
||
#example-element { | ||
text-align: left; | ||
margin-left: 3em; | ||
margin: 0 0 0 3em; | ||
background-color: #6a5acd; | ||
color: white; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
live-examples/html-examples/form-attributes/attribute-accept.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<label for="movie">Choose a movie to upload:</label> | ||
|
||
<input type="file" name="movie" accept="video/*" /> | ||
<input type="file" id="movie" name="movie" accept="video/*" /> | ||
|
||
<label for="poster">Choose a poster:</label> | ||
|
||
<input type="file" name="poster" accept="image/png, image/jpeg" /> | ||
<input type="file" id="poster" name="poster" accept="image/png, image/jpeg" /> |
8 changes: 4 additions & 4 deletions
8
live-examples/html-examples/form-attributes/attribute-capture.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<label for="picture">Take a picture of your face:</label> | ||
<label for="selfie">Take a picture of your face:</label> | ||
|
||
<input type="file" name="picture" accept="image/*" capture="user" /> | ||
<input type="file" id="selfie" name="selfie" accept="image/*" capture="user" /> | ||
|
||
<label for="voice">Record a sample of your voice:</label> | ||
<label for="picture">Take a picture using back facing camera:</label> | ||
|
||
<input type="file" name="voice" accept="audio/*" capture /> | ||
<input type="file" id="picture" name="picture" accept="image/*" capture="environment" /> |
8 changes: 4 additions & 4 deletions
8
live-examples/html-examples/form-attributes/attribute-disabled.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<form> | ||
<label for="name">Name:</label> | ||
<input name="name" type="text" /> | ||
<input id="name" name="name" type="text" /> | ||
|
||
<label for="emp">Employed:</label> | ||
<select name="emp" disabled> | ||
<select id="emp" name="emp" disabled> | ||
<option>No</option> | ||
<option>Yes</option> | ||
</select> | ||
|
||
<label for="empDate">Employment Date:</label> | ||
<input name="empDate" type="date" disabled /> | ||
<input id="empDate" name="empDate" type="date" disabled /> | ||
|
||
<label for="resume">Resume:</label> | ||
<input name="resume" type="file" /> | ||
<input id="resume" name="resume" type="file" /> | ||
</form> |
Oops, something went wrong.