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

<strong> tags are not rendering properly in WebView

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8, 9
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      JavaSE8u101 Windows+x86 JVM

    • Subcomponent:
      web
    • CPU:
      x86
    • OS:
      windows

      Description


      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/

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: