WebKit Bugzilla
Attachment 342668 Details for
Bug 186595
: SVG container has wrong aspect ratio when using vertical writing ("writing-mode: vertical-rl;")
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
example HTML for the problem.
svgDemo.html (text/html), 811 bytes, created by
Gabe Giosia
on 2018-06-13 09:59:03 PDT
(
hide
)
Description:
example HTML for the problem.
Filename:
MIME Type:
Creator:
Gabe Giosia
Created:
2018-06-13 09:59:03 PDT
Size:
811 bytes
patch
obsolete
><!DOCTYPE html> ><html> > <head> > <style id="prefs_css"> > svg { > width:200px; > background-color:red; > } > </style> > </head> > <body> > <div style="writing-mode: vertical-rl" xml:lang="ja" lang="ja"> > vertical > <svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" viewBox="0 0 1000 1500"> > <ellipse cx="500" cy="750" rx="450" ry="700" style="fill:yellow; stroke:purple; stroke-width:50" /> > </svg> > vertical > </div> > <div style="writing-mode: horizontal-tb" xml:lang="en" lang="en"> > horizontal > <svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" viewBox="0 0 1000 1500"> > <ellipse cx="500" cy="750" rx="450" ry="700" style="fill:yellow; stroke:purple; stroke-width:50" /> > </svg> > horizontal > </div> > </body> ></html>
<!DOCTYPE html> <html> <head> <style id="prefs_css"> svg { width:200px; background-color:red; } </style> </head> <body> <div style="writing-mode: vertical-rl" xml:lang="ja" lang="ja"> vertical <svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" viewBox="0 0 1000 1500"> <ellipse cx="500" cy="750" rx="450" ry="700" style="fill:yellow; stroke:purple; stroke-width:50" /> </svg> vertical </div> <div style="writing-mode: horizontal-tb" xml:lang="en" lang="en"> horizontal <svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" viewBox="0 0 1000 1500"> <ellipse cx="500" cy="750" rx="450" ry="700" style="fill:yellow; stroke:purple; stroke-width:50" /> </svg> horizontal </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 186595
:
342667
| 342668