[Webkit-unassigned] [Bug 141936] New: Setting the data attribute of the <object> tag to an SVG data uri image does not have an affect
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 23 17:11:44 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=141936
Bug ID: 141936
Summary: Setting the data attribute of the <object> tag to an
SVG data uri image does not have an affect
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: zimmermann at kde.org
Created attachment 247171
--> https://bugs.webkit.org/attachment.cgi?id=247171&action=review
test case
Open the following test case (attached).
<html>
<body>
<object id="object1" type="image/svg+xml" data="data:image/svg+xml,
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
<rect width='100%' height='100%' fill='red'/>
</svg>">
</object>
<script>
var object = document.getElementById("object1");
object.setAttribute("data", "data:image/svg+xml, \
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'> \
<rect width='100%' height='100%' fill='lime'/> \
</svg>");
</script>
</body>
</html>
It has an <object> tag. Its data attributes points to an SVG data uri image which loads fine. After loading the page, the data attribute to another SVG data uri image.
Results: Setting the data attribute has no effect.
Expected: The contents of the <object> gets updated once the data attributes changes.
Notes: FireFox and Safari both work as expected.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150224/d85c0079/attachment-0002.html>
More information about the webkit-unassigned
mailing list