@@ -1131,27 +1131,31 @@ URL Modifiers</h4>
11311131URL Processing Model</h4>
11321132
11331133 <div algorithm>
1134- To <dfn export>fetch a style resource</dfn> from [=/url=] or
1135- <<url>> |urlValue|, given a {{CSSStyleSheet}} |sheet|,
1134+ To <dfn export>fetch a style resource</dfn> from a [=/url=] or <<url>> |urlValue|,
1135+ given a {{CSSStyleSheet}} |sheet|,
11361136 a string |destination| matching a {{RequestDestination}} ,
11371137 a "no-cors" or "cors" |corsMode|,
1138- and an algorithm |processResponse| accepting a [=/response=] and a null, failure or byte
1139- stream:
1138+ and an algorithm |processResponse| accepting a [=/response=]
1139+ and a null, failure or byte stream:
11401140
11411141 1. Let |environmentSettings| be |sheet|'s [=relevant settings object=] .
11421142
1143- 2. Let |base| be |sheet|'s <a spec=cssom>stylesheet base URL</a> if it is not null, otherwise
1144- |environmentSettings|'s [=API base URL=] . [[CSSOM]]
1143+ 2. Let |base| be |sheet|'s <a spec=cssom>stylesheet base URL</a> if it is not null,
1144+ otherwise |environmentSettings|'s [=API base URL=] .
1145+ [[CSSOM]]
11451146
1146- 3. Let |parsedUrl| be the result of the [=URL parser=] steps with |urlValue|'s [=/url=] and |base|.
1147+ 3. Let |parsedUrl| be the result of the [=URL parser=] steps
1148+ with |urlValue|'s [=/url=] and |base|.
11471149 If the algorithm returns an error, return.
11481150
1149- 4. Let |req| be a new [=/request=] whose [=request/url=] is |parsedUrl|, whose
1150- [=request/destination=] is |destination|, [=request/mode=] is |corsMode|,
1151+ 4. Let |req| be a new [=/request=] whose [=request/url=] is |parsedUrl|,
1152+ whose [=request/destination=] is |destination|,
1153+ [=request/mode=] is |corsMode|,
11511154 [=request/origin=] is |environmentSettings|'s [=environment settings object/origin=] ,
1152- [=request/credentials mode=] is "same-origin", [=request/use-url-credentials flag=] is
1153- set, [=request/client=] is |environmentSettings|, and whose [=request/referrer=] is
1154- |environmentSettings|'s [=API base URL=] .
1155+ [=request/credentials mode=] is "same-origin",
1156+ [=request/use-url-credentials flag=] is set,
1157+ [=request/client=] is |environmentSettings|,
1158+ and whose [=request/referrer=] is |environmentSettings|'s [=API base URL=] .
11551159
11561160 5. [=Apply request modifiers from URL value=] given |req| and |urlValue|.
11571161
0 commit comments