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: 2 additions & 0 deletions .vscode/dictionaries/proper-names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ Willee
Willigers
Winamp
Winchelsea
Winnifred
Wireshark
Wirfs
wisedog
Expand Down Expand Up @@ -665,5 +666,6 @@ Zheng
Zilla
Zinsser
Zosia
zxcvbn
Émanuel
Österreich
2 changes: 2 additions & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ lifecycles
lightshow
linecaps
linkability
linkified
linkify
livemark
livemarks
Expand Down Expand Up @@ -675,6 +676,7 @@ spatializations
spatialize
spatialized
SPDY
spearphishing
speedwalk
spinbuttons
spinlocking
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/games/anatomy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Modern versions of Firefox and Google Chrome (and probably others) _attempt_ to
1. Start a new frame (while the previous frame is handled by the display).
2. Go through the list of `requestAnimationFrame` callbacks and invoke them.
3. Perform garbage collection and other per-frame tasks when the above callbacks stop controlling the main thread.
4. Sleep (unless an event interrupts the browser's nap) until the monitor is ready for your image ([VSync](https://www.techopedia.com/definition/92/vertical-sync-vsync)) and repeat.
4. Sleep (unless an event interrupts the browser's nap) until the monitor is ready for your image ([VSync](https://en.wikipedia.org/wiki/Screen_tearing#Vertical_synchronization)) and repeat.

You can think about developing realtime applications as having a budget of time to do work. All of the above steps must take place every 16-and-a-half milliseconds to keep up with a 60 Hz display. Browsers invoke your code as early as possible to give it maximum computation time. Your main thread will often start workloads that are not even on the main thread (such as rasterization or shaders in WebGL). Long calculations can be performed on a Web Worker or a GPU at the same time as the browser uses its main thread to manage garbage collection, its other tasks, or handle asynchronous events.

Expand Down
1 change: 0 additions & 1 deletion files/en-us/glossary/forbidden_request_header/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Forbidden headers are one of the following:
- {{HTTPHeader("Connection")}}
- {{HTTPHeader("Content-Length")}}
- {{HTTPHeader("Cookie")}}
- `Cookie2`
- {{HTTPHeader("Date")}}
- {{HTTPHeader("DNT")}}
- {{HTTPHeader("Expect")}}
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/glossary/http_header/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ Host: example.com
Redirects have mandatory headers ({{HTTPHeader("Location")}}):

```http
302 Found
HTTP/1.1 302 Found
Location: /NewPage.html
```

A typical set of headers:

```http
304 Not Modified
HTTP/1.1 304 Not Modified
Access-Control-Allow-Origin: *
Age: 2318192
Cache-Control: public, max-age=315360000
Expand Down
1 change: 0 additions & 1 deletion files/en-us/glossary/static_method/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ myNotification.close();

## See also

- [Static Method](https://www.techopedia.com/definition/24034/static-method-java) on Techopedia
- [static](/en-US/docs/Web/JavaScript/Reference/Classes/static)
- Related glossary terms:
- {{Glossary("Object")}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,14 +633,14 @@ body {

table {
border-collapse: collapse;
border: 2px solid rgb(200, 200, 200);
border: 2px solid rgb(200 200 200);
letter-spacing: 1px;
font-size: 0.8rem;
}

td,
th {
border: 1px solid rgb(190, 190, 190);
border: 1px solid rgb(190 190 190);
padding: 10px 20px;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this challenge, we provide you with some data on the planets in our solar sys
2. Save the following HTML listing inside a file inside your folder called `index.html` (or paste it into your online editor's HTML pane).

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ A caption is placed directly beneath the `<table>` tag.

At this point we'll get you to try out adding a caption to an HTML table, using the school timetable you met in the previous article.

1. Copy the first HTML block in the [Grouping columns with `<colgroup>` and `<col>`](/en-US/docs/Learn_web_development/Core/Structuring_content/HTML_table_basics#grouping_columns_with_colgroup_and_col) into an HTML file on your computer, or an online editor such as [CodePen](https://codepen.io/) or [JSBin](https://jsbin.com/?html,output).
1. Copy the first HTML block in the [Grouping columns with `<colgroup>` and `<col>`](/en-US/docs/Learn_web_development/Core/Structuring_content/HTML_table_basics#grouping_columns_with_colgroup_and_col) into an HTML file on your computer, or an online editor such as [CodePen](https://codepen.io/) or [JSBin](https://jsbin.com/).
2. Add a suitable caption to the table.
3. Save your code and see what it looks like.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ All of the following URLs are relative URLs:
- Scheme-relative URL: `//developer.mozilla.org/en-US/docs/Learn_web_development` — only the protocol is missing. The browser will use the same protocol as the one used to load the document hosting that URL.
- Domain-relative URL: `/en-US/docs/Learn_web_development` — the protocol and the domain name are both missing. The browser will use the same protocol and the same domain name as the one used to load the document hosting that URL.
- Sub-resources: `Howto/Web_mechanics/What_is_a_URL` — the protocol and domain name are missing, and the path doesn't begin with `/`. The browser will attempt to find the document in a subdirectory of the one containing the current resource. In this case, we really want to reach this URL: `https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_URL`.
- Going back in the directory tree: `../CSS/display` — the protocol and domain name are missing, and the path begins with `..`. This is inherited from the UNIX file system world — to tell the browser we want to go up by one level. Here we want to reach this URL: `https://developer.mozilla.org/en-US/docs/Learn_web_development/../Web/CSS/display`, which can be simplified to: `https://developer.mozilla.org/en-US/docs/Web/CSS/display`.
- Going back in the directory tree: `../CSS/Reference` — the protocol and domain name are missing, and the path begins with `..`. This is inherited from the UNIX file system world — to tell the browser we want to go up by one level. Here we want to reach this URL: `https://developer.mozilla.org/en-US/docs/Learn_web_development/../Web/CSS/Reference`, which can be simplified to: `https://developer.mozilla.org/en-US/docs/Web/CSS/Reference`.
- Anchor-only: `#semantic_urls` - all parts are missing except the anchor. The browser will use the current document's URL and replace or add the anchor part to it. This is useful when you want to link to a specific part of the current document.

## URL usernames and passwords
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ sidebar: mdnsidebar
>
> ```md
> ---
> title: NameOfTheFunction()
> slug: Web/CSS/NameOfTheFunction
> title: nameOfTheFunction()
> slug: Web/CSS/Reference/Values/nameOfTheFunction
> page-type: css-function
> status:
> - deprecated
> - experimental
> - non-standard
> browser-compat: css.types.NameOfTheFunction
> browser-compat: css.types.nameOfTheFunction
> sidebar: cssref
> ---
> ```
Expand All @@ -33,8 +33,8 @@ sidebar: mdnsidebar
> - : The `title` value is displayed at the top of the page. The title format is _NameOfTheFunction()_.
> For example, the [`pow()`](/en-US/docs/Web/CSS/Reference/Values/pow) function has a title of _pow()_.
> - **slug**
> - : The `slug` value is the end of the URL path after `https://developer.mozilla.org/en-US/docs/`. This will be formatted as `Web/CSS/NameOfTheFunction`. Note the absence of parentheses in the slug.
> For example, the slug for the [`pow()`](/en-US/docs/Web/CSS/Reference/Values/pow) function is `Web/CSS/pow`.
> - : The `slug` value is the end of the URL path after `https://developer.mozilla.org/en-US/docs/`. This will be formatted as `Web/CSS/Reference/Values/nameOfTheFunction`. Note the absence of parentheses in the slug.
> For example, the slug for the [`pow()`](/en-US/docs/Web/CSS/Reference/Values/pow) function is `Web/CSS/Reference/Values/pow`.
> - **page-type**
> - : The `page-type` value for CSS functions is `css-function`.
> - **status**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sidebar: mdnsidebar
> ```md
> ---
> title: CSS NameOfTheModule
> slug: Web/CSS/CSS_NameOfTheModule
> slug: Web/CSS/Guides/NameOfTheModule
> page-type: css-module
> spec-urls:
> - url1
Expand All @@ -33,8 +33,8 @@ sidebar: mdnsidebar
> For example, the title for the [grid layout](/en-US/docs/Web/CSS/Guides/Grid_layout) module landing page is _CSS grid layout_.
> - **slug**
> - : The `slug` value is the end of the URL path after `https://developer.mozilla.org/en-US/docs/`.
> This will be formatted as `Web/CSS/CSS_NameOfTheModule`.
> For example, the slug for the [grid layout](/en-US/docs/Web/CSS/Guides/Grid_layout) module landing page is `Web/CSS/CSS_grid_layout`.
> This will be formatted as `Web/CSS/Guides/NameOfTheModule`.
> For example, the slug for the [grid layout](/en-US/docs/Web/CSS/Guides/Grid_layout) module landing page is `Web/CSS/Guides/Grid_layout`.
> - **page-type**
> - : The `page-type` value for CSS module landing pages is always `css-module`.
> - **spec-urls**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ sidebar: mdnsidebar
>
> ```md
> ---
> title: NameOfTheProperty
> slug: Web/CSS/NameOfTheProperty
> title: name-of-the-property
> slug: Web/CSS/Reference/Properties/name-of-the-property
> page-type: css-property OR css-shorthand-property
> status:
> - deprecated
> - experimental
> - non-standard
> browser-compat: css.properties.NameOfTheProperty
> browser-compat: css.properties.name-of-the-property
> sidebar: cssref
> ---
> ```
>
> - **title**
> - : The `title` value is displayed at the top of the page. The title format is _NameOfTheProperty_.
> - : The `title` value is displayed at the top of the page. The title format is _name-of-the-property_.
> For example, the [`background-color`](/en-US/docs/Web/CSS/Reference/Properties/background-color) property has a title of _background-color_.
> - **slug**
> - : The `slug` value is the end of the URL path after `https://developer.mozilla.org/en-US/docs/`. This will be formatted as `Web/CSS/NameOfTheProperty`.
> For example, the slug for the [`background-color`](/en-US/docs/Web/CSS/Reference/Properties/background-color) property is `Web/CSS/background-color`. For a multi-word component such as `Getting_started` in a slug, the slug should use an underscore as in `/en-US/docs/Learn_web_development/Core/Structuring_content`.
> - : The `slug` value is the end of the URL path after `https://developer.mozilla.org/en-US/docs/`. This will be formatted as `Web/CSS/Reference/Properties/name-of-the-property`.
> For example, the slug for the [`background-color`](/en-US/docs/Web/CSS/Reference/Properties/background-color) property is `Web/CSS/Reference/Properties/background-color`. For a multi-word component such as `Getting_started` in a slug, the slug should use an underscore as in `/en-US/docs/Learn_web_development/Core/Structuring_content`.
> - **page-type**
> - : The `page-type` value for CSS properties is `css-property`. For a shorthand CSS property, the value is `css-shorthand-property`. For example, the `page-type` value for the [animation](/en-US/docs/Web/CSS/Reference/Properties/animation) property is `css-shorthand-property` because it is a shorthand property, whereas the `page-type` value for the [animation-delay](/en-US/docs/Web/CSS/Reference/Properties/animation-delay) property is `css-property`.
> - **status**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ sidebar: mdnsidebar
>
> ```md
> ---
> title: :NameOfTheSelector
> slug: Web/CSS/:NameOfTheSelector
> title: :name-of-the-selector
> slug: Web/CSS/Reference/Selectors/:name-of-the-selector
> page-type: css-selector OR css-pseudo-class OR css-pseudo-element OR css-combinator
> status:
> - deprecated
> - experimental
> - non-standard
> browser-compat: css.selectors.NameOfTheSelector
> browser-compat: css.selectors.name-of-the-selector
> sidebar: cssref
> ---
> ```
Expand All @@ -33,8 +33,8 @@ sidebar: mdnsidebar
> - : Title heading displayed at the top of the page. Format as _:NameOfTheSelector_.
> For example, the [`:hover`](/en-US/docs/Web/CSS/Reference/Selectors/:hover) selector has a title of _:hover_.
> - **slug**
> - : The end of the URL path after `https://developer.mozilla.org/en-US/docs/`). This will be formatted like `Web/CSS/:NameOfTheSelector`.
> For example, the [`:hover`](/en-US/docs/Web/CSS/Reference/Selectors/:hover) selector slug is `Web/CSS/:hover`.
> - : The end of the URL path after `https://developer.mozilla.org/en-US/docs/`). This will be formatted like `Web/CSS/Reference/Selectors/:name-of-the-selector`.
> For example, the [`:hover`](/en-US/docs/Web/CSS/Reference/Selectors/:hover) selector slug is `Web/CSS/Reference/Selectors/:hover`.
> - **page-type**
> - : The `page-type` key for CSS properties is one of `css-selector`, `css-pseudo-class`, or `css-pseudo-element`, depending on whether the selector is a [pseudo-class](/en-US/docs/Web/CSS/Reference/Selectors/Pseudo-classes), a [pseudo-element](/en-US/docs/Web/CSS/Reference/Selectors/Pseudo-elements), a [combinator](/en-US/docs/Web/CSS/Guides/Selectors/Selectors_and_combinators#combinators), or a [simple selector](/en-US/docs/Web/CSS/Guides/Selectors/Selector_structure#simple_selector).
> - **status**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let removing = browser.browsingData.removeFormData(
### Parameters

- `removalOptions`
- : `object`. A {{WebExtAPIRef("browsingData.RemovalOptions")}} object, which may be used to clear only form data entered after a given time, and controi whether to clear form data entered in web pages or web pages and extensions.
- : `object`. A {{WebExtAPIRef("browsingData.RemovalOptions")}} object, which may be used to clear only form data entered after a given time, and controls whether to clear form data entered in web pages or web pages and extensions.

### Return value

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/mozilla/firefox/releases/30/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ page-type: firefox-release-notes
sidebar: firefox
---

Firefox 30 was released on [June 10th, 2014](https://whattrainisitnow.com/release/?version=30). This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.

## Changes for Web developers

### Developer Tools
Expand Down Expand Up @@ -63,7 +65,7 @@ _No change._

## Security

_No change._
- `<form autocomplete="off">` no longer prevents passwords from being saved. See [Managing autofill for login fields](/en-US/docs/Web/Security/Practical_implementation_guides/Turning_off_form_autocompletion#managing_autofill_for_login_fields) for more information. ([Firefox bug 956906](https://bugzil.la/956906)).

## Changes for add-on and Mozilla developers

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/cache/delete/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ delete(request, options)

### Return value

a {{jsxref("Promise")}} that resolves to `true` if the cache entry is
A {{jsxref("Promise")}} that resolves to `true` if the cache entry is
deleted, or `false` otherwise.

## Examples
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/cachestorage/delete/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ delete(cacheName)

### Return value

a {{jsxref("Promise")}} that resolves to `true` if the {{domxref("Cache")}}
A {{jsxref("Promise")}} that resolves to `true` if the {{domxref("Cache")}}
object is found and deleted, and `false` otherwise.

## Examples
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/cachestorage/has/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ has(cacheName)

### Return value

a {{jsxref("Promise")}} that resolves to `true` if the cache exists or
A {{jsxref("Promise")}} that resolves to `true` if the cache exists or
`false` if not.

## Examples
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/cachestorage/keys/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ None.

### Return value

a {{jsxref("Promise")}} that resolves with an array of the {{domxref("Cache")}} names inside the {{domxref("CacheStorage")}} object.
A {{jsxref("Promise")}} that resolves with an array of the {{domxref("Cache")}} names inside the {{domxref("CacheStorage")}} object.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/cachestorage/match/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ match(request, options)

### Return value

a {{jsxref("Promise")}} that resolves to the matching {{domxref("Response")}}. If
A {{jsxref("Promise")}} that resolves to the matching {{domxref("Response")}}. If
no matching response to the specified request is found, the promise resolves
with `undefined`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ createConicGradient(startAngle, x, y)

### Return value

- {{domxref("CanvasGradient")}}
- : A conic `CanvasGradient`.
A conic {{domxref("CanvasGradient")}}.

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ createPattern(image, repetition)

### Return value

- {{domxref("CanvasPattern")}}
- : An opaque object describing a pattern.
An opaque {{domxref("CanvasPattern")}} describing a pattern.

If the `image` is not fully loaded ({{domxref("HTMLImageElement.complete")}} is `false`), then [`null`](/en-US/docs/Web/JavaScript/Reference/Operators/null) is returned.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ isPointInPath(path, x, y, fillRule)

### Return value

- A boolean value
- : A Boolean, which is `true` if the specified point is contained in the
current or specified path, otherwise `false`.
A boolean value, which is `true` if the specified point is contained in the current or specified path, otherwise `false`.

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ isPointInStroke(path, x, y)

### Return value

- A boolean value
- : A Boolean, which is `true` if the point is inside the area contained by
the stroking of a path, otherwise `false`.
A boolean value, which is `true` if the point is inside the area contained by the stroking of a path, otherwise `false`.

## Examples

Expand Down
Loading