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

Default CSS Styles are incorrectly over-riding API-specified attributes of the Text node (and possibly others)

XMLWordPrintable

      The attached program calls setFont() on the Text node and then adds it to the scene.
      In this case the CSS default style is applied after the call by the developer to set the Font.
      ie Tracing shows that Text.impl_cssSet(..) is called after the developer's set call and
      disregards that the developer intended something other than the default value.
      At a minimum a default CSS value should not over-ride anything other than a value that
      has been "defaulted" by the developer. Any explicit setting (even to the default value)
      should be honoured.

            dgrieve David Grieve
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: