Skip to content

Commit 249bb7d

Browse files
committed
More precise wording on URL resolution
1 parent 4dd18a4 commit 249bb7d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

css-style-attr/Overview.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,10 @@ <h2 id=interpret><span class=secno>5. </span>Cascading and Interpretation</h2>
258258
styling attributes are cascaded together. <a href="#CSS21"
259259
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> Relative URLs in the style
260260
data must be resolved relative to the styling attribute's element (or to
261-
the document if per-element resolution is not defined) at the time of
262-
parsing.
261+
the document if per-element resolution is not defined) when the
262+
attribute's value is parsed<!-- so dynamic changes to
263+
the base URL don't affect the CSS ~Hixie -->.
264+
263265

264266
<p>Aside from the differences in cascading, the declarations in a styling
265267
attribute must be interpreted exactly as if they were given in a CSS style

css-style-attr/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ <h2 id="interpret">Cascading and Interpretation</h2>
148148
how style sheets and styling attributes are cascaded together. [[!CSS21]]
149149
Relative URLs in the style data must be resolved relative to the styling
150150
attribute's element (or to the document if per-element resolution is not
151-
defined) at the time of parsing.
151+
defined) when the attribute's value is parsed<!-- so dynamic changes to
152+
the base URL don't affect the CSS ~Hixie -->.
152153

153154
<p>Aside from the differences in cascading, the declarations in a styling
154155
attribute must be interpreted exactly as if they were given in a CSS

0 commit comments

Comments
 (0)