position attribute of xul popup's does not work

RESOLVED FIXED

Status

()

Core
XUL
RESOLVED FIXED
17 years ago
10 years ago

People

(Reporter: Colin Phillips, Assigned: David Hyatt)

Tracking

Trunk
x86
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [xul1.0-layout-popup])

(Reporter)

Description

17 years ago
I have tried to follow the xul 1.0 spec for popup, but i cannot get the position
attribute to work.

the code I am using is as follows: (in navigator.xul)
<popupset>
	<popup position="overlap" id="colin">
		<label value="gus gone"/>
	</popup>
</popupset>
...
      <button class="button-toolbar bookmark-item" id="home-button"
label="&homeButton.label;"
              tooltip="aTooltip" persist="hidden" popup="colin"
...
When I click the back button the tooltip popup should overlap, but it always
pops up at the current mouse position.
(Reporter)

Updated

17 years ago
Keywords: oeone
(Reporter)

Updated

17 years ago
Whiteboard: [xul1.0-layout-popup]

Comment 1

17 years ago
Is this implemented yet?
(Reporter)

Comment 2

17 years ago
According to the xul 1.0 spec it is, and I haven't seen any bugs saying
"implement this".  So I would have to assume it's supposed to work.
oh hyatt! this is what you get for doing a spec that isn't fully implemented yet 
;)
Assignee: trudelle → hyatt
(Assignee)

Comment 4

17 years ago
"overlap" is not yet implemented (and neither is "position"), but it's easy. 
I'll add it when I add "position".
(Assignee)

Comment 5

17 years ago
Fixed in current builds.  

See section 2.4 of the spec on mozilla.org.  At the front of that section I 
have a link to an example page that illustrates all 11 possible alignments.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
(Reporter)

Comment 6

17 years ago
Thanks Hyatt!  Though I've found some "issues" with this.  I'll log a separate
bug against them.
Keywords: oeone

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.