Closed
Bug 53190
Opened 25 years ago
Closed 25 years ago
Existing style attribute prevents runtime binding attachment
Categories
(Core :: XBL, defect, P3)
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.
| Reporter | ||
Comment 1•25 years ago
|
||
| Reporter | ||
Comment 2•25 years ago
|
||
| Reporter | ||
Comment 3•25 years ago
|
||
| Reporter | ||
Comment 4•25 years ago
|
||
Please ignore the previous two HTML testcases, they don't contain the right
Bugzilla attachment URL to load the XBL file.
| Reporter | ||
Comment 5•25 years ago
|
||
| Reporter | ||
Comment 6•25 years ago
|
||
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.
| Reporter | ||
Comment 7•25 years ago
|
||
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.
| Reporter | ||
Comment 8•25 years ago
|
||
Cheched both (working & non-working) testcases with a sept. 19 nightly build on
WinNT.
| Assignee | ||
Comment 10•25 years ago
|
||
Thanks for the great test case. This is now fixed on the trunk.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•