Skip to content

[css-syntax-3][css-values-3][css-cascade-4][css-fonts-4] Formalize fetching and resource timing reporting #6715

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

Merged
merged 14 commits into from
Nov 3, 2021
Merged
Prev Previous commit
Next Next commit
Use more precise terms for same-origin
  • Loading branch information
noamr committed Oct 11, 2021
commit 6865584ca83166e9f74294004eaf82a89e32bc4c
5 changes: 2 additions & 3 deletions css-cascade-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,8 @@ Processing Stylesheet Imports</h3>
1. Set |importedStylesheet|'s <a spec=cssom>origin-clean flag</a> to
|parentStylesheet|'s <a spec=cssom>origin-clean flag</a>.

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

1. Set |rule|'s {{CSSImportRule/styleSheet}} to |importedStylesheet|.
</div>
Expand Down
3 changes: 1 addition & 2 deletions css-values-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,7 @@ URL processing model</h4>
1. Let |parsedUrl| be the result of the [=URL parser=] steps with |url| and |base|.
If the algorithm returns an error, return.

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

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