Ticket #6596 (closed enhancement: fixed)
[patch/cla] Tooltip content inacessible by CSS
| Reported by: | dante | Owned by: | bill |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Dijit | Version: | 1.1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
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
Change History
Note: See
TracTickets for help on using
tickets.