Closed Bug 53190 Opened 24 years ago Closed 24 years ago

Existing style attribute prevents runtime binding attachment

Categories

(Core :: XBL, defect, P3)

x86
Other
defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: taras.tielkes, Assigned: hyatt)

References

()

Details

Attachments

(4 files)

An HTML DIV element that has an "inline" style attribute, for example [stlye="background-color:red;"], fails to be attached to an XBL binding at runtime, using a statement like: [myDiv.style.MozBinding = "url(b.xml#test)";] The runtime binding attachment will work fine when no inline style attribute is present on the HTML element. Will attach testcase later today.
Attached file Testcase, XBL part
Please ignore the previous two HTML testcases, they don't contain the right Bugzilla attachment URL to load the XBL file.
Hmm, I can't figure out how to load the xml data from bugzilla with the # part working. Will move the testcase to a separate URL.
I added a link to the URL field that will show the bug in action. Also take a look at: http://pakkapakka.webhostme.com/stylexbl.html for a version *WITHOUT* the inline style attribute.
Cheched both (working & non-working) testcases with a sept. 19 nightly build on WinNT.
->future
Target Milestone: --- → Future
Thanks for the great test case. This is now fixed on the trunk.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: