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 2014/01/13 16:47:18 UTC

svn commit: r1557756 - in /myfaces/tobago/branches/tobago-3.0.x: tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/ tobago-theme/tobago-theme-charlotteville/src/main/resources/org/apache/myfaces/tobago/renderkit/html/charlotteville/stan...

Author: lofwyr
Date: Mon Jan 13 15:47:17 2014
New Revision: 1557756

URL: http://svn.apache.org/r1557756
Log:
TOBAGO-1358 - Using CSS box-sizing: border-box instead of content-box

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Style.java
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-charlotteville/src/main/resources/org/apache/myfaces/tobago/renderkit/html/charlotteville/standard/property/tobago-theme-config.properties
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/property/tobago-theme-config.properties
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_6_0/property/tobago-theme-config.properties
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_7_0/property/tobago-theme-config.properties
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties
    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-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/property/tobago-theme-config.properties
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRenderer.java
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRendererBase.java
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/property/tobago-theme-config.properties

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Style.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Style.java?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Style.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Style.java Mon Jan 13 15:47:17 2014
@@ -19,7 +19,6 @@
 
 package org.apache.myfaces.tobago.renderkit.css;
 
-import org.apache.myfaces.tobago.context.ResourceManagerUtils;
 import org.apache.myfaces.tobago.layout.Display;
 import org.apache.myfaces.tobago.layout.LayoutBase;
 import org.apache.myfaces.tobago.layout.LayoutComponent;
@@ -88,31 +87,9 @@ public class Style implements Serializab
     final String rendererType = layout.getRendererType();
     
     width = layout.getCurrentWidth();
-    if (width != null) {
-      // TODO: Make configurable: this is needed if the box-sizing is border-box, not content-box (see CSS3)
-      width = width.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.border-left-width"));
-      width = width.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.padding-left"));
-      width = width.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.padding-right"));
-      width = width.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.border-right-width"));
-    }
     height = layout.getCurrentHeight();
-    if (height != null) {
-      // TODO: Make configurable: this is needed if the box-sizing is border-box, not content-box (see CSS3)
-      height = height.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.border-top-width"));
-      height = height.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.padding-top"));
-      height = height.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.padding-bottom"));
-      height = height.subtractNotNegative(
-          ResourceManagerUtils.getThemeMeasure(facesContext, layout, "css.border-bottom-width"));
-    }
-    this.left = layout.getLeft();
-    this.top = layout.getTop();
+    left = layout.getLeft();
+    top = layout.getTop();
 
     // if there are a position coordinates, activate absolute positioning
     // XXX String "Page" is not nice here

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-charlotteville/src/main/resources/org/apache/myfaces/tobago/renderkit/html/charlotteville/standard/property/tobago-theme-config.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-charlotteville/src/main/resources/org/apache/myfaces/tobago/renderkit/html/charlotteville/standard/property/tobago-theme-config.properties?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-charlotteville/src/main/resources/org/apache/myfaces/tobago/renderkit/html/charlotteville/standard/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-charlotteville/src/main/resources/org/apache/myfaces/tobago/renderkit/html/charlotteville/standard/property/tobago-theme-config.properties Mon Jan 13 15:47:17 2014
@@ -20,10 +20,6 @@
 
 # deactivates the shadow
 Box.shadow=0
-Box.css.border-left-width=1
-Box.css.border-top-width=1
-Box.css.border-right-width=1
-Box.css.border-bottom-width=1
 Box.borderLeft=1
 Box.borderTop=21
 Box.borderRight=1

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/property/tobago-theme-config.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/property/tobago-theme-config.properties?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/property/tobago-theme-config.properties Mon Jan 13 15:47:17 2014
@@ -20,10 +20,6 @@
 
 # deactivates the shadow
 Box.shadow=0
-Box.css.border-left-width=1
-Box.css.border-top-width=1
-Box.css.border-right-width=1
-Box.css.border-bottom-width=1
 Box.borderLeft=1
 Box.borderTop=21
 Box.borderRight=1

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_6_0/property/tobago-theme-config.properties
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/msie_6_0/property/tobago-theme-config.properties?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_6_0/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_6_0/property/tobago-theme-config.properties Mon Jan 13 15:47:17 2014
@@ -18,15 +18,6 @@
 # theme: scarborough
 # agent: msie_6_0
 
-Button.css.border-left-width=0
-Button.css.border-top-width=0
-Button.css.border-right-width=0
-Button.css.border-bottom-width=0
-Button.css.padding-left=0
-Button.css.padding-top=0
-Button.css.padding-right=0
-Button.css.padding-bottom=0
-
 SelectManyListbox.minimumHeight=38
 SelectManyListbox.preferredHeight=86
 

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_7_0/property/tobago-theme-config.properties
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/msie_7_0/property/tobago-theme-config.properties?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_7_0/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/msie_7_0/property/tobago-theme-config.properties Mon Jan 13 15:47:17 2014
@@ -18,15 +18,6 @@
 # theme: scarborough
 # agent: msie_7_0
 
-Button.css.border-left-width=0
-Button.css.border-top-width=0
-Button.css.border-right-width=0
-Button.css.border-bottom-width=0
-Button.css.padding-left=0
-Button.css.padding-top=0
-Button.css.padding-right=0
-Button.css.padding-bottom=0
-
 SelectManyListbox.minimumHeight=38
 SelectManyListbox.preferredHeight=86
 

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties
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/property/tobago-theme-config.properties?rev=1557756&r1=1557755&r2=1557756&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/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago-theme-config.properties Mon Jan 13 15:47:17 2014
@@ -45,14 +45,6 @@ Button.paddingWidth=10
 Button.preferredHeight=25
 Button.minimumHeight=25
 Button.minimumWidth=10
-Button.css.border-left-width=1
-Button.css.border-top-width=1
-Button.css.border-right-width=1
-Button.css.border-bottom-width=1
-Button.css.padding-left=2
-Button.css.padding-top=2
-Button.css.padding-right=2
-Button.css.padding-bottom=2
 
 Cell.headerHeight=0
 Cell.minimumWidth=0
@@ -82,14 +74,6 @@ Date.preferredHeight=25
 Date.maximumHeight=25
 # 200 - 5 - 16 for space and picker
 Date.preferredWidth=179
-Date.css.border-left-width=2
-Date.css.border-top-width=2
-Date.css.border-right-width=2
-Date.css.border-bottom-width=2
-Date.css.padding-left=2
-Date.css.padding-top=2
-Date.css.padding-right=2
-Date.css.padding-bottom=2
 
 File.minimumHeight=20
 File.preferredHeight=20
@@ -106,23 +90,11 @@ In.minimumHeight=25
 In.preferredHeight=25
 In.maximumHeight=25
 In.preferredWidth=200
-In.css.border-left-width=2
-In.css.border-top-width=2
-In.css.border-right-width=2
-In.css.border-bottom-width=2
-In.css.padding-left=2
-In.css.padding-top=2
-In.css.padding-right=2
-In.css.padding-bottom=2
 
 Label.fixedWidth=144
 Label.fixedHeight=25
 Label.preferredWidth=144
 Label.preferredHeight=25
-Label.css.padding-left=2
-Label.css.padding-top=3
-Label.css.padding-right=2
-Label.css.padding-bottom=3
 
 Link.fontWidth=8
 # todo: check this values
@@ -147,10 +119,6 @@ Popup.preferredHeight=100
 Popup.preferredWidth=200
 
 Progress.preferredHeight=25
-Progress.css.border-left-width=2
-Progress.css.border-top-width=2
-Progress.css.border-right-width=2
-Progress.css.border-bottom-width=2
 
 RichTextEditor.headerHeight=28
 
@@ -217,16 +185,6 @@ Textarea.minimumWidth=20
 Textarea.minimumHeight=36
 Textarea.preferredWidth=200
 
-Textarea.css.border-left-width=2
-Textarea.css.border-top-width=2
-Textarea.css.border-right-width=2
-Textarea.css.border-bottom-width=2
-
-Textarea.css.padding-left=0
-Textarea.css.padding-top=0
-Textarea.css.padding-right=0
-Textarea.css.padding-bottom=0
-
 Time.fixedWidth=105
 Time.maximumWidth=100
 Time.minimumWidth=100
@@ -234,10 +192,6 @@ Time.minimumHeight=25
 Time.preferredHeight=25
 Time.maximumHeight=25
 
