If
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Numbered Steps to Reproduce Problem:
Popup window with css and meta tag.
Code Snippet (if applicable) to Reproduce Problem:
//Just to show what's the content, file can be static
/mob/verb/make_test_css()
var/css = @{" .test { background: red; } "}
text2file(css,"test.css")
// All good. Page displays red background
/mob/verb/good()
var/asset_name = "whatever.css"
usr << browse_rsc('test.css',asset_name)
var/html = @{"<!DOCTYPE html> <html> <head> <link rel='stylesheet' type='text/css' href='whatever.css'> </head> <body class='test'>Testing</body> </html> "}
usr << browse(html,"window=test")
// Oh no. Page displays white background
/mob/verb/bad()
var/asset_name = "whatever.css"
usr << browse_rsc('test.css',asset_name)
var/html = @{"<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel='stylesheet' type='text/css' href='whatever.css'> </head> <body class='test'>Testing</body> </html> "}
usr << browse(html,"window=test")
Expected Results:
css loads
Actual Results:
css is ignored
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Worked fine in 514
Workarounds: I suppose not using the tag but that opens another bigger barrel of issues.