Two fictional declarations both refer to https://cdn.example/hero.avif. One uses a plain quoted url(); the other adds cross-origin(anonymous), integrity(“sha384-…”) and referrer-policy(no-referrer). URL resolution reaches the same absolute locator, but the resulting requests differ in mode, credentials, integrity checking and referrer policy.
This lesson continues The Gold Standard of Websites, the Gold Standard of Education and the How X Works hub. Every origin, URL, request field, integrity digest, response and browser observation is a synthetic teaching fixture. The lesson does not promise browser support, treat a modifier as part of the server path or claim that request configuration guarantees a successful CORS, integrity or resource decode outcome.
Record specified URL spelling, base URL, resolved absolute URL, modifier order, request mode, credentials mode, integrity metadata, referrer policy, referrer, Origin and Fetch Metadata headers, redirect chain, response status, CORS result, integrity result, decode result, computed style and browser build.
The CSS Values and Units Module Level 5 defines the current request modifiers and their ordered steps. CSS Values and Units Module Level 4 defines URL syntax, modifier processing and URL resolution. The Fetch Standard owns request fields and response processing. The Level 5 syntax is draft work, so support must be verified rather than assumed.
THE GOLD STANDARD · WEBSITES
the URL identifies the resource; request modifiers configure how its request is made
A CSS URL value contains a resource locator and can also carry functional modifiers. In the current CSS Values Level 5 draft, cross-origin(), integrity() and referrer-policy() modifiers apply ordered changes to the Fetch request. The locator can remain byte-for-byte identical while request mode, credentials, integrity metadata or referrer policy changes.
Fast route
Start with the decisive rule.
Start this route
Measurement route
Build the browser state and evidence ledger.
Start this route
Comparison route
Separate the nearest lookalikes.
Start this route
Transfer route
Change the context and retest.
Start this route
Reporting route
State limits and continue reading.
Start this route
Chapter contents
Open the full chapter index
- 1. Split locator and request configuration
- 2. Require quoted functional syntax
- 3. Apply cross-origin mode
- 4. Separate anonymous from no credentials
- 5. Apply integrity metadata
- 6. Keep integrity and CSP distinct
- 7. Apply referrer policy
- 8. Keep Referrer and Origin separate
- 9. Respect modifier order
- 10. Resolve the base URL first
- 11. Follow redirects
- 12. Separate configuration from success
- 13. Do not infer modifiers from the network URL
- 14. Treat duplicate fields cautiously
- 15. Treat unsupported syntax as unavailable
- 16. Transfer across resource contexts
- 17. Build a request matrix
- 18. Use the owning sources
1. Split locator and request configuration
The URL component resolves the resource address. Request modifiers change Fetch request fields without rewriting that address.
Original worked example. Both declarations resolve to the same CDN URL but produce different request modes. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove one modifier at a time. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Store URL and request fields in separate columns. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep grammar, source value, selected or mixed payload, request or layout state, computed result and rendered observation in separate fields.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
2. Require quoted functional syntax
The draft notes that unquoted url() syntax cannot carry URL modifiers; modifiers belong to the quoted functional form.
Original worked example. url(“hero.avif” cross-origin(anonymous)) can be parsed under the draft. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove the quotation marks. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record specified tokens and parse result. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable means the necessary syntax, resource or evidence was not established.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
3. Apply cross-origin mode
cross-origin() sets request mode to cors and chooses credentials behavior from anonymous or use-credentials.
Original worked example. anonymous uses same-origin credentials mode. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Switch to use-credentials. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Capture mode and credentials before sending. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while holding the rest fixed, predict the new branch before inspection and preserve any disagreement.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
4. Separate anonymous from no credentials
The anonymous setting does not mean credentials are never used; the draft sets credentials mode to same-origin.
Original worked example. A same-origin request may still carry credentials. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Move the same URL cross-origin. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record origin relation and actual cookies. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible rival explanation through the ledger and name the next observation that would distinguish it.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
5. Apply integrity metadata
integrity() sets the request’s integrity metadata string; Fetch later verifies eligible response bytes. The modifier does not rewrite or sign the URL.
Original worked example. A correct sha384 digest passes for one response body. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Change one response byte. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Preserve digest, bytes and verification result. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive exact declarations, resource hashes, response metadata, computed styles, geometry, font or image inventory and browser version.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
6. Keep integrity and CSP distinct
Integrity metadata verifies fetched bytes against supplied digests. CSP hash sources authorize certain content under policy. Sharing hash syntax does not merge their jobs.
Original worked example. A response passes SRI but violates a policy. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Change only the CSP. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record both gates independently. If this check fails, mark the claim unavailable and repair the method before continuing.
State the current editor-draft status where applicable and keep essential content usable when experimental visual behavior is absent.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
7. Apply referrer policy
referrer-policy() sets the request’s referrer policy before Fetch computes the referrer information to send.
Original worked example. no-referrer suppresses referrer disclosure. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Switch to strict-origin-when-cross-origin. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Capture policy and emitted Referer separately. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep grammar, source value, selected or mixed payload, request or layout state, computed result and rendered observation in separate fields.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
8. Keep Referrer and Origin separate
Changing referrer policy does not directly promise that the Origin header is omitted; Origin emission follows its own Fetch rules.
Original worked example. A no-referrer request can still carry Origin in a relevant mode. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Change request method or mode. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Archive both headers independently. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable means the necessary syntax, resource or evidence was not established.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
9. Respect modifier order
CSS Values applies request modifier steps in sequence. Distinct modifiers usually set distinct fields, but the exact ordered list remains part of the evidence.
Original worked example. cross-origin then integrity configures mode before the integrity field is consumed later. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Reverse source order where grammar permits. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Save the parsed modifier sequence. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while holding the rest fixed, predict the new branch before inspection and preserve any disagreement.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
10. Resolve the base URL first
Relative URL resolution depends on the declaration’s base URL and stylesheet context. Modifier arguments do not repair a wrongly resolved locator.
Original worked example. ../hero.avif resolves differently after stylesheet relocation. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Hold modifiers fixed and change the base. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record specified, base and absolute URLs. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible rival explanation through the ledger and name the next observation that would distinguish it.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
11. Follow redirects
Redirects can change the final response URL and interact with CORS and referrer processing, while the specified CSS locator and its modifiers remain the starting evidence.
Original worked example. The CDN URL redirects to another origin. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Serve the asset directly. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Capture every redirect and request field. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive exact declarations, resource hashes, response metadata, computed styles, geometry, font or image inventory and browser version.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
12. Separate configuration from success
Setting cors mode does not grant CORS approval; adding integrity metadata does not guarantee a matching response; setting a policy does not guarantee a referrer is sent.
Original worked example. The server omits Access-Control-Allow-Origin. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Add the exact response header. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Name configuration and outcome separately. If this check fails, mark the claim unavailable and repair the method before continuing.
State the current editor-draft status where applicable and keep essential content usable when experimental visual behavior is absent.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
13. Do not infer modifiers from the network URL
Developer tools may display the same request URL for modified and unmodified cases. URL equality cannot reveal credentials, integrity metadata or referrer policy.
Original worked example. Two rows show identical Name values. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Inspect request details and initiating declaration. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Require field-level evidence. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep grammar, source value, selected or mixed payload, request or layout state, computed result and rendered observation in separate fields.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
14. Treat duplicate fields cautiously
If future or external specifications define modifiers that touch the same request field, source order and applicable algorithms matter. Do not merge them by intuition.
Original worked example. Two hypothetical modifiers set referrer policy. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove the later one. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Preserve the exact parsed sequence. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable means the necessary syntax, resource or evidence was not established.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
15. Treat unsupported syntax as unavailable
A browser that rejects a modified URL value may drop the declaration. It has not necessarily fetched the unmodified URL.
Original worked example. An earlier plain url() baseline wins. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Test a supporting build. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record parser support, winning declaration and network trace. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while holding the rest fixed, predict the new branch before inspection and preserve any disagreement.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
16. Transfer across resource contexts
Different CSS properties and resource types can impose additional fetching or decoding rules. A modifier model should not erase the property’s own context.
Original worked example. A font and an image use the same locator. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Change only the consuming property. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record destination property and request destination. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible rival explanation through the ledger and name the next observation that would distinguish it.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
17. Build a request matrix
Cover relative and absolute URLs, anonymous and credentialed CORS, same- and cross-origin cases, matching and mismatching integrity, referrer policies, redirects, server denial and unsupported parsing.
Original worked example. Each row follows locator to final outcome. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Repeat with cache bypass and fresh requests. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Version stylesheet, server responses and browser. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive exact declarations, resource hashes, response metadata, computed styles, geometry, font or image inventory and browser version.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
18. Use the owning sources
CSS Values Level 5 owns current modifier definitions; Level 4 owns URL processing; Fetch owns request fields, CORS, integrity and referrer processing.
Original worked example. The route follows parse, resolve, modify, fetch, validate and decode. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. When the draft or implementation changes, rerun the matrix. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Save exact source URLs, access date and raw network records. If this check fails, mark the claim unavailable and repair the method before continuing.
State the current editor-draft status where applicable and keep essential content usable when experimental visual behavior is absent.
Before closing, reconcile the fixture against the chapter rule: identify the parsed declaration, source objects, selection or mixing rule, request or layout state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Grouped reading routes
Core route
Companion lessons
- Separating cross-fade() Image Mixing from image-set() Candidate Selection
- Separating palette-mix() Blending from @font-palette-values Definition
- Separating object-view-box Cropping from object-fit Sizing
Related specialist lessons
Sources and further study
CSS Values and Units Module Level 5. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
CSS Values and Units Module Level 4. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
Fetch Standard. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
The worked examples and transfer checks are developed here and state their own assumptions. The linked sources support the underlying CSS grammar, fetching, interpolation and layout principles.
Return to contents · Return to The Gold Standard of Websites