Skip to content

Commit 6865584

Browse files
committed
Use more precise terms for same-origin
1 parent 64becb5 commit 6865584

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

css-cascade-4/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,8 @@ Processing Stylesheet Imports</h3>
296296
1. Set |importedStylesheet|'s <a spec=cssom>origin-clean flag</a> to
297297
|parentStylesheet|'s <a spec=cssom>origin-clean flag</a>.
298298

299-
1. If |response|'s [=response/url=]'s [=url/origin=] is not the [=same origin=] as
300-
|rule|'s [=relevant settings object=]'s [=environment settings object/origin=],
301-
unset |importedStylesheet|'s <a spec=cssom>origin-clean flag</a>.
299+
1. If |response| is not [=CORS-same-origin=], unset |importedStylesheet|'s
300+
<a spec=cssom>origin-clean flag</a>.
302301

303302
1. Set |rule|'s {{CSSImportRule/styleSheet}} to |importedStylesheet|.
304303
</div>

css-values-4/Overview.bs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,8 +1014,7 @@ URL processing model</h4>
10141014
1. Let |parsedUrl| be the result of the [=URL parser=] steps with |url| and |base|.
10151015
If the algorithm returns an error, return.
10161016

1017-
1. If |corsMode| is not "cors", or |url| is the [=same origin=] as |environmentSettings|'s
1018-
[=environment settings object/origin=], set |referrer| to |sheet|'s
1017+
1. If |corsMode| is "cors", set |referrer| to |sheet|'s
10191018
<a spec=cssom>location</a>. [[CSSOM]]
10201019

10211020
1. Let |req| be a new [=/request=] whose [=request/url=] is |parsedUrl|, whose

0 commit comments

Comments
 (0)