mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Regression reftests for bug 822014 to let us know if the behavior of clip-path on outer-<svg> with a border changes.
This commit is contained in:
parent
ce3ece2587
commit
265cd73200
@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="100" y="100" width="100" height="100" fill="black"/>
|
||||
<rect x="150" y="150" width="50" height="50" fill="yellow"/>
|
||||
</svg>
|
After Width: | Height: | Size: 179 B |
31
layout/reftests/svg/svg-integration/clipPath-html-07.xhtml
Normal file
31
layout/reftests/svg/svg-integration/clipPath-html-07.xhtml
Normal file
@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=822014 -->
|
||||
<head>
|
||||
<title>Test clip-path on outer-<svg> with border</title>
|
||||
<style>
|
||||
|
||||
html, body {
|
||||
border: 0; margin: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
width="200" height="200" clip-path="url(#cp)"
|
||||
style="border: solid 100px black; margin: 50px;">
|
||||
|
||||
<clipPath id="cp">
|
||||
<path d="M50,50 150,50 150,150 50,150 z"/>
|
||||
</clipPath>
|
||||
|
||||
<rect width="100%" height="100%" fill="yellow"/>
|
||||
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
26
layout/reftests/svg/svg-integration/clipPath-html-08.xhtml
Normal file
26
layout/reftests/svg/svg-integration/clipPath-html-08.xhtml
Normal file
@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=822014 -->
|
||||
<head>
|
||||
<title>Test clip-path on <div> with border</title>
|
||||
<style>
|
||||
|
||||
html, body {
|
||||
border: 0; margin: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="clip-path: url(#cp); width: 200px; height: 200px; background: yellow; border: solid 100px black; margin: 50px;"></div>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="0">
|
||||
<clipPath id="cp">
|
||||
<path d="M50,50 150,50 150,150 50,150 z"/>
|
||||
</clipPath>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
@ -10,6 +10,8 @@ fuzzy-if(true,140,70) == clipPath-html-05.xhtml clipPath-html-05-ref.xhtml # Bug
|
||||
fuzzy-if(true,140,70) == clipPath-html-05-extref.xhtml clipPath-html-05-ref.xhtml # Bug 776089
|
||||
== clipPath-html-06.xhtml clipPath-html-06-ref.xhtml
|
||||
== clipPath-html-06-extref.xhtml clipPath-html-06-ref.xhtml
|
||||
== clipPath-html-07.xhtml clipPath-html-07-ref.svg
|
||||
== clipPath-html-08.xhtml clipPath-html-07-ref.svg # reuse 07-ref.svg
|
||||
== clipPath-html-zoomed-01.xhtml clipPath-html-01-ref.svg
|
||||
== clipPath-transformed-html-01.xhtml ../pass.svg
|
||||
== clipPath-transformed-html-02.xhtml ../pass.svg
|
||||
|
Loading…
Reference in New Issue
Block a user