Arelle / ixbrl-viewer

The Arelle iXBRL Viewer allows Inline XBRL (or iXBRL) reports to be viewed interactively in a web browser. The viewer allows users to access the tagged XBRL data embedded in an iXBRL report.
Other
93 stars 57 forks source link

[BUG] "Concealed fact" warning used inappropriately #647

Closed paulwarren-wk closed 5 months ago

paulwarren-wk commented 5 months ago

What happened?

The viewer will sometimes show the "Concealed Fact" warning on facts that are not concealed.

Example filing

The issue is caused by the inclusion of table tags that do not form part of the display of the document because the cells contain absolutely positioned. For example:

<td>
    <span class="absolutely-positioned-class">
        <ix:nonFraction>1234</ix:nonFraction>
    </span>
</td>

In this case, the viewer concludes that the tag is the only significant content in the table cell, and uses the <td> as the wrapper node. It also then treats the <span> as an ixbrl-sub-element wrapper node.

The check for concealed tags includes:

this.wrapperNodes.is(':hidden')

which triggers because jQuery considers the <td> to be hidden because it has no size.

Version

1.4.19

With which browsers are you experiencing the bug?

Chrome

Documents

https://filings.xbrl.org/filing/2221005IWV4R4EP4D553-2023-12-31-ESEF-IT-0

Screenshots

image