aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2007-10-25 16:26:41 +0000
committerVincent Hennebert <vhennebert@apache.org>2007-10-25 16:26:41 +0000
commit56e353c84408e2965109cba8f0c4297062b527da (patch)
tree50906a6df9106f5bbddefa60c4af83add9a441fa /src
parenta3b54f921539dc4d9311fb37769cfe0d09038ada (diff)
downloadxmlgraphics-fop-56e353c84408e2965109cba8f0c4297062b527da.tar.gz
xmlgraphics-fop-56e353c84408e2965109cba8f0c4297062b527da.zip
Removed the check for borders specified on table-column/body/row in separate border model, since this is perfectly legal: they may be retrieved by specifying "inherit" on table-cells
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588275 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/fo/flow/TableFObj.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableFObj.java b/src/java/org/apache/fop/fo/flow/TableFObj.java
index 58fbcb447..d1490a578 100644
--- a/src/java/org/apache/fop/fo/flow/TableFObj.java
+++ b/src/java/org/apache/fop/fo/flow/TableFObj.java
@@ -84,15 +84,6 @@ public abstract class TableFObj extends FObj {
borderBeforePrecedence = pList.get(PR_BORDER_BEFORE_PRECEDENCE).getNumeric();
borderEndPrecedence = pList.get(PR_BORDER_END_PRECEDENCE).getNumeric();
borderStartPrecedence = pList.get(PR_BORDER_START_PRECEDENCE).getNumeric();
- //Complain if table has separate border-model and fo is not a table or cell
- //see: Rec 6.7.4, 6.7.6 - 6.7.9
- if (getNameId() != FO_TABLE && getNameId() != FO_TABLE_CELL
- && getTable().isSeparateBorderModel()
- && getCommonBorderPaddingBackground().hasBorderInfo()) {
- attributeWarning("In the separate border model (border-collapse=\"separate\")"
- + ", borders are not applicable to " + getName()
- + ", but a non-zero value for border was found.");
- }
if (getNameId() != FO_TABLE //Separate check for fo:table in Table.java
&& getNameId() != FO_TABLE_CELL
&& getCommonBorderPaddingBackground().hasPadding(