mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
335da24386
With changes by: Jacek Caban <jacek@codeweavers.com> IE7 and below parse unescaped chars (such as whitespace) of urls without string as part of the url, unlike IE8+ which are spec compliant. So url(file:///C:/a b/blah.jpg) and url(C:\\c d\\foo.png) both work but only in IE7 and below modes, without having to escape the space with backslash or enclosing the url in quotes. The launcher for Imperiums: Greek Wars depends on this. Note that on native it's not spaces that are special, but rather it looks up until the closing parenthesis (unless it is escaped via backslash). For example, even unescaped newline is processed as part of url: background:url( ); background-color: black; ...sets it to black, but: background:url( ; background-color: black; ...does not since it's invalid. For some reason escaping a space via backslash `\ ` does not function as it should, but others do (such as parentheses). The game's launcher actually uses Regex.Escape(text).Replace("\ ", " "), so this is probably something special there. Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |