WebKit Bugzilla
Attachment 371919 Details for
Bug 198779
: [cairo][SVG] If clipPath has multiple elements, clip-path coordinate system is wrongly scaled in high DPI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
test case
clip.html (text/html), 582 bytes, created by
Fujii Hironori
on 2019-06-11 21:00:56 PDT
(
hide
)
Description:
test case
Filename:
MIME Type:
Creator:
Fujii Hironori
Created:
2019-06-11 21:00:56 PDT
Size:
582 bytes
patch
obsolete
><html> ><body style="margin: 0;"> ><svg xmlns="http://www.w3.org/2000/svg"> ><!-- The FO should be clipped with only the green half visible. --> ><defs> ><clipPath id="clip"> > <rect width="200" height="50"/> > <rect width="200" height="50"/> ></clipPath> ></defs> ><foreignObject width="200" height="100" clip-path="url(#clip)" opacity=".5"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <body> > <div style="background: green; height: 50px;"></div> > <div style="background: red; height: 50px;"></div> > </body> > </html> ></foreignObject> ></svg> ></body> ></html>
<html> <body style="margin: 0;"> <svg xmlns="http://www.w3.org/2000/svg"> <!-- The FO should be clipped with only the green half visible. --> <defs> <clipPath id="clip"> <rect width="200" height="50"/> <rect width="200" height="50"/> </clipPath> </defs> <foreignObject width="200" height="100" clip-path="url(#clip)" opacity=".5"> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <div style="background: green; height: 50px;"></div> <div style="background: red; height: 50px;"></div> </body> </html> </foreignObject> </svg> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 198779
: 371919 |
371920
|
371925