2002/css-validator/org/w3c/css/properties/aural ACssElevation.java,1.1,1.2

Update of /sources/public/2002/css-validator/org/w3c/css/properties/aural
In directory hutz:/tmp/cvs-serv31827/org/w3c/css/properties/aural

Modified Files:
	ACssElevation.java 
Log Message:
All changes made by Jean-Guilhem Rouel:

Fix for bugs: 1269, 979, 791, 777, 776, 767, 765, 763, 576, 363

Errors in font, the handling of 'transparent', CSS Parser reinits...

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269
http://www.w3.org/Bugs/Public/show_bug.cgi?id=979
http://www.w3.org/Bugs/Public/show_bug.cgi?id=791
http://www.w3.org/Bugs/Public/show_bug.cgi?id=777
http://www.w3.org/Bugs/Public/show_bug.cgi?id=776
http://www.w3.org/Bugs/Public/show_bug.cgi?id=767
http://www.w3.org/Bugs/Public/show_bug.cgi?id=765
http://www.w3.org/Bugs/Public/show_bug.cgi?id=763
http://www.w3.org/Bugs/Public/show_bug.cgi?id=576
http://www.w3.org/Bugs/Public/show_bug.cgi?id=363



Index: ACssElevation.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/aural/ACssElevation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ACssElevation.java	23 Aug 2005 16:51:43 -0000	1.1
+++ ACssElevation.java	26 Aug 2005 14:09:49 -0000	1.2
@@ -6,6 +6,24 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 /*
  * $Log$
+ * Revision 1.2  2005/08/26 14:09:49  ylafon
+ * All changes made by Jean-Guilhem Rouel:
+ *
+ * Fix for bugs: 1269, 979, 791, 777, 776, 767, 765, 763, 576, 363
+ *
+ * Errors in font, the handling of 'transparent', CSS Parser reinits...
+ *
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=979
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=791
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=777
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=776
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=767
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=765
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=763
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=576
+ * http://www.w3.org/Bugs/Public/show_bug.cgi?id=363
+ *
  * Revision 1.1  2005/08/23 16:51:43  ylafon
  * reorg (cvs funkyness...)
  *
@@ -85,11 +103,7 @@
 	    return;
 	} else if (val instanceof CssAngle) {
 	    float v = ((CssAngle) val).getDegree();
-	    String unit = ((CssAngle) val).getUnit();
-	    if (!unit.equals("deg")) {
-		throw new InvalidParamException("degree", null, ac);
-	    }
-	    if (v > 90 || v < -90) {
+	    if (v > 90 && v < 270) {		
 		throw new InvalidParamException("elevation.range", null, ac);
 	    }
 	    value = val;

Received on Friday, 26 August 2005 14:10:13 UTC