Closed Bug 302762 Opened 19 years ago Closed 19 years ago

removeAttribute("viewBox") does not remove the viewBox

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 290967

People

(Reporter: holger, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050727 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050727 Firefox/1.0+

after doing removeAttribute("viewBox") , getAttribute("viewBox") is "null",
but viewBox.baseVal still holds the old viewBox values, and its still an active
viewBox.

Reproducible: Always

Steps to Reproduce:
1.create an SVG document with a viewBox
2.remove the viewBox via removeAttribute
3.

Actual Results:  
the attribute gets deleted, but there is still an active viewBox

Expected Results:  
after deleting the viewBox, the document should render as if no viewBox was set.
Attached image testcase

*** This bug has been marked as a duplicate of 290967 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: