Closed
Bug 640917
Opened 14 years ago
Closed 13 years ago
Make SVG foreignObject a CSS fixed position containing block
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: lfournie, Assigned: bzbarsky)
References
Details
(Keywords: testcase)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 ( .NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 ( .NET CLR 3.5.30729)
An xhtml DIV inside a foreignobject of a SVG document does not render the content with a CSS property 'position:fixed'.
FF does not return ant error and the DOM inspector shows the right block position but content still empty !
Works fine with Webkit (chromium 10.0.629.0 (70502)
The bug exists also on Linux FF4.0 beta13
Reproducible: Always
Steps to Reproduce:
Run this SVG code:
<svg xmlns="http://www.w3.org/2000/svg">
<style type="text/css">div { position:fixed; background: #aaa; } </style>
<foreignObject width="100px" height="100px">
<div xmlns="http://www.w3.org/1999/xhtml">TEXT</div>
</foreignObject>
</svg>
Actual Results:
empty page
Expected Results:
'TEXT' string rendered
I have given a minimal example to reproduce the bug but my initial request was to embbed a full HTML5 Ace editor inside an SVG code. (Ace request a fixed div)
| Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Can you add the testcase as an attachment rather than pasting it as a comment please?
| Reporter | ||
Comment 3•14 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Able to reproduce in Firefox 4rc1. Works fine for me in Firefox 3.6.15.
Updated•14 years ago
|
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
| Reporter | ||
Comment 5•14 years ago
|
||
(In reply to comment #4)
> Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
>
> Able to reproduce in Firefox 4rc1. Works fine for me in Firefox 3.6.15.
The bug is on both:
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 ( .NET CLR 3.5.30729)
and nightly build: 4.0b13pre (2011-03-10)
Comment 6•14 years ago
|
||
Confirmed agsinst Trunk & Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.16pre) Gecko/20110308 Namoroka/3.6.16pre ID:20110308033207
Keywords: testcase
Version: unspecified → Trunk
| Assignee | ||
Comment 7•14 years ago
|
||
roc, the frame is there but we seem to not end up painting the div... any idea why?
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 8•13 years ago
|
||
Attachment #599351 -
Flags: review?(jwatt)
Updated•13 years ago
|
Attachment #599351 -
Flags: review?(jwatt) → review+
Updated•13 years ago
|
Assignee: nobody → bzbarsky
OS: Windows XP → All
Hardware: x86 → All
Updated•13 years ago
|
Summary: svg foreignobject css position fixed no display → Make SVG foreignObject a CSS fixed position containing block
| Assignee | ||
Comment 9•13 years ago
|
||
Flags: in-testsuite+
Target Milestone: --- → mozilla13
Comment 10•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•