-ToolBar.css.border-left-width=2
-ToolBar.css.border-top-width=2
-ToolBar.css.border-right-width=2
-ToolBar.css.border-bottom-width=2
 ToolBar.fontWidth=8
 ToolBar.custom.icon-big-width=32
 ToolBar.custom.icon-big-height=32
@@ -253,10 +207,6 @@ ToolBar.custom.padding-center=3
 ToolBar.custom.padding-right=3
 ToolBar.custom.label-height=14
 
-BoxToolBar.css.border-left-width=2
-BoxToolBar.css.border-top-width=2
-BoxToolBar.css.border-right-width=2
-BoxToolBar.css.border-bottom-width=2
 BoxToolBar.height=21
 BoxToolBar.fontWidth=8
 BoxToolBar.custom.icon-small-width=16
@@ -270,10 +220,6 @@ BoxToolBar.custom.padding-center=3
 BoxToolBar.custom.padding-right=3
 BoxToolBar.custom.label-height=14
 
-TabGroupToolBar.css.border-left-width=0
-TabGroupToolBar.css.border-top-width=0
-TabGroupToolBar.css.border-right-width=0
-TabGroupToolBar.css.border-bottom-width=1
 TabGroupToolBar.height=19
 TabGroupToolBar.fontWidth=8
 TabGroupToolBar.custom.icon-small-width=16

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=1557756&r1=1557755&r2=1557756&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 Mon Jan 13 15:47:17 2014
@@ -38,6 +38,12 @@ html {
   margin: 0;
 }
 
+*, *:before, *:after {
+    -moz-box-sizing: border-box;
+    -webkit-box-sizing: border-box;
+    box-sizing: border-box;
+}
+
 /* box ---------------------------------------------------------------- */
 
 fieldset.tobago-box {
@@ -148,10 +154,6 @@ fieldset.tobago-box {
   font-weight: normal;
   cursor: pointer;
   height: 19px;
-  box-sizing: content-box;
-  -moz-box-sizing: content-box;
-  -webkit-box-sizing: content-box;
-  -ms-box-sizing: content-box;
 }
 
 .tobago-button-markup-default {

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/property/tobago-theme-config.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/property/tobago-theme-config.properties?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/property/tobago-theme-config.properties Mon Jan 13 15:47:17 2014
@@ -43,14 +43,6 @@ Button.minimumWidth=10
 Date.minimumHeight=20
 Date.preferredHeight=20
 Date.maximumHeight=20
-Date.css.border-left-width=1
-Date.css.border-top-width=1
-Date.css.border-right-width=1
-Date.css.border-bottom-width=1
-Date.css.padding-left=2
-Date.css.padding-top=2
-Date.css.padding-right=2
-Date.css.padding-bottom=2
 
 DatePicker.fixedWidth=20
 
@@ -60,14 +52,6 @@ File.prettyWidthSub=27
 In.minimumHeight=20
 In.preferredHeight=20
 In.maximumHeight=20
-In.css.border-left-width=1
-In.css.border-top-width=1
-In.css.border-right-width=1
-In.css.border-bottom-width=1
-In.css.padding-left=2
-In.css.padding-top=2
-In.css.padding-right=2
-In.css.padding-bottom=2
 
 Label.fixedWidth=120
 Label.preferredWidth=120
@@ -82,10 +66,6 @@ Messages.preferredHeight=15
 Out.preferredHeight=20
 
 Progress.preferredHeight=20
-Progress.css.border-left-width=1
-Progress.css.border-top-width=1
-Progress.css.border-right-width=1
-Progress.css.border-bottom-width=1
 
 SelectBooleanCheckbox.height=19
 
@@ -122,28 +102,10 @@ Tab.paddingBottom=5
 # XXX with shadow add +1 to borderRight and borderBottom
 
 Textarea.minimumHeight=33
-Textarea.css.border-left-width=1
-Textarea.css.border-top-width=1
-Textarea.css.border-right-width=1
-Textarea.css.border-bottom-width=1
-Textarea.css.padding-left=2
-Textarea.css.padding-top=0
-Textarea.css.padding-right=0
-Textarea.css.padding-bottom=0
 
 Time.minimumHeight=20
 Time.preferredHeight=20
 Time.maximumHeight=20
 
-ToolBar.css.border-left-width=1
-ToolBar.css.border-top-width=1
-ToolBar.css.border-right-width=1
-ToolBar.css.border-bottom-width=1
-
-BoxToolBar.css.border-left-width=1
-BoxToolBar.css.border-top-width=1
-BoxToolBar.css.border-right-width=1
-BoxToolBar.css.border-bottom-width=1
-
 TreeMenuCommand.custom.padding-left=15
 TreeMenuLabel.custom.padding-left=15

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRenderer.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/standard/standard/tag/ToolBarRenderer.java?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRenderer.java Mon Jan 13 15:47:17 2014
@@ -21,7 +21,6 @@ package org.apache.myfaces.tobago.render
 
 import org.apache.myfaces.tobago.component.UIToolBar;
 import org.apache.myfaces.tobago.config.Configurable;
-import org.apache.myfaces.tobago.context.ResourceManager;
 import org.apache.myfaces.tobago.layout.Measure;
 import org.apache.myfaces.tobago.layout.TextAlign;
 import org.apache.myfaces.tobago.renderkit.css.Classes;
@@ -59,14 +58,6 @@ public class ToolBarRenderer extends Too
 
   @Override
   public Measure getHeight(final FacesContext facesContext, final Configurable toolBar) {
-
-    final ResourceManager resources = getResourceManager();
-
-    Measure result = getItemHeight(facesContext, toolBar);
-
-    result = result.add(resources.getThemeMeasure(facesContext, toolBar, "css.border-top-width"));
-    result = result.add(resources.getThemeMeasure(facesContext, toolBar, "css.border-bottom-width"));
-
-    return result;
+    return getItemHeight(facesContext, toolBar);
   }
 }

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRendererBase.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/standard/standard/tag/ToolBarRendererBase.java?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRendererBase.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRendererBase.java Mon Jan 13 15:47:17 2014
@@ -348,9 +348,6 @@ public abstract class ToolBarRendererBas
 
     // item style
     final Style itemStyle = new Style();
-    if (isRightAligned(toolBar)) { // overrides the default in the CSS file.
-      itemStyle.setLeft(resources.getThemeMeasure(facesContext, toolBar, "css.border-right-width"));
-    }
     itemStyle.setWidth(
         showDropDownMenu ? buttonStyle.getWidth().add(menuStyle.getWidth()) : buttonStyle.getWidth());
     itemStyle.setHeight(buttonStyle.getHeight());

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/property/tobago-theme-config.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/property/tobago-theme-config.properties?rev=1557756&r1=1557755&r2=1557756&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/property/tobago-theme-config.properties (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/property/tobago-theme-config.properties Mon Jan 13 15:47:17 2014
@@ -27,29 +27,12 @@ Cell.borderLeft=0
 Cell.borderTop=0
 Cell.borderRight=0
 Cell.borderBottom=0
-Cell.css.border-left-width=0
-Cell.css.border-top-width=0
-Cell.css.border-right-width=0
-Cell.css.border-bottom-width=0
-Cell.css.padding-left=0
-Cell.css.padding-top=0
-Cell.css.padding-right=0
-Cell.css.padding-bottom=0
 
 DatePicker.width=16
 
 GridLayout.columnSpacing=5
 GridLayout.rowSpacing=5
 
-Label.css.border-left-width=0
-Label.css.border-top-width=0
-Label.css.border-right-width=0
-Label.css.border-bottom-width=0
-Label.css.padding-left=0
-Label.css.padding-top=0
-Label.css.padding-right=0
-Label.css.padding-bottom=0
-
 Messages.preferredHeight=17
 
 Page.borderLeft=0
@@ -69,15 +52,6 @@ Popup.borderTop=0
 Popup.borderRight=0
 Popup.borderBottom=0
 
-Separator.css.border-left-width=0
-Separator.css.border-top-width=0
-Separator.css.border-right-width=0
-Separator.css.border-bottom-width=0
-Separator.css.padding-left=0
-Separator.css.padding-top=0
-Separator.css.padding-right=0
-Separator.css.padding-bottom=0
-
 Tab.marginLeft=5
 Tab.marginRight=5
 Tab.marginTop=5