You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2015/10/15 14:17:35 UTC

svn commit: r1708808 - in /myfaces/tobago/branches/tobago-3.0.x/tobago-theme: tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/ tobago-theme-standard/src/main/java/org/apache/myfaces/tobago...

Author: lofwyr
Date: Thu Oct 15 12:17:35 2015
New Revision: 1708808

URL: http://svn.apache.org/viewvc?rev=1708808&view=rev
Log:
using u instead of span for underlining

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/css/TobagoClass.java
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css?rev=1708808&r1=1708807&r2=1708808&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css Thu Oct 15 12:17:35 2015
@@ -44,12 +44,6 @@ html {
     box-sizing: border-box;
 }
 
-/* accesskey ---------------------------------------------------------------- */
-
-.tobago-x-accessKey {
-  text-decoration: underline;
-}
-
 /* box ---------------------------------------------------------------- */
 
 fieldset.tobago-box {

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/css/TobagoClass.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/css/TobagoClass.java?rev=1708808&r1=1708807&r2=1708808&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/css/TobagoClass.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/css/TobagoClass.java Thu Oct 15 12:17:35 2015
@@ -39,8 +39,7 @@ public enum TobagoClass implements CssIt
   SHEET__PAGING_LINKS("tobago-sheet-pagingLinks"),
   SHEET__PAGING_OUTPUT("tobago-sheet-pagingOutput"),
   SHEET__PAGING_PAGES("tobago-sheet-pagingPages"),
-  SUGGEST("tobago-suggest"),
-  X__ACCESS_KEY("tobago-x-accessKey");
+  SUGGEST("tobago-suggest");
 
   private final String name;
 

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java?rev=1708808&r1=1708807&r2=1708808&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java Thu Oct 15 12:17:35 2015
@@ -97,10 +97,9 @@ public final class HtmlRendererUtils {
         writer.writeText(text);
       } else {
         writer.writeText(text.substring(0, pos));
-        writer.startElement(HtmlElements.SPAN);
-        writer.writeClassAttribute(TobagoClass.X__ACCESS_KEY);
+        writer.startElement(HtmlElements.U);
         writer.writeText(Character.toString(text.charAt(pos)));
-        writer.endElement(HtmlElements.SPAN);
+        writer.endElement(HtmlElements.U);
         writer.writeText(text.substring(pos + 1));
       }
     }