WebKit Bugzilla
Attachment 371587 Details for
Bug 198660
: Video in SVG foreignObject is not translated correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Example of video in foreignObject in SVG that is rendered at incorrect location
bug.html (text/html), 928 bytes, created by
Matthew
on 2019-06-07 08:58:44 PDT
(
hide
)
Description:
Example of video in foreignObject in SVG that is rendered at incorrect location
Filename:
MIME Type:
Creator:
Matthew
Created:
2019-06-07 08:58:44 PDT
Size:
928 bytes
patch
obsolete
><!doctype html> ><html> > <head> > <meta charset="UTF-8"> > </head> > > <body> > <h1>Video in SVG's <foreignBody></h1> > <svg width="600" height="600"> > <g transform="translate(100 0)"> > <rect x="0" y="0" width="400" height="400" style="fill:red"/> > <foreignObject x="0" y="0" width="400" height="400"> > <div xmlns="http://www.w3.org/1999/xhtml"> > <p>The video should appear in the red rectangle</p> > <video width="100%" height="100%" controls="on"> > <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm"/> > <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg"/> > <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4"/> > <source src="http://techslides.com/demos/sample-videos/small.3gp" type="video/3gp"/> > </video> > </div> > </foreignObject> > </g> > </svg> > </body> ></html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <h1>Video in SVG's <foreignBody></h1> <svg width="600" height="600"> <g transform="translate(100 0)"> <rect x="0" y="0" width="400" height="400" style="fill:red"/> <foreignObject x="0" y="0" width="400" height="400"> <div xmlns="http://www.w3.org/1999/xhtml"> <p>The video should appear in the red rectangle</p> <video width="100%" height="100%" controls="on"> <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm"/> <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg"/> <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4"/> <source src="http://techslides.com/demos/sample-videos/small.3gp" type="video/3gp"/> </video> </div> </foreignObject> </g> </svg> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 198660
: 371587 |
371590