Summary: | inline-block span positioned "relative" inside foreignObject are not scaled correctly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> | ||||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED DUPLICATE | ||||||||||
Severity: | Normal | CC: | ahmad.saleem792, ap, eric, fraser, info, krit, pdr, robert, simon.fraser, tony, webkit-bug-importer, zalan | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 84012, 126516 | ||||||||||
Attachments: |
|
Description
Frédéric Wang (:fredw)
2012-08-07 05:33:27 PDT
Of course, this affects both coordinates and size. You can try to use "left: 25px; top: 25px; width: 25px; height: 25px;" in the testcase. Created attachment 174887 [details]
Another test case.
This bug prevents the use of Closure UI widgets in SVG. Attached is an independently created testcase. Works fine in Gecko.
SVG trees don't have RenderLayers. It's a loooong standing bug. :( Not just span everything, see https://stackoverflow.com/questions/63690664/safari-macos-foreign-object-not-positioned-properly-inside-svg Created attachment 460320 [details]
Safari 15.5 differs from other browsers
I am able to reproduce this bug in Safari 15.5 on macOS based on attached "Another Test", it is also reproducible using other test case but I am attaching just one screenshot for reference. All other browsers match each other as shown in the screenshot as well. Thanks!
|