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

<strong> tags are not rendering properly in WebView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8, 9
    • javafx
    • None
    • JavaSE8u101 Windows+x86 JVM

    • web
    • x86
    • windows


      When you add a strong Tag within a paragraph, JavaFx WebView is not making the text strong, its the same as the text around it. Refer to attached image for its detail.. This is only a problem when the following font is specified as this css:

      {code}
      p{
        font-family: 'Source Sans Pro', 'Helvetica', sans-serif;
      }
      {code}

      Chrome has no trouble with displaying the Strong font here.

      This jsfiddle reproduces the issue:
      https://jsfiddle.net/5z7g7zLx/9/

      This jsfiddle is working, but has no font-family set
      https://jsfiddle.net/5z7g7zLx/10/

            prr Philip Race
            gucheng Guixin Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: