Closed
Bug 290049
Opened 20 years ago
Closed 20 years ago
new bug to update <svg:use> attribute
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 290048
People
(Reporter: gwendal.mousset, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050411 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050411 Firefox/1.0+
Hello,
I find a new bug with firefox 1.0+ rv:1.8b2 Gecko/20050411.
Reproducible: Always
Steps to Reproduce:
1.I've the following SVG code :
...
<rect width="105" height="10" x="365" y="0" style="stroke:#000;" id="rect1" />
<use x="-105" y="0" xlink:href="#rect1" style="fill-opacity:0.75" id="rect2" />
<use x="-210" y="0" xlink:href="#rect1" style="fill-opacity:0.50" id="rect3" />
<use x="-315" y="0" xlink:href="#rect1" style="fill-opacity:0.25" id="rect4" />
...
2. And I try to update an attribute value with javascript :
...
global_legende.getElementById("rect1").style.setProperty("fill", color, "") ;
...
3.
Actual Results:
The color change for the <rect> element, but not for the <use> elements.
Expected Results:
With a previous release (1.8b2 20050320) this code works perfectly.
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 290048 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•