Closed Bug 93842 Opened 23 years ago Closed 23 years ago

position attribute of xul popup's does not work

Categories

(Core :: XUL, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: colinp, Assigned: hyatt)

Details

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

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.
Keywords: oeone
Whiteboard: [xul1.0-layout-popup]
Is this implemented yet?
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
"overlap" is not yet implemented (and neither is "position"), but it's easy. 
I'll add it when I add "position".
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
Closed: 23 years ago
Resolution: --- → FIXED
Thanks Hyatt!  Though I've found some "issues" with this.  I'll log a separate
bug against them.
Keywords: oeone
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.