Skip to content

Commit

Permalink
Add spec URLs for all remaining subtrees
Browse files Browse the repository at this point in the history
Part of #13126
  • Loading branch information
sideshowbarker committed May 14, 2022
1 parent d339ff3 commit 65e5344
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 56 deletions.
5 changes: 2 additions & 3 deletions files/en-us/web/events/detecting_device_orientation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tags:
- Motion
- Orientation
- Reference
spec-urls: https://w3c.github.io/deviceorientation/
---
{{DefaultAPISidebar("Device Orientation Events")}}

Expand Down Expand Up @@ -171,9 +172,7 @@ Finally, {{domxref("DeviceMotionEvent.interval","interval")}} represents the int

## Specifications

| Specification | Status | Comment |
| -------------------------------------------- | ---------------------------------------- | ---------------------- |
| {{SpecName('Device Orientation')}} | {{Spec2('Device Orientation')}} | Initial specification. |
{{Specifications}}

## Browser compatibility

Expand Down
6 changes: 2 additions & 4 deletions files/en-us/web/events/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tags:
- Event
- Overview
- Reference
spec-urls: https://html.spec.whatwg.org/multipage/indices.html#events-2
---
[Events](/en-US/docs/Learn/JavaScript/Building_blocks/Events) are fired to notify code of "interesting changes" that may affect code execution. These can arise from user interactions such as using a mouse or resizing a window, changes in the state of the underlying environment (e.g. low battery or media events from the operating system), and other causes.

Expand Down Expand Up @@ -1407,10 +1408,7 @@ This section lists events that have _their own_ reference pages on MDN. If you a

## Specifications

| Specification | Status | Comment |
| ------------------------------------------------------------------------------------------------------------------------ | -------------------------------- | ------- |
| {{SpecName('HTML WHATWG', 'webappapis.html#event-handler-attributes', 'event handlers')}} | {{Spec2('HTML WHATWG')}} | |
| {{SpecName('HTML5 W3C', 'webappapis.html#event-handler-attributes', 'event handlers')}} | {{Spec2('HTML5 W3C')}} | |
{{Specifications}}

<section id="Quick_links">
<ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ tags:
- RTCPeerConnection
- WebRTC
- WebRTC API
spec-urls:
- https://w3c.github.io/mediacapture-main/
- https://w3c.github.io/webrtc-pc/
---
{{WebRTCSidebar}}

Expand All @@ -28,7 +31,4 @@ A high-level description of what happens in an `RTCPeerConnection` was shown in

## Specifications

| Specification | Status | Comment |
| ---------------------------------------- | ------------------------------------ | ------------------------------------ |
| {{SpecName("Media Capture")}} | {{Spec2("Media Capture")}} | Definition of the `getUserMedia` API |
| {{SpecName("WebRTC 1.0")}} | {{Spec2("WebRTC 1.0")}} | Initial definition |
{{Specifications}}
6 changes: 2 additions & 4 deletions files/en-us/web/guide/css/block_formatting_context/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- NeedsExample
- Reference
- Web
spec-urls: https://drafts.csswg.org/css-display/#block-formatting-context
---
{{ CSSRef }}

Expand Down Expand Up @@ -196,10 +197,7 @@ Creating a new BFC to avoid the [margin collapsing](/en-US/docs/Web/CSS/CSS_Box_

## Specifications

| Specification | Status | Comment |
| ---------------------------------------------------------------------------------------------------------------- | -------------------------------- | --------------------- |
| {{SpecName('CSS3 Display', '#block-formatting-context', 'Block Formatting Context')}} | {{Spec2('CSS3 Display')}} | define BFC(abbr) etc. |
| {{SpecName('CSS2.1', 'visuren.html#block-formatting', 'Block Formatting Context')}} | {{Spec2('CSS2.1')}} | Initial definition. |
{{Specifications}}

## See also

Expand Down
8 changes: 4 additions & 4 deletions files/en-us/web/guide/woff/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ tags:
- NeedsMobileBrowserCompatibility
- WOFF
- WOFF2
spec-urls:
- https://www.w3.org/TR/WOFF/
- https://w3c.github.io/woff/woff2/
---
**WOFF** (the **Web Open Font Format**) is a web font format developed by Mozilla in concert with Type Supply, LettError, and other organizations. It uses a compressed version of the same table-based `sfnt` structure used by TrueType, OpenType, and Open Font Format, but adds metadata and private-use data structures, including predefined fields allowing foundries and vendors to provide license information if desired.

Expand All @@ -27,10 +30,7 @@ You can use the {{cssxref("@font-face")}} CSS property to use WOFF fonts for tex

## Specifications

| Specification | Status | Comment |
| ---------------------------------------- | ---------------------------- | ------------------------- |
| {{SpecName('WOFF2.0', '', '')}} | {{Spec2('WOFF2.0')}} | New compression algorithm |
| {{SpecName('WOFF1.0', '', '')}} | {{Spec2('WOFF1.0')}} | Initial specification. |
{{Specifications}}

## Browser compatibility

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/html/global_attributes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ tags:
- HTML
- Reference
- Web
browser-compat: html.global_attributes
spec-urls: https://html.spec.whatwg.org/multipage/dom.html#global-attributes
---

Expand Down Expand Up @@ -130,7 +129,7 @@ In addition to the basic HTML global attributes, the following global attributes

## Browser compatibility

{{Compat}}
{{Compat("html.global_attributes")}}

## See also

Expand Down
5 changes: 2 additions & 3 deletions files/en-us/web/performance/lazy_loading/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tags:
- Performance
- Web Performance
- rendering
spec-urls: https://html.spec.whatwg.org/multipage/#lazy-loading-attributes
---
**Lazy loading** is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It's a way to shorten the length of the [critical rendering path](/en-US/docs/Web/Performance/Critical_rendering_path), which translates into reduced page load times.

Expand Down Expand Up @@ -92,9 +93,7 @@ When browser compatibility is crucial, there are a few options:

## Specifications

| **Specification** | **Status** | **Comment** |
| ------------------------------------------------------------------------ | -------------------------------- | ----------- |
| {{SpecName('HTML WHATWG', "#lazy-loading-attributes")}} | {{Spec2('HTML WHATWG')}} | |
{{Specifications}}

## See also

Expand Down
5 changes: 2 additions & 3 deletions files/en-us/web/security/secure_contexts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ slug: Web/Security/Secure_Contexts
tags:
- Secure contexts
- Security
spec-urls: https://w3c.github.io/webappsec-secure-contexts/
---
A **secure context** is a `Window` or `Worker` for which certain minimum standards of authentication and confidentiality are met. Many Web APIs and features are accessible only in a secure context. The primary goal of secure contexts is to prevent {{interwiki("wikipedia", "man-in-the-middle attack", "MITM attackers")}} from accessing powerful APIs that could further compromise the victim of an attack.

Expand Down Expand Up @@ -47,9 +48,7 @@ if (window.isSecureContext) {

## Specifications

| Specification | Status | Comment |
| ---------------------------------------- | ------------------------------------ | -------------- |
| {{SpecName('Secure Contexts')}} | {{Spec2('Secure Contexts')}} | Editor's Draft |
{{Specifications}}

## See also

Expand Down
6 changes: 2 additions & 4 deletions files/en-us/web/security/subresource_integrity/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- Intro
- Networking
- Security
spec-urls: https://w3c.github.io/webappsec-subresource-integrity/
---
**Subresource Integrity** (SRI) is a security feature that enables browsers to verify that resources they fetch (for example, from a [CDN](/en-US/docs/Glossary/CDN)) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched resource must match.

Expand Down Expand Up @@ -112,10 +113,7 @@ Browsers handle SRI by doing the following:

## Specifications

| Specification | Status | Comment |
| ------------------------------------------------ | -------------------------------------------- | ------- |
| {{SpecName('Subresource Integrity')}} | {{Spec2('Subresource Integrity')}} | |
| {{SpecName('Fetch')}} | {{Spec2('Fetch')}} | |
{{Specifications}}

## Browser compatibility

Expand Down
13 changes: 2 additions & 11 deletions files/en-us/web/xpath/axes/child/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,12 @@ slug: Web/XPath/Axes/child
tags:
- Axe
- XPath
browser-compat: xpath.axes.child
spec-urls: https://www.w3.org/TR/xpath-31/#axes
---
The `child` axis indicates the children of the context node. If an XPath expression does not specify an axis, the `child` axis is understood by default. Since only the root node or element nodes have children, any other use will select nothing.

## Specifications

| Specification | Status | Comment |
| ---------------------------------------------------- | ---------------------------- | ------------------- |
| {{SpecName("XPath3.1","#axes","child")}} | {{Spec2("XPath3.1")}} | |
| {{SpecName("XPath3","#axes","child")}} | {{Spec2("XPath3")}} | |
| {{SpecName("XPath2","#axes","child")}} | {{Spec2("XPath2")}} | |
| {{SpecName("XPath1","#axes","child")}} | {{Spec2("XPath1")}} | Initial definition. |

## Browser compatibility

{{Compat}}
{{Specifications}}

{{QuickLinksWithSubpages("/en-US/docs/Web/XPath")}}
8 changes: 2 additions & 6 deletions files/en-us/web/xpath/axes/self/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ slug: Web/XPath/Axes/self
tags:
- Axe
- XPath
spec-urls: https://www.w3.org/TR/xpath-31/#axes
---
The `self` axis indicates the context node itself. It can be abbreviated as a single period (`.`).

## Specifications

| Specification | Status | Comment |
| ---------------------------------------------------- | ---------------------------- | ------------------- |
| {{SpecName("XPath3.1","#axes","self")}} | {{Spec2("XPath3.1")}} | |
| {{SpecName("XPath3","#axes","self")}} | {{Spec2("XPath3")}} | |
| {{SpecName("XPath2","#axes","self")}} | {{Spec2("XPath2")}} | |
| {{SpecName("XPath1","#axes","self")}} | {{Spec2("XPath1")}} | Initial definition. |
{{Specifications}}

{{QuickLinksWithSubpages("/en-US/docs/Web/XPath")}}
7 changes: 2 additions & 5 deletions files/en-us/web/xslt/element/stylesheet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tags:
- Reference
- StyleSheet
- XSLT
spec-urls: https://www.w3.org/TR/xslt-30/#stylesheet-element
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/XSLT")}}

Expand Down Expand Up @@ -62,8 +63,4 @@ Required outermost element of stylesheet.

## Specifications

| Specification | Status | Comment |
| ------------------------------------------------------------------------------------------------ | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| {{SpecName("XSLT 3.0", "#stylesheet-element", "&lt;xsl:stylesheet&gt;")}} | {{Spec2("XSLT 3.0")}} | Added the attributes `default-mode`, `expand-text`, and `use-when`. |
| [XSLT 2.0](https://www.w3.org/TR/xslt20/#stylesheet-element) | | Added the attributes `xpath-default-namespace`, `default-validation`, `default-collation`, and `input-type-annotations` and made all attributes except `version` optional. |
| [XSLT 1.0](https://www.w3.org/TR/xslt-10/#stylesheet-element) | | Initial definition |
{{Specifications}}
5 changes: 2 additions & 3 deletions files/en-us/webassembly/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tags:
- Landing
- WebAssembly
- wasm
spec-urls: https://webassembly.github.io/spec/js-api/
---
{{WebAssemblySidebar}}

Expand Down Expand Up @@ -71,9 +72,7 @@ And what's even better is that it is being developed as a web standard via the [

## Specifications

| Specification | Status | Comment |
| ---------------------------------------- | ------------------------------------ | ----------------------------------------------- |
| {{SpecName('WebAssembly JS')}} | {{Spec2('WebAssembly JS')}} | Initial draft definition of the JavaScript API. |
{{Specifications}}

## Browser compatibility

Expand Down

0 comments on commit 65e5344

Please sign in to comment.