From f7fb004744fb5286bad136fd2ba6d1dc3ad72ca0 Mon Sep 17 00:00:00 2001
From: Jens Oliver Meiert This specification does not provide a machine-readable way of describing breadcrumb navigation
menus. Authors are encouraged to just use a series of links in a paragraph. The Return value as a length. The rules for parsing nonzero dimension
values are as given in the following algorithm. When invoked, the steps must be followed in
From 1b158de14bc3d64893ccdd67691243f26ab425e6 Mon Sep 17 00:00:00 2001
From: Henri Sivonen If the byte at encodingPosition is not 0x3D (=), then return failure. Advance encodingPosition to the next byte. While the byte at encodingPosition is less than or equal to 0x20 (i.e., it is
either an ASCII space or control character), advance encodingPosition to the next
byte. If the character in input pointed to by position is a U+0054 LATIN
CAPITAL LETTER T character, then advance position to the next character, set
M-disambiguator to minutes, skip ASCII whitespace within
- input given position, and continue. Set next character to the character in input
pointed to by position. If child does not have a Common idioms without dedicated elements
- Bread crumb navigation
+ Breadcrumb navigation
nav
From 2abb4ac96ec52b633f1fbaa7887d80a97a7d5a1a Mon Sep 17 00:00:00 2001
From: Jens Oliver Meiert Non-zero percentages and lengths
+ Nonzero percentages and lengths
The
+ h1
, h2
, h3
, h4
, h5
, and
- h6
elementsThe
h1
, h2
, h3
, h4
, h5
, and h6
+ elements
srcset
- attribute, continue to the next child.
Parse child's srcset attribute and let the returned source set be source set.
If source set has zero image sources, - continue to the next child.
If child has a media
attribute, and
its value does not match the environment,
- continue to the next child.
Parse child's sizes attribute, and let source set's source size be the returned value.
If child has a type
attribute, and its
- value is an unknown or unsupported MIME type, continue to the next child.
If child has width
or height
attributes, set el's music hall</a> singer, ...unparsed size.
If unparsed size is now empty,
that is a parse error;
- continue to the next iteration of this algorithm.
If the last component value in unparsed size is a valid non-negative <source-size-value>, @@ -29297,7 +29297,7 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...component value from unparsed size. Any CSS function other than the math functions is invalid. Otherwise, there is a parse error; - continue to the next iteration of this algorithm.
Remove all consecutive <whitespace-token>s from the end of unparsed size. @@ -29310,7 +29310,7 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...<media-condition>. If it does not parse correctly, or it does parse correctly but the <media-condition> evaluates to false, - continue to the next iteration of this algorithm.
Return size and exit this algorithm.
If the image source has a pixel density descriptor, continue to the next +
If the image source has a pixel density descriptor, continue to the next image source.
Let submitterButton be null if submitter is form. Otherwise, let submitterButton be submitter.
Let continue be the result of firing an
+ Let shouldContinue be the result of firing an
event named Set form's firing submission events to false. If continue is false, then return. If shouldContinue is false, then return. If form cannot navigate, then return.submit
at form using
SubmitEvent
, with the submitter
attribute initialized to submitterButton, the
Then continue.
+Then continue.
Append an entry to entry list with namey and y.
Continue.
Continue.
If current is already in memory, there is a - microdata error; continue.
Add current to memory.
Append a U+003E GREATER-THAN SIGN character (>).
-If current node serializes as void, then continue on to the next +
If current node serializes as void, then continue on to the next child node at this point.
Append the value of running the HTML fragment serialization algorithm on the
@@ -126863,6 +126863,7 @@ INSERT INTERFACES HERE
Kartikaya Gupta,
葛依寧 (Kat Hackett),
Kathy Walton,
+ 河童エクマ(Kawarabe Ecma)
Keith Rollin,
Keith Yeung,
Kelly Ford,
From acb9ac9bf7dd3427c63484e4d0badd5fb6b480d8 Mon Sep 17 00:00:00 2001
From: Domenic Denicola The following terms are defined in Web IDL: The Web IDL also defines the following types that are used in Web IDL fragments
- in this specification: Web IDL also defines the following types that are used in Web IDL fragments in
+ this specification: The term throw in this
+ The term throw in this
specification is used as defined in Web IDL. The When this specification requires a user agent to create a (On these last two points, see also heycam/webidl issue #135 and heycam/webidl issue #371, where we are
+ href="https://github.com/whatwg/webidl/issues/135">whatwg/webidl issue #135 and whatwg/webidl issue #371, where we are
still mulling over the subtleties of the above promise-resolution pattern.) Another thing to note is that, in the event this algorithm was called from a Web IDL-specified
@@ -95551,7 +95551,7 @@ document.body.appendChild(frame)
function with one or two arguments to continue working. They are necessary due to Web IDL
overload resolution algorithm rules, which would throw a The If document's current document readiness equals
readinessValue, then return. Set document's current document readiness to
+ readinessValue. If document is associated with an HTML parser, then: To get the focusable area for a focus target that is either an element
that is not a focusable area, or is a browsing context, given an
- optional string focus trigger, run the first matching set of steps from the following
- list: If focus target is a shadow-including inclusive ancestor of the
currently focused area of a top-level browsing context's DOM anchor,
- then return null. Otherwise: Let autofocus delegate be the autofocus delegate for focus
+ target given focus trigger. If autofocus delegate is not null, then return autofocus
+ delegate. If focus trigger is " Otherwise, let possible focus delegates be the list of all focusable areas whose DOM anchor is a descendant
+ of focus target in the flat tree. Return the first focusable area in tree order of who their
+ DOM anchors are in possible focus delegates, or
+ null if possible focus delegates is empty. For sequential focusability, the
@@ -75058,6 +75059,36 @@ END:VCARD
Return null. The autofocus delegate for a focus target given a focus
+ trigger is given by the following steps: For each descendant descendant of focus target, in
+ tree order: If descendant does not have an Let focusable area be descendant, if descendant is a
+ focusable area; otherwise let focusable area be the result of getting the focusable area for descendant
+ given focus trigger. If focusable area is null, then continue. If focusable area is not click focusable and focus
+ trigger is " Return focusable area. Return null. The focusing steps for an object new focus target that is either a
focusable area, or an element that is not a focusable area, or a
browsing context, are as follows. They can optionally be run with a fallback
From 7a131a57f979ceb716ebb229e123f79859ded0d8 Mon Sep 17 00:00:00 2001
From: Andreu Botella Set serialized to { [[Type]]: "SharedArrayBuffer", [[ArrayBufferData]]:
value.[[ArrayBufferData]], [[ArrayBufferByteLength]]: size,
- [[AgentCluster]]: agentCluster }. Even if a document is not fully active and not shown to the user, it
+ can still have a focused area of the document. If a document's fully
+ active state changes, its focused area of the document will stay the same. The currently focused area of a top-level browsing context topLevelBC at
any particular time is the focusable area-or-null returned by this algorithm: The fully active state does not affect whether an element is
+ being rendered or not. Even if a document is not fully active and not
+ shown at all to the user, elements within it can still qualify as "being rendered". An element is said to intersect the viewport when it is being rendered
and its associated CSS layout box intersects the viewport. Similar to the being rendered state, elements in non-fully
+ active documents can still intersect the viewport. The viewport
+ is not shared between documents and might not always be shown to the user, so an element in a
+ non-fully active document can still intersect the viewport associated
+ with its document. This specification does not define the precise timing for when the intersection is
tested, but it is suggested that the timing match that of the Intersection Observer API. A tuple consists of:
A scheme-and-host is a tuple of a scheme and a host. A scheme-and-host is a tuple of an ASCII string and a
+ host. A site is an opaque origin or a
scheme-and-host. No reference to the global object is available (i.e., there is no counterpart to Although this was the intention when worklets were first specified, the
introduction of Run process a navigate URL scheme given resource's URL, browsingContext, and
- hasTransientActivation. Otherwise, the document's type is such that the resource will not affect
browsingContext, e.g., because the resource is to be handed to an external application
or because it is an unknown type that will be processed as a download.
- Hand-off to external software given response and
- hasTransientActivation. To process a navigate URL scheme, given a URL url, a
- browsing context browsingContext, and a boolean
- hasTransientActivation: If url is to be handled using a mechanism that does not affect
browsingContext, e.g., because url's scheme is handled externally, then hand-off to external
- software given url and hasTransientActivation. Otherwise, url is to be handled by displaying some sort of inline content, e.g.,
@@ -87252,17 +87254,48 @@ interface Location { // but see also response resource and a boolean
- hasTransientActivation, user agents should perform the appropriate handoff of
- resource while attempting to mitigate the risk that this is an attempt to exploit the
- target software. For example, user agents could prompt the user to confirm that the source
- browsing context's active document's origin is to be allowed to invoke the external software in
- question. In particular, if hasTransientActivation is false, then the user agent should
- not invoke the external software package without prior user confirmation. For example, there could be a vulnerability in the target software's URL
- handler which a hostile page would attempt to exploit by tricking a user into clicking a link. If browsingContext is not a top-level browsing context, and none
+ of: sandboxFlags contains the sandboxFlags contains the sandboxFlags contains the hold, then return without invoking the external software package. Navigation inside an iframe toward external software can be seen by users as a
+ new popup or a new top-level navigation. Therefore, we enforcing sandbox flags
+ appropriately. Perform the appropriate handoff of resource while attempting to mitigate the risk
+ that this is an attempt to exploit the target software. For example, user agents could prompt
+ the user to confirm that the source browsing context's active
+ document's origin is to be allowed to
+ invoke the external software in question. In particular, if hasTransientActivation is
+ false, then the user agent should not invoke the external software package without prior user
+ confirmation. For example, there could be a vulnerability in the target software's URL
+ handler which a hostile page would attempt to exploit by tricking a user into clicking a
+ link. To execute a Set newDocument's page showing flag to true. Run any session history document visibility change steps for
- newDocument that are defined by other applicable specifications. Fire an event named Fire a page transition event named Increase document's unload counter by 1. If document's page showing flag is false, then jump to the
- step labeled unload event below (i.e. skip firing the Set document's page showing flag to false. If the user agent does not intend to keep document alive
in a session history entry (such that it can be reused later on history traversal), set document's
salvageable state to false. Fire a page transition event named Run any unloading document visibility change steps for document that
- are defined by other applicable specifications. If document's page showing flag is true: Set document's page showing flag to false. Fire a page transition event named Fire an event named If unloadTimingInfo is not null, then set unloadTimingInfo's
unload event start time to the current high resolution time given
document's relevant global object. Unload event: If document's salvageable state is false, then fire an event named If document's salvageable state is
+ false, then fire an event named
+ If unloadTimingInfo is not null, then set unloadTimingInfo's
unload event end time to the current high resolution time given
@@ -95130,6 +95123,7 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnl
See also media element events and
Date: Mon, 18 Oct 2021 11:31:35 +0200
Subject: [PATCH 16/25] Correct recommendations to escape script in literals
Fixes #7179.
---
source | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/source b/source
index 8037a5fa278..623ad58c132 100644
--- a/source
+++ b/source
@@ -59464,9 +59464,9 @@ o............A....e
The easiest and safest way to avoid the rather strange restrictions described in
this section is to always escape an ASCII case-insensitive match for " The following script illustrates this issue. Suppose you have a script that contains a string,
as in: If one were to put this string directly in a The intention is to use the original value of the
The intention is to use the original value of the The intention is to use the original value of the The following term is defined in CSS Pseudo-Elements: The value must be a string that matches the syntax for the CSS 'color-scheme'
- property value, and will be cascaded with the color-scheme declarations for the document root
- element as described below. There must not be more than one To obtain a page's color-scheme, user agents must run the following steps: To obtain a page's supported color-schemes, user agents must run the following steps: Return null. If any If element's url is non-null, its scheme is " Set the url. Let url be this element's url. If url is null or url's cannot-be-a-base-URL is true,
- then return. If url is null or url has an opaque path, then
+ return. Basic URL parse the given value, with
url as url and host
@@ -23604,8 +23605,8 @@ document.body.appendChild(wbr);
Let url be this element's url. If url is null or url's cannot-be-a-base-URL is true,
- then return. If url is null or url has an opaque path, then
+ return. Basic URL parse the given value, with
url as url and hostname
@@ -23662,17 +23663,10 @@ document.body.appendChild(wbr);
Let url be this element's url. If url is null, return the empty string. If url's cannot-be-a-base-URL is true, then return
- url's path[0]. If url's path is empty, then return the
- empty string. If url is null, then return the empty string. Return " Return the result of URL path serializing
+ url. The Let url be this element's url. If url is null or url's cannot-be-a-base-URL is true,
- then return. If url is null or url has an opaque path, then
+ return. Set url's path to the empty
list. If copyURL's cannot-be-a-base-URL is true, then return. If copyURL has an opaque path, then return. Basic URL parse the given value, with
copyURL as url and host
@@ -85843,7 +85837,7 @@ interface Location { // but see also url. If copyURL's cannot-be-a-base-URL is true, then return. If copyURL has an opaque path, then return. Basic URL parse the given value, with
copyURL as url and hostname
@@ -85909,18 +85903,8 @@ interface Location { // but see also origin, then throw a
" Let url be this If url's cannot-be-a-base-URL is true, then return
- url's path[0]. If url's path is empty, then return the
- empty string. Return " Return the result of URL path serializing this
+ The If copyURL's cannot-be-a-base-URL is true, then return. If copyURL has an opaque path, then return. Set copyURL's path to the empty
list. The Let url be the associated If url's cannot-be-a-base-URL is true, then return
- url's path[0]. Return " The Returns the current spacing between characters in the text. Returns the current spacing between words in the text. Can be set, to change spacing between words. Postive values spreads words further apart,
- while negative values brings them closer together. The default is 0. Returns the current spacing between words in the text. Can be set, to change spacing between words. Postive values spreads words further apart,
+ while negative values brings them closer together. The default is 0. The The The The The The serialization of a site is the string obtained
+ by applying the following algorithm to the given site site: If site is an opaque origin, then
+ return " Let result be site[0]. Append " Append site[1], serialized, to
+ result. Return result. It needs to be clear from context that the serialized value is a site, not an
+ origin, as there is not necessarily a syntactic difference between the two. For example, the
+ origin (" Two origins, A and B, are said to be schemelessly same site if the following algorithm returns true: Let noopener be the result of getting
- an element's noopener with form and targetAttributeValue. Let target browsing context and windowType be the result of
applying the rules for choosing a browsing context using target,
From 217c973271598034611d0299dbd00b54d528f877 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren Let source text be the result of UTF-8
decoding response's body. Let MIME type be the result of extracting a
+ MIME type from response's header
+ list. Let module script be null. If MIME type is a JavaScript MIME type and module type
@@ -91605,10 +91609,10 @@ document.querySelector("button").addEventListener("click", bound);
settings object, response's url, and
options. If the MIME type essence of MIME type is If the MIME type essence of MIME type is " If MIME type essence is a JSON MIME type and module
type is " Navigate to the srcdoc resource: navigate an Set body to the result of encoding
body. Let MIME type be " Let mimeType be ` Let MIME type be the concatenation of the string " Let mimeType be the isomorphic
+ encoding of the concatenation of " Set body to the result of encoding
body using encoding. Let MIME type be " Let mimeType be ` Plan to navigate to a new request whose
URL is parsed action, method is method, header list consists of ` Set request's client to
settings. User agents may set ` User agents may set (` Set request's cache mode to
@@ -98844,18 +98845,26 @@ dictionary EventSourceInit {
If the Let request be the If the If the Let lastEventIDValue be the Set (` Fetch request and process the
response obtained in this fashion, if any, as described earlier in this section.
-
- [LegacyFactoryFunction]
[LegacyLenientThis]
[LegacyNullToEmptyString]
[LegacyOverrideBuiltIns]
[LegacyTreatNonObjectAsNull]
[LegacyUnenumerableNamedProperties]
[LegacyUnforgeable]
[LegacyFactoryFunction]
[LegacyLenientThis]
[LegacyNullToEmptyString]
[LegacyOverrideBuiltIns]
[LegacyTreatNonObjectAsNull]
[LegacyUnenumerableNamedProperties]
[LegacyUnforgeable]
-
- ArrayBuffer
ArrayBufferView
boolean
DOMString
double
Function
long
object
Uint8ClampedArray
unrestricted double
unsigned long
USVString
VoidFunction
ArrayBuffer
ArrayBufferView
boolean
DOMString
double
Function
long
object
Uint8ClampedArray
unrestricted double
unsigned long
USVString
VoidFunction
DOMException
+ data-x-href="https://webidl.spec.whatwg.org/#dfn-DOMException">DOMException
type and the following exception names are defined by Web IDL and used by this
specification:
-
IndexSizeError
"HierarchyRequestError
"InvalidCharacterError
"NoModificationAllowedError
"NotFoundError
"NotSupportedError
"InvalidStateError
"SyntaxError
"InvalidAccessError
"SecurityError
"NetworkError
"AbortError
"QuotaExceededError
"DataCloneError
"EncodingError
"NotAllowedError
"IndexSizeError
"HierarchyRequestError
"InvalidCharacterError
"NoModificationAllowedError
"NotFoundError
"NotSupportedError
"InvalidStateError
"SyntaxError
"InvalidAccessError
"SecurityError
"NetworkError
"AbortError
"QuotaExceededError
"DataCloneError
"EncodingError
"NotAllowedError
"Date
object
@@ -94084,8 +94084,8 @@ import "https://example.com/foo/../module2.mjs";
TypeError
exception for such calls had the arguments not been there. heycam/webidl issue #581 investigates
+ href="https://github.com/whatwg/webidl/issues/581">whatwg/webidl issue #581 investigates
changing the algorithm to allow for their removal. open(url,
@@ -126225,7 +126225,7 @@ INSERT INTERFACES HERE
zh-CN
Chinese (People's Republic of China)
- gb18030
+ GBK
-
+
-
+
zh-TW
@@ -107138,7 +107138,7 @@ dictionary StorageEventInit : EventInit {
windows-1256,
windows-1257,
windows-1258,
- gb18030,
+ GBK,
Big5,
ISO-2022-JP,
Shift_JIS,
From 383e1a95fa6615d1ed9c0a0c5f3d11794cfccc4c Mon Sep 17 00:00:00 2001
From: Domenic Denicola other
"), run the first
+ matching set of steps from the following list:
+ area
element with one or more shapes that are
@@ -75022,28 +75023,28 @@ END:VCARD
-
-
-
+ click
", then let possible
- focus delegates be the list of all click focusable focusable areas whose DOM anchor is a descendant
- of focus target in the flat tree.click
", then let possible
+ focus delegates be the list of all click focusable focusable areas whose DOM anchor is a descendant
+ of focus target in the flat tree.
+
+
+
+ autofocus
content attribute, then
+ continue.click
", then continue.
-
@@ -82084,8 +82085,8 @@ interface BarProp {
Sites
-
self
on WorkletGlobalScope
.WorkletGlobalScope
).
globalThis
has made it no longer true. See
Date: Fri, 15 Oct 2021 19:11:34 +0200
Subject: [PATCH 14/25] Block external protocol handler with sandboxed iframes
Closes #2191.
---
source | 74 ++++++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 54 insertions(+), 20 deletions(-)
diff --git a/source b/source
index 048bff7b1c2..8fe847be5d1 100644
--- a/source
+++ b/source
@@ -86739,8 +86739,8 @@ interface Location { // but see also javascript" nor a fetch
scheme
+
+
+
+
+ allow-top-navigation-by-user-activation
+ token and hasTransientActivation is trueallow-top-navigation
tokenallow-popups
tokenjavascript:
URL request,
given a request request, a browsing
@@ -126429,6 +126462,7 @@ INSERT INTERFACES HERE
Arne Thomassen,
Aron Spohr,
Arphen Lin,
+ Arthur Sonzogni,
Arthur Stolyar,
Arun Patole,
Aryeh Gregor,
From 3285b988b8e962d9692e547fd3101ceb23cb1cb6 Mon Sep 17 00:00:00 2001
From: Noam Rosenthal visibilitychange
at
+ newDocument, with its bubbles
attribute
+ initialized to true.pageshow
at newDocument's relevant global
@@ -88912,40 +88909,36 @@ dictionary PageTransitionEventInit : EventInitpagehide
event and don't rerun the unloading document
- visibility change steps).pagehide
at document's relevant global
- object with document's salvageable
- state.
+
+ pagehide
at document's relevant global
+ object with document's salvageable state.visibilitychange
at
+ newDocument, with its bubbles
attribute
+ initialized to true.unload
- at document's relevant global object, with legacy target override
- flag set.unload
at document's
+ relevant global object, with legacy target override flag set.Event handler Event handler event type
onreadystatechange
readystatechange
+ onvisibilitychange
visibilitychange
@@ -125586,6 +125580,13 @@ INSERT INTERFACES HERE
Window
Fired at the Window
object when the page is going away
+
+
visibilitychange
+ Event
+ Document
+ Fired at the Document
object when the page becomes visible or hidden to the
+ user.
+
<!--
" as "<\!--
", "<script
" as "<\script
", and "</script
" as "<\/script
" when these sequences appear
+ data-x=""><!--" as "\x3C!--
", "<script
" as "\x3Cscript
", and "</script
" as "\x3C/script
" when these sequences appear
in literals in scripts (e.g. in strings, regular expressions, or comments), and to avoid writing
code that uses such constructs in expressions. Doing so avoids the pitfalls that the restrictions
in this section are prone to triggering: namely, that, for historical reasons, parsing of
@@ -59516,14 +59516,14 @@ tag-end =/ %x003E ; U+003E GREATER-THAN SIGN (>)
fail because the script (highlighted here) is not valid JavaScript:var example = 'Consider this string: <!-- <script>';
+
const example = 'Consider this string: <!-- <script>';
console.log(example);
script
block, it would violate the
restrictions above:
@@ -59535,7 +59535,7 @@ console.log(example);<script>
- var example = 'Consider this string: <!-- <script>';
+ const example = 'Consider this string: <!-- <script>';
console.log(example);
</script>
avoided entirely:
<script>
- var example = 'Consider this string: <!-- <script>';
+ const example = 'Consider this string: <!-- <script>';
console.log(example);
</script>
<!-- despite appearances, this is actually part of the script still! -->
@@ -59551,8 +59551,8 @@ console.log(example);
<script>
- // Note: `\s` is an escape sequence for `s`.
- var example = 'Consider this string: <\!-- <\script>';
+ // Note: `\x3C` is an escape sequence for `<`.
+ const example = 'Consider this string: \x3C!-- \x3Cscript>';
console.log(example);
</script>
<!-- this is just a comment between script blocks -->
From 175007c0799601a0f5f76e7abefe378c13464b13 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
IntersectionObserver
constructor. However, we're forced to use the
JavaScript-exposed constructor in this specification, until Intersection Observer
exposes low-level hooks for use in specifications. See bug w3c/IntersectionObserver#427
+ href="https://github.com/w3c/IntersectionObserver/issues/464">w3c/IntersectionObserver#464
which tracks this.
@@ -7128,7 +7128,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
isIntersecting
and
target
getters. See w3c/IntersectionObserver#427.
+ href="https://github.com/w3c/IntersectionObserver/issues/464">w3c/IntersectionObserver#464.
observe
method. See w3c/IntersectionObserver#427.
+ href="https://github.com/w3c/IntersectionObserver/issues/464">w3c/IntersectionObserver#464.
unobserve
method. See w3c/IntersectionObserver#427.
+ href="https://github.com/w3c/IntersectionObserver/issues/464">w3c/IntersectionObserver#464.
meta
element.
meta
element with its name
attribute value set to an
@@ -14608,7 +14608,7 @@ interface HTMLMetaElement : HTMLElement {
+
+ content
attribute.meta
elements are path
is "blob
", and its
- cannot-be-a-base-URL is true, terminate these steps.blob
", and it has an
+ opaque path, then terminate these steps./
", followed by the strings in url's path (including empty strings), separated from each other by
- "/
".pathname
attribute's setter must run these
@@ -23684,8 +23678,8 @@ document.body.appendChild(wbr);
SecurityError
" DOMException
.Location
object's url./
", followed by the strings in url's path (including empty strings), separated from each other by
- "/
".Location
object's url.pathname
attribute's setter must run these
@@ -85938,7 +85922,7 @@ interface Location { // but see also urlpathname
attribute's getter must run these
- steps:
-
+ data-x="dom-WorkerLocation-pathname">pathname getter steps are to return the result
+ of URL path serializing the associated WorkerGlobalScope
object's
- url./
", followed by the strings in url's path (including empty strings), separated from each other by
- "/
".WorkerGlobalScope
object's
+ url.
search
attribute's getter must run these
From c4ec84c5735e42f0111437d3fe85867d94a3b190 Mon Sep 17 00:00:00 2001
From: Yi Xu <34253055+yiyix@users.noreply.github.com>
Date: Wed, 20 Oct 2021 17:43:32 +0000
Subject: [PATCH 20/25] Rename canvas CSS text modifier property names
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
textLetterSpacing → letterSpacing, and textWordSpacing → wordSpacing.
Closes #5617.
---
source | 54 +++++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/source b/source
index b5a742d306c..32562c0d973 100644
--- a/source
+++ b/source
@@ -61024,12 +61024,12 @@ interface mixin CanvasTextDrawingStyles {
attribute CanvasTextAlign textAlign; // (default: "start")
attribute CanvasTextBaseline textBaseline; // (default: "alphabetic")
attribute CanvasDirection direction; // (default: "inherit")
- attribute double textLetterSpacing; // (default: 0)
- attribute double textWordSpacing; // (default: 0)
+ attribute double letterSpacing; // (default: 0)
attribute CanvasFontKerning fontKerning; // (default: "auto")
attribute CanvasFontStretch fontStretch; // (default: "normal")
attribute CanvasFontVariantCaps fontVariantCaps; // (default: "normal")
attribute CanvasTextRendering textRendering; // (default: "auto")
+ attribute double wordSpacing; // (default: 0)
};
interface mixin CanvasPath {
@@ -61485,12 +61485,12 @@ context.fillRect(100,0,50,50); // only this square remains
data-x="dom-context-2d-textAlign">textAlign, textBaseline
, direction
, textLetterSpacing
, textWordSpacing
, letterSpacing
, fontKerning
, fontStretch
, fontVariantCaps
, textRendering
, wordSpacing
, imageSmoothingEnabled
, imageSmoothingQuality
.
context.textLetterSpacing [ = value ]
styles.textLetterSpacing [ = value ]
context.letterSpacing [ = value ]
styles.letterSpacing [ = value ]
context.textWordSpacing [ = value ]
styles.textWordSpacing [ = value ]
context.fontKerning [ = value ]
styles.fontKerning [ = value ]
auto
".
context.wordSpacing [ = value ]
styles.wordSpacing [ = value ]
textLetterSpacing
IDL attribute, on
- getting, must return the current value. On setting, the current value must be changed to the new
- value, where values may be positive or negative. When the object implementing the
- CanvasTextDrawingStyles
interface is created,
- the textLetterSpacing
attribute must
- initially have the value 0.textWordSpacing
IDL attribute, on
+ data-x="dom-context-2d-letterSpacing">letterSpacing IDL attribute, on
getting, must return the current value. On setting, the current value must be changed to the new
value, where values may be positive or negative. When the object implementing the
CanvasTextDrawingStyles
interface is created,
- the textWordSpacing
attribute must
+ the letterSpacing
attribute must
initially have the value 0.
value. When the object implementing the
CanvasTextDrawingStyles
interface is created,
the textRendering
attribute must
initially have the value "auto
".wordSpacing
IDL attribute, on
+ getting, must return the current value. On setting, the current value must be changed to the new
+ value, where values may be positive or negative. When the object implementing the
+ CanvasTextDrawingStyles
interface is created,
+ the wordSpacing
attribute must
+ initially have the value 0.textAlign
attribute's allowed keywords are
@@ -62529,7 +62529,7 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
'letter-spacing'
- target's
+ textLetterSpacing
target's
letterSpacing
SVG text-rendering
@@ -62541,7 +62541,7 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
From 436234246bd8aa40c01c3547f3bd1c6d64b9c62f Mon Sep 17 00:00:00 2001
From: Andrew Paseltiner 'word-spacing'
- target's
+ textWordSpacing
target's
wordSpacing
+
+
+ null
".://
" to result.https
", "shop.example
", null, null) and
+ the site ("https
", "shop.example
") have the same
+ serialization: "https://shop.example
".
- zh-CN
- Chinese (People's Republic of China)
+ zh-Hans, zh-CN, zh-SG
+ Chinese, Simplified
GBK
-
-
-
-
-
-
-
-
-
-
- zh-TW
- Chinese (Taiwan)
+ zh-Hant, zh-HK, zh-MO, zh-TW
+ Chinese, Traditional
Big5
From 997aa36a3a4b83e133ae256ec7dc3abe998e1a0f Mon Sep 17 00:00:00 2001
From: Anne van Kesteren text/css
and
- module type is "css
", then set module script to the
- result of creating a CSS module script given source text and module
- map settings object.text/css
"
+ and module type is "css
", then set module script to
+ the result of creating a CSS module script given source text and
+ module map settings object.json
", then set module script to the result of
From 7fcb4ea5ba78b9d73f34e9c5077594f353c20858 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren iframe
or
frame
given element and a new response whose URL
- list consists of about:srcdoc
, header list consists of `Content-Type
`/`text/html
`, and is « about:srcdoc
», header list is « (`Content-Type
`, `text/html
`) », and body is the value of element's srcdoc
attribute.application/x-www-form-urlencoded
".application/x-www-form-urlencoded
`.multipart/form-data
multipart/form-data;
", a U+0020 SPACE character, the string "boundary=
", and the multipart/form-data
- boundary string generated by the multipart/form-data
- encoding algorithm.multipart/form-data; boundary=
" and the multipart/form-data
boundary string generated by the multipart/form-data
encoding algorithm.text/plain
text/plain
".text/plain
`.Content-Type
`/MIME type, and header list is « (`Content-Type
`, mimeType) », and body is body.Content-Type
`/`text/html;charset=utf-8
`, and whose header list is « (`Content-Type
`,
+ `text/html;charset=utf-8
`) », and whose body is the result of UTF-8
encoding result.Accept
`/`text/event-stream
` in request's
+ Accept
`, `text/event-stream
`) in request's
header list.
EventSource
object's readyState
attribute is not set to CONNECTING
, return.EventSource
object's request.
- EventSource
object's last event ID string is not the empty
- string, set `Last-Event-ID
`/last event ID string, encoded as UTF-8, in request's header list.EventSource
object's last event ID string is not the empty
+ string, then:
+
+ EventSource
object's last event ID string, encoded as UTF-8.Last-Event-ID
`, lastEventIDValue) in
+ request's header list.