Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/dictionaries/code-entities.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ associationlistitemvalue
attributionsrc
audiocontext
authorid
autospace
backdrag
backgroundfetchabort
backgroundfetchclick
Expand Down Expand Up @@ -734,7 +735,6 @@ telu
testingbot-api
texlive
texlive-fontsextra
text-autospace
textformatupdate
textupdate
TEXTUREI
Expand Down
2 changes: 2 additions & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ overlines
overscript
overscripts
overscrolling
overtype
packetization
packetizer
packetizing
Expand Down Expand Up @@ -675,6 +676,7 @@ spinlocks
spoofable
spritesheet
spritesheets
squircle
SSML
ssthresh
STIX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Inside the function body, write code that does the following:
> You _could_ just hardcode the `<option>` elements inside the HTML, but that would only work for this exact data set. We want you to write JavaScript that will correctly populate the form regardless of the data values provided (each house object would have to have the same structure).

> [!NOTE]
> You could use the `innerHTML` property to add child content inside HTML elements, but we'd recommend not doing so. You can't always trust the data you are adding to your page: If it is not properly sanitised on the server, bad actors could use `innerHTML` as a pathway to carry out [Cross-site scripting (XSS)](/en-US/docs/Web/Security/Attacks/XSS) attacks on your page. A safer route is to use DOM scripting features such as `createElement()`, `appendChild()`, and `textContent`. Using `innerHTML` to remove child content isn't such an issue.
> You could use the `innerHTML` property to add child content inside HTML elements, but we'd recommend not doing so. You can't always trust the data you are adding to your page: If it is not properly sanitized on the server, bad actors could use `innerHTML` as a pathway to carry out [Cross-site scripting (XSS)](/en-US/docs/Web/Security/Attacks/XSS) attacks on your page. A safer route is to use DOM scripting features such as `createElement()`, `appendChild()`, and `textContent`. Using `innerHTML` to remove child content isn't such an issue.

### Completing the `renderHouses()` function

Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmlformelement/elements/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The first form is full, with four form controls: one {{htmlelement("fieldset")}}
<legend>This is a legend</legend>
<label>A form control: <input form="sparseForm" /></label>
<label>Another form control: <input form="sparseForm" /></label>
<label>Yest anotehr form control: <input form="sparseForm" /></label>
<label>Yet another form control: <input form="sparseForm" /></label>
</fieldset>
</form>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/css/caret-shape/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ span {
}

@keyframes old-caret {
from,
0%,
50% {
caret-color: #00ad00;
}
75%,
to {
100% {
caret-color: transparent;
}
}
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/css/caret/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ span {
}

@keyframes vintage-caret {
from,
0%,
50% {
caret-color: #00ad00;
}
75%,
to {
100% {
caret-color: transparent;
}
}
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/css/corner-shape/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ div {
}

div:hover {
background-color: rgb(255 255 255 / 1);
background-color: white;
}
```

Expand Down Expand Up @@ -531,7 +531,7 @@ div {
```

```css live-sample___corner-shape-animation
@keyframes cornerpulse {
@keyframes corner-pulse {
from {
corner-shape: square;
}
Expand All @@ -543,7 +543,7 @@ div {

html:hover div,
div:focus {
animation: cornerpulse infinite alternate 2s linear;
animation: corner-pulse infinite alternate 2s linear;
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ The {{CSSxRef("&lt;basic-shape&gt;")}} CSS [data type](/en-US/docs/Web/CSS/CSS_V
- {{CSSxRef("ray", "ray()")}}
- : Valid with {{cssxref("offset-path")}}; defines the line segment an animated element can follow.
- {{CSSxRef("superellipse()")}}
- : Defines the curvature of an ellipse; can be used to specify a {{cssxref("corner-shape-value")}}, which is used with {{cssxref("corner-shape")}} and its [constituent](/en-US/docs/Web/CSS/corner-shape#constituent_properties) and [related](/en-US/docs/Web/CSS/corner-shape#related_properties) properties.
- : Defines the curvature of an ellipse; can be used to specify a {{cssxref("corner-shape-value")}}, which is used with {{cssxref("corner-shape")}} and its [constituent](/en-US/docs/Web/CSS/corner-shape#constituent_properties) and [related](/en-US/docs/Web/CSS/corner-shape#properties_that_follow_the_corner_shape) properties.

## Reference functions

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/css/css_viewport/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ The {{glossary("viewport")}} initial containing block for continuous media has t
- {{domxref("Window.Viewport")}}
- {{domxref("Viewport")}}
- {{domxref("Viewport.segments")}}
- {{domxref("Viewport Segments")}}

### Glossary terms and definitions

Expand All @@ -49,7 +48,7 @@ The {{glossary("viewport")}} initial containing block for continuous media has t
- {{cssxref("media/horizontal-viewport-segments", "horizontal-viewport-segments")}} descriptor
- {{cssxref("media/vertical-viewport-segments", "vertical-viewport-segments")}} descriptor

- [CSS enviroment variables](/en-US/docs/Web/CSS/CSS_environment_variables)
- [CSS environment variables](/en-US/docs/Web/CSS/CSS_environment_variables)
- {{cssxref("env()")}}
- [`<environment-variable-name>`](/en-US/docs/Web/CSS/CSS_environment_variables/Using_environment_variables#browser-defined_environment_variables)

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/css/text-autospace/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ text-autospace: unset;
- `normal`
- : Creates the default behavior to automatically apply spacing between CJK and non-CJK characters and around punctuation. This value has the same effect as applying both [`ideograph-alpha`](#ideograph-alpha) and [`ideograph-numeric`](#ideograph-numeric).
- `<autospace>`
- : Provides more control over spacing behaviors. It accepts:
- the keyword `no-autospace`, or
- a combination of one or more of `ideograph-alpha`, `ideograph-numeric`, and `punctuation`, optionally followed by `insert` or `replace`.
- : Provides more control over spacing behaviors. It accepts the keyword `no-autospace`, or a combination of one or more of `ideograph-alpha`, `ideograph-numeric`, and `punctuation`, optionally followed by `insert` or `replace`.
- `no-autospace`
- : Disables automatic spacing between CJK and non-CJK characters.
- `ideograph-alpha`
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/mathml/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ The following demos display increasingly complex mathematical concepts in Web co
- : Outlines the derivation of the Quadratic Formula.
- [Mozilla MathML test](https://fred-wang.github.io/MathFonts/mozilla_mathml_test/)
- : Original test from the Mozilla MathML project. It contains examples from the [TeXbook](https://en.wikipedia.org/wiki/Computers_and_Typesetting) with image references generated by TeX.
- [MathML browser test](http://eyeasme.com/Joe/MathML/MathML_browser_test.html)
- : A similar test with concrete formulas taken from Wikipedia.

### Other Web technologies

Expand Down