diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index dd07f706cb77417..397083063da1d36 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -12108,6 +12108,7 @@ /en-US/docs/Web/CSS/:nth-last-col /en-US/docs/Web/CSS/:nth-last-of-type /en-US/docs/Web/CSS/:nth-last-of-type() /en-US/docs/Web/CSS/:nth-last-of-type /en-US/docs/Web/CSS/:nth-of-type() /en-US/docs/Web/CSS/:nth-of-type +/en-US/docs/Web/CSS/:target-within /en-US/docs/Web/CSS /en-US/docs/Web/CSS/@-moz-document /en-US/docs/Web/CSS/@document /en-US/docs/Web/CSS/@font-face/font-variant /en-US/docs/Web/CSS/@font-face /en-US/docs/Web/CSS/@media/aural /en-US/docs/Web/CSS/@media diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 605380fee821265..13871ac570b4296 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -74071,10 +74071,6 @@ "j.j." ] }, - "Web/CSS/:target-within": { - "modified": "2020-12-04T07:48:58.177Z", - "contributors": ["rachelandrew"] - }, "Web/CSS/:user-invalid": { "modified": "2020-11-20T11:42:30.261Z", "contributors": [ diff --git a/files/en-us/web/api/fedcm_api/idp_integration/index.md b/files/en-us/web/api/fedcm_api/idp_integration/index.md index aba957a42a08d98..eef2387593b83a7 100644 --- a/files/en-us/web/api/fedcm_api/idp_integration/index.md +++ b/files/en-us/web/api/fedcm_api/idp_integration/index.md @@ -127,6 +127,8 @@ The response to a successful request returns a list of all the IdP accounts that "given_name": "Elaina", "name": "Elaina Maduro", "email": "elaina_maduro@idp.example", + "tel": "+491234567890", + "username": "elmaduro", "picture": "https://idp.example/profile/123", "approved_clients": ["123", "456", "789"], "domain_hints": ["rp1.example.com", "rp3.example.com"], @@ -136,7 +138,7 @@ The response to a successful request returns a list of all the IdP accounts that { "id": "elly", "given_name": "Elly", - "name": "Elly", + "username": "lamaduro", "email": "Elly@idp.example", "picture": "https://idp.example/profile/456", "approved_clients": ["abc", "def", "ghi"], @@ -148,14 +150,18 @@ The response to a successful request returns a list of all the IdP accounts that } ``` -This includes the following information: +This includes the following information where `name`, `email`, `username`, and `tel` are optional but at least one of them must be present and nonempty. - `id` - : The unique ID of the user. -- `name` +- `name` {{optional_inline}} - : The family name of the user. -- `email` +- `email` {{optional_inline}} - : The email address of the user. +- `tel` {{optional_inline}} + - : The telephone number of the user. Can be in any format. +- `username` {{optional_inline}} + - : The username of the user. - `given_name` {{optional_inline}} - : The given name of the user. - `picture` {{optional_inline}} diff --git a/files/en-us/web/css/_colon_target-within/index.md b/files/en-us/web/css/_colon_target-within/index.md deleted file mode 100644 index d06796cbb7e7eb5..000000000000000 --- a/files/en-us/web/css/_colon_target-within/index.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: :target-within -slug: Web/CSS/:target-within -page-type: css-pseudo-class -status: - - experimental -spec-urls: https://drafts.csswg.org/selectors/#target-within-pseudo -sidebar: cssref ---- - -{{SeeCompatTable}} - -The **`:target-within`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents an element that is a target element or _contains_ an element that is a target. A target element is a unique element with an [`id`](/en-US/docs/Web/HTML/Reference/Global_attributes/id) matching the URL's fragment. In other words, it represents an element that is itself matched by the {{CSSxRef(":target")}} pseudo-class or has a descendant that is matched by `:target`. (This includes descendants in [shadow trees](/en-US/docs/Web/API/Web_components/Using_shadow_DOM).) - -```css -/* Selects a
when one of its descendants is a target */ -div:target-within { - background: cyan; -} -``` - -## Syntax - -```css -:target-within { - /* ... */ -} -``` - -## Examples - -### Highlighting an article - -The `:target-within` pseudo-class can be used to highlight the article if anything inside it has been directly linked to. The `:target` pseudo-class is also being used to show which item has been targeted. - -#### HTML - -```html -

Table of Contents

-
    -
  1. Jump to the first paragraph!
  2. -
  3. Jump to the second paragraph!
  4. -
- -
-

My Fun Article

-

- You can target this paragraph using a URL fragment. Click on the link - above to try out! -

-

- This is another paragraph, also accessible from the links above. - Isn't that delightful? -

-
-``` - -#### CSS - -```css -article:target-within { - background-color: gold; -} - -/* Add a pseudo-element inside the target element */ -p:target::before { - font: 70% sans-serif; - content: "►"; - color: limegreen; - margin-right: 0.25em; -} - -/* Style italic elements within the target element */ -p:target i { - color: red; -} -``` - -#### Result - -{{EmbedLiveSample('Examples', 500, 300)}} - -## Specifications - -{{Specifications}} - -## Browser compatibility - -Currently, no browsers support this feature. - -## See also - -- {{CSSxRef(":target")}} -- [CSS selectors](/en-US/docs/Web/CSS/CSS_selectors) module diff --git a/files/en-us/web/javascript/reference/classes/static_initialization_blocks/index.md b/files/en-us/web/javascript/reference/classes/static_initialization_blocks/index.md index 66bb07acb149852..20a3f86ba05acf5 100644 --- a/files/en-us/web/javascript/reference/classes/static_initialization_blocks/index.md +++ b/files/en-us/web/javascript/reference/classes/static_initialization_blocks/index.md @@ -2,7 +2,7 @@ title: Static initialization blocks slug: Web/JavaScript/Reference/Classes/Static_initialization_blocks page-type: javascript-language-feature -browser-compat: javascript.classes.static_initialization_blocks +browser-compat: javascript.classes.static.initialization_blocks sidebar: jssidebar ---