Closed
Bug 101511
Opened 24 years ago
Closed 4 years ago
removeChild and appendChild break boxObject x/y/width/height
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: colinp, Unassigned)
Details
Attachments
(1 file)
|
2.11 KB,
application/octet-stream
|
Details |
building XUL programmatically using removeChild and appendChild breaks the
consistency of the boxObject's width & height properties
Updated•24 years ago
|
Status: NEW → ASSIGNED
Summary: removeChild and appendChild break boxObject → removeChild and appendChild break boxObject x/y/width/height
Target Milestone: --- → mozilla0.9.5
Updated•24 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 1•24 years ago
|
||
My examination of the box object code shows that the x/y/width/height props
should all be kept up to date on every query. I will need to see a specific
testcase highlighting a problem in order to proceed.
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
Added test case.
The problem seems to be with appending image elements.
It is also sensitive to the XUL cache. If the cache is ON both the image test
and the image-within-an-xbl-tag test will be wrong the first time. If the cache
is OFF the image test will always be right and the XBL test will be wrong the
first time after a reload.
Comment 4•24 years ago
|
||
Is this affecting OEone, or just a mozilla1.0 correctness issue?
| Reporter | ||
Comment 5•24 years ago
|
||
It's both.
Updated•24 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Updated•24 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Updated•24 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.2
Comment 6•23 years ago
|
||
--> default owner.
Status: ASSIGNED → NEW
QA Contact: jrgm → shrir
Target Milestone: mozilla1.2alpha → ---
Comment 7•22 years ago
|
||
Why do you think if you setup attribute by setAttribute() method then you'll
change attribute of anonymous elements, witch inherits this attribute. You can
check it when you'll add some method into your xbl, in example:
<method name="get_original_src">
return document.getAnonymousNodes(this)[0].getAttribute("src");
</method>
and execute this method after creating xbl. This method returns null.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
Updated•16 years ago
|
Assignee: hyatt → nobody
Comment 8•4 years ago
|
||
no longer relevant
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•