зеркало из https://github.com/mozilla/pjs.git
Don't call SelectorMatches on document fragments (test). (Bug 437170) r+sr=bzbarsky
This commit is contained in:
Родитель
8aaec8fb44
Коммит
2c15c3cfd5
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
html img { color: blue; }
|
||||
</style>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var r = document.createRange();
|
||||
r.selectNodeContents(document.documentElement);
|
||||
r.cloneContents();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
|
||||
<img src="data:image/gif,GIF87a%02%00%02%00%B3%00%00%00%00%00%FF%FF%FF%00%00%00%00%00%00%FF%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%2C%00%00%00%00%02%00%02%00%00%04%03%90H%12%00%3B" onload="window.getComputedStyle(this, null).getPropertyValue('color');">
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -12,3 +12,4 @@ load 399289-1.svg
|
|||
load 404470-1.html
|
||||
load 411603-1.html
|
||||
load 413274-1.xhtml
|
||||
load 437170-1.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче