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

Bad css practice - usage of "!important" in Modena stylesheet

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      I've just come across the usage of "!important" in the stylesheet of Modena.
      This is known in css as bad practice. "!important" makes a stylesheet harder to maintain.

      You can see this article, there is a section there on when never to use "!important" and when to use it: http://coding.smashingmagazine.com/2010/11/02/the-important-css-declaration-how-and-when-to-use-it/

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              pdvieira Pedro Vieira
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: