Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6571676

Swing HTML should use the appropriate content placeholders for external objects

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 7
    • client-libs
    • Fix Understood
    • generic
    • generic

      Currently, when a special element (like an image) is added to the Swing HTML document, a space character is used as a model placeholder. This choice is not appropriate because space characters have well-known semantic, for example, a space-based BreakIterator could find a non-existent breakpoint in the document.

      "The Use of Unicode with Markup Languages" document (UTR#20) recomments that the 'OBJECT REPLACEMENT CHARACTER' (U+FFFC) should be used as a model placeholder for external objects. Swing HTML should follow this recommendation.

            peterz Peter Zhelezniakov
            gsm Sergey Groznyh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: