jdk/src/java.desktop/share/classes/javax/swing/text/html/CSS.java
changeset 28059 e576535359cc
parent 26749 b6598aa90114
child 32865 f9cb6e427f9e
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
  1586             if (name instanceof HTML.Attribute) {
  1586             if (name instanceof HTML.Attribute) {
  1587                 HTML.Attribute key = (HTML.Attribute)name;
  1587                 HTML.Attribute key = (HTML.Attribute)name;
  1588 
  1588 
  1589                 /*
  1589                 /*
  1590                  * HTML.Attribute.ALIGN needs special processing.
  1590                  * HTML.Attribute.ALIGN needs special processing.
  1591                  * It can map to to 1 of many(3) possible CSS attributes
  1591                  * It can map to 1 of many(3) possible CSS attributes
  1592                  * depending on the nature of the tag the attribute is
  1592                  * depending on the nature of the tag the attribute is
  1593                  * part off and depending on the value of the attribute.
  1593                  * part off and depending on the value of the attribute.
  1594                  */
  1594                  */
  1595                 if (key == HTML.Attribute.ALIGN) {
  1595                 if (key == HTML.Attribute.ALIGN) {
  1596                     String htmlAttrValue = (String)htmlAttrSet.getAttribute(HTML.Attribute.ALIGN);
  1596                     String htmlAttrValue = (String)htmlAttrSet.getAttribute(HTML.Attribute.ALIGN);