Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6422

The textNodeParser's hasTextToRead mistakenly thinks containers with floated elements are hidden

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None

      Description

      The fluid.textNodeParser.hasTextToRead function attempts to see if text is hidden by checking the elements offsetHeight. However, if the element only contains floated elements, it will have an offsetHeight of 0, even if those child elements are visible. 

      A more robust check for visibility needs to be done to determine if the text is actually visible. 

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jobara Justin Obara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: