W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2012

2002/css-validator/org/w3c/css/properties/css1 Css1Style.java,1.49,1.50 CssBackgroundAttachmentMob.java,1.4,NONE CssBackgroundColorMob.java,1.7,NONE CssBackgroundImageMob.java,1.4,NONE CssBackgroundMob.java,1.5,NONE CssBackgroundPositionMob.java,1.4,NONE CssBackgroundRepeatMob.java,1.4,NONE CssBackgroundTV.java,1.6,NONE

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 02 Nov 2012 14:14:15 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TUI0l-0007Gb-7X@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1
In directory hutz:/tmp/cvs-serv27786/css1

Modified Files:
	Css1Style.java 
Removed Files:
	CssBackgroundAttachmentMob.java CssBackgroundColorMob.java 
	CssBackgroundImageMob.java CssBackgroundMob.java 
	CssBackgroundPositionMob.java CssBackgroundRepeatMob.java 
	CssBackgroundTV.java 
Log Message:
more mobile/tv cleanup

--- CssBackgroundMob.java DELETED ---

--- CssBackgroundImageMob.java DELETED ---

--- CssBackgroundTV.java DELETED ---

Index: Css1Style.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/Css1Style.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- Css1Style.java	2 Nov 2012 13:53:26 -0000	1.49
+++ Css1Style.java	2 Nov 2012 14:14:12 -0000	1.50
@@ -62,7 +62,6 @@
 	 * background properties
 	 */
 	public org.w3c.css.properties.css.CssBackground cssBackground = new org.w3c.css.properties.css.CssBackground();
-	public CssBackgroundMob cssBackgroundMob = new CssBackgroundMob();
 
 	/* Text properties */
 	/**
@@ -341,16 +340,6 @@
 		return cssBackground.color;
 	}
 
-	public final CssBackgroundColorMob getBackgroundColorMob() {
-		if (cssBackgroundMob.color == null) {
-			cssBackgroundMob.color =
-					(CssBackgroundColorMob) style.CascadingOrder(
-							new CssBackgroundColorMob(),
-							style, selector);
-		}
-		return cssBackgroundMob.color;
-	}
-
 	/**
 	 * Get the background-image property
 	 */
@@ -363,16 +352,6 @@
 		return cssBackground.image;
 	}
 
-	// TODO this one has to go as well
-	public final CssBackgroundImageMob getBackgroundImageMob() {
-		if (cssBackgroundMob.image == null) {
-			cssBackgroundMob.image =
-					(CssBackgroundImageMob) style.CascadingOrder(new CssBackgroundImageMob(),
-							style, selector);
-		}
-		return cssBackgroundMob.image;
-	}
-
 	/**
 	 * Get the background-repeat property
 	 */
@@ -385,17 +364,6 @@
 		return cssBackground.repeat;
 	}
 
-	// TODO this one has to go as well
-
-	public final CssBackgroundRepeatMob getBackgroundRepeatMob() {
-		if (cssBackgroundMob.repeat == null) {
-			cssBackgroundMob.repeat =
-					(CssBackgroundRepeatMob) style.CascadingOrder(new CssBackgroundRepeatMob(),
-							style, selector);
-		}
-		return cssBackgroundMob.repeat;
-	}
-
 	/**
 	 * Get the background-attachment property
 	 */
@@ -408,16 +376,6 @@
 		return cssBackground.attachment;
 	}
 
-	// TODO this one has to go as well
-	public final CssBackgroundAttachmentMob getBackgroundAttachmentMob() {
-		if (cssBackgroundMob.attachment == null) {
-			cssBackgroundMob.attachment =
-					(CssBackgroundAttachmentMob) style.CascadingOrder(new CssBackgroundAttachmentMob(),
-							style, selector);
-		}
-		return cssBackgroundMob.attachment;
-	}
-
 	/**
 	 * Get the background-position property
 	 */
@@ -430,16 +388,6 @@
 		return cssBackground.position;
 	}
 
-	// TODO this one has to go as well
-	public final CssBackgroundPositionMob getBackgroundPositionMob() {
-		if (cssBackgroundMob.position == null) {
-			cssBackgroundMob.position =
-					(CssBackgroundPositionMob) style.CascadingOrder(new CssBackgroundPositionMob(),
-							style, selector);
-		}
-		return cssBackgroundMob.position;
-	}
-
 	/**
 	 * Get the background property
 	 */
@@ -462,29 +410,6 @@
 		return cssBackground;
 	}
 
-	public final CssBackgroundMob getBackgroundMob() {
-		if (cssBackgroundMob.getColor() == null) {
-			cssBackgroundMob.color = getBackgroundColorMob();
-		}
-		if (cssBackgroundMob.image == null) {
-			cssBackgroundMob.image = getBackgroundImageMob();
-		}
-		if (cssBackgroundMob.repeat == null) {
-			cssBackgroundMob.repeat = getBackgroundRepeatMob();
-		}
-		if (cssBackgroundMob.attachment == null) {
-			cssBackgroundMob.attachment = getBackgroundAttachmentMob();
-		}
-		if (cssBackgroundMob.position == null) {
-			cssBackgroundMob.position = getBackgroundPositionMob();
-		}
-		return cssBackgroundMob;
-	}
-
-	/*
-		 * Text properties
-		 */
-
 	/**
 	 * Get the word-spacing property
 	 */
@@ -1409,27 +1334,12 @@
 					&& (!selector.isBlockLevelElement())) {
 				warnings.addWarning(new Warning(cssTextIndent,
 						"block-level", 1, ac));
-			} else if ((cssTextIndentMob != null)
-					&& (selector != null)
-					&& (!selector.isBlockLevelElement())) {
-				warnings.addWarning(new Warning(cssTextAlignMob,
-						"block-level", 1, ac));
 			}
 			if ((cssTextAlign != null)
 					&& (selector != null)
 					&& (!selector.isBlockLevelElement())) {
 				warnings.addWarning(new Warning(cssTextAlign,
 						"block-level", 1, ac));
-			} else if ((cssTextAlignMob != null)
-					&& (selector != null)
-					&& (!selector.isBlockLevelElement())) {
-				warnings.addWarning(new Warning(cssTextAlignMob,
-						"block-level", 1, ac));
-			} else if ((cssTextAlignTV != null)
-					&& (selector != null)
-					&& (!selector.isBlockLevelElement())) {
-				warnings.addWarning(new Warning(cssTextAlignTV,
-						"block-level", 1, ac));
 			}
 			if ((cssWhiteSpace != null)
 					&& (selector != null)

--- CssBackgroundPositionMob.java DELETED ---

--- CssBackgroundAttachmentMob.java DELETED ---

--- CssBackgroundColorMob.java DELETED ---

--- CssBackgroundRepeatMob.java DELETED ---
Received on Friday, 2 November 2012 14:14:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:53 UTC