Opened 13 years ago
Closed 13 years ago
#6596 closed enhancement (fixed)
[patch/cla] Tooltip content inacessible by CSS
Reported by: | dante | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I encountered a use case of wanting to be able to display Tooltip content when a user prints a page. Typically the way to do this
@media print { /* do something }
but the Tooltip data is set display:none by postCreate, and no additional CSS-based access to the node (other than by ID, but that's cumbersome) can be made. Attached patch removes JS styling of the srcNode, adding a class "dijitTooltipData" to the domNode. this makes something like:
@media print { .dijitTooltipData { display:block; border:2px solid red; } }
work.
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | tooltip.patch added |
---|
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
my patch