Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all W3C specification links to the living standard. #38

Merged
merged 1 commit into from
Aug 3, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Slipstream implementations of the W3C HTML standard.

The complete W3C HTML elements standard can be found [here](https://www.w3.org/TR/2012/WD-html-markup-20121025/elements-by-function.html).
The complete W3C HTML elements standard can be found [here](https://html.spec.whatwg.org/multipage/#toc-semantics).

## Topics

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public struct AttributeModifier<T: View>: ViewModifier {
private let attribute: String
private let value: String

/// A W3C global attribute, as defined in [3.2.3 Global attributes](https://www.w3.org/TR/2011/WD-html5-author-20110809/global-attributes.html).
/// A W3C global attribute, as defined in [3.2.3 Global attributes](https://html.spec.whatwg.org/multipage/dom.html#global-attributes).
public enum GlobalAttribute: String {
/// The lang attribute specifies the primary language for the view's contents
/// and for any of the view's attributes that contain text. Its value must be a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import SwiftSoup
/// }
/// ```
///
/// - SeeAlso: W3C [`meta charset`](https://www.w3.org/TR/2012/WD-html-markup-20121025/meta.charset.html#meta.charset) specification.
/// - SeeAlso: W3C [`meta charset`](https://html.spec.whatwg.org/multipage/semantics.html#charset) specification.
/// - SeeAlso: IANA [character sets](https://www.iana.org/assignments/character-sets/character-sets.xhtml).
@available(iOS 17.0, macOS 14.0, *)
public struct Charset: View {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// }
/// ```
///
/// - SeeAlso: W3C [`head`](https://www.w3.org/TR/2012/WD-html-markup-20121025/head.html#head) specification.
/// - SeeAlso: W3C [`head`](https://html.spec.whatwg.org/multipage/semantics.html#the-head-element) specification.
@available(iOS 17.0, macOS 14.0, *)
public struct Head<Content>: W3CElement where Content: View {
@_documentation(visibility: private)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import SwiftSoup
/// }
/// ```
///
/// - SeeAlso: W3C [`title`](https://www.w3.org/TR/2012/WD-html-markup-20121025/title.html#title) specification.
/// - SeeAlso: W3C [`title`](https://html.spec.whatwg.org/multipage/semantics.html#the-title-element) specification.
@available(iOS 17.0, macOS 14.0, *)
public struct Title: View {
/// Creates a Title view.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/// }
/// ```
///
/// - SeeAlso: W3C [`html`](https://www.w3.org/TR/2012/WD-html-markup-20121025/html.html#html) specification.
/// - SeeAlso: W3C [`html`](https://html.spec.whatwg.org/multipage/semantics.html#the-html-element) specification.
///
/// ## See Also
///
Expand Down
2 changes: 1 addition & 1 deletion Sources/Slipstream/Views/W3C/Elements/Sections/Body.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// }
/// ```
///
/// - SeeAlso: W3C [`body`](https://www.w3.org/TR/2012/WD-html-markup-20121025/body.html#body) specification.
/// - SeeAlso: W3C [`body`](https://html.spec.whatwg.org/multipage/sections.html#the-body-element) specification.
@available(iOS 17.0, macOS 14.0, *)
public struct Body<Content>: W3CElement where Content: View {
@_documentation(visibility: private)
Expand Down