зеркало из https://github.com/mozilla/gecko-dev.git
Bug 577824 - Part 2. Add a reftest for an SVG filtered HTML element that's inserted into the DOM by script. r=jwatt
MozReview-Commit-ID: 2onAXw1tbcJ --HG-- extra : rebase_source : 80ec1cf90b6a313f9e0c48ba63068517115bb3be
This commit is contained in:
Родитель
eb978c416f
Коммит
ab6215e0a7
|
@ -0,0 +1,23 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<head>
|
||||
<style>
|
||||
div{
|
||||
left: 10px;
|
||||
top: 10px;
|
||||
position: absolute;
|
||||
width : 100px;
|
||||
height : 100px;
|
||||
margin : 10px;
|
||||
background : lime;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="margin:0">
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,35 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<head>
|
||||
<style>
|
||||
div{
|
||||
left: 10px;
|
||||
top: 10px;
|
||||
position: absolute;
|
||||
width : 100px;
|
||||
height : 100px;
|
||||
margin : 10px;
|
||||
background : red;
|
||||
filter:url(#flood);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="margin:0">
|
||||
<script>
|
||||
window.addEventListener('load',function(e){
|
||||
var div = document.createElement('div');
|
||||
document.body.appendChild(div);
|
||||
},false);
|
||||
</script>
|
||||
|
||||
<svg:svg width="0" height="0">
|
||||
<svg:filter id="flood" x="0" y="0" width="100%" height="100%" filterUnits="userSpaceOnUse">
|
||||
<svg:feFlood flood-color="lime"/>
|
||||
</svg:filter>
|
||||
</svg:svg>
|
||||
</body>
|
||||
</html>
|
|
@ -25,6 +25,7 @@ fuzzy-if(Android,255,30) == clipPath-html-06-extref.xhtml clipPath-html-06-ref.x
|
|||
== dynamic-conditions-outer-svg-03.xhtml ../pass.svg
|
||||
== dynamic-conditions-outer-svg-04.xhtml ../pass.svg
|
||||
== filter-html-01.xhtml filter-html-01-ref.svg
|
||||
== filter-html-dynamic-01.xhtml filter-html-dynamic-01-ref.xhtml
|
||||
random-if(Android) random-if(styloVsGecko) == filter-html-01-extref.xhtml filter-html-01-ref.svg # Android: bug 1198380
|
||||
== filter-html-zoomed-01.xhtml filter-html-01-ref.svg
|
||||
fuzzy-if(webrender,1,125414) == mask-html-01.xhtml mask-html-01-ref.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче