litesoft
Diff Revisions
475
vs
948
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/OverrideDOMImplSafari.java
|
@@ -22,11 +22,9 @@ |
22 |
22 |
|
* <p/> |
23 |
23 |
|
* TODO: incorporate into DOMImplSafari |
24 |
24 |
|
*/ |
25 |
|
- |
class OverrideDOMImplSafari extends OverrideDOMImpl |
26 |
|
- |
{ |
|
25 |
+ |
class OverrideDOMImplSafari extends OverrideDOMImpl { |
27 |
26 |
|
@Override |
28 |
|
- |
public Element createTD() |
29 |
|
- |
{ |
|
27 |
+ |
public Element createTD() { |
30 |
28 |
|
Element td = super.createTD(); |
31 |
29 |
|
DOM.setElementPropertyInt( td, "colSpan", 1 ); |
32 |
30 |
|
DOM.setElementPropertyInt( td, "rowSpan", 1 ); |
|
@@ -34,8 +32,7 @@ |
34 |
32 |
|
} |
35 |
33 |
|
|
36 |
34 |
|
@Override |
37 |
|
- |
public Element createTH() |
38 |
|
- |
{ |
|
35 |
+ |
public Element createTH() { |
39 |
36 |
|
Element th = super.createTH(); |
40 |
37 |
|
DOM.setElementPropertyInt( th, "colSpan", 1 ); |
41 |
38 |
|
DOM.setElementPropertyInt( th, "rowSpan", 1 ); |
|
@@ -53,8 +50,7 @@ |
53 |
50 |
|
* @return the cell index |
54 |
51 |
|
*/ |
55 |
52 |
|
@Override |
56 |
|
- |
public int getCellIndex( Element td ) |
57 |
|
- |
{ |
|
53 |
+ |
public int getCellIndex( Element td ) { |
58 |
54 |
|
return DOM.getChildIndex( DOM.getParent( td ), td ); |
59 |
55 |
|
} |
60 |
56 |
|
} |