View Full Version : [OPEN-1472] preventBodyReset issue

28 Dec 2010, 7:12 AM
With a panel and preventBodyReset to true, the following code does not work as expected in chrome:

<table border="0" cellspacing="0" cellpadding="0">
<tr><td style="border: 1px solid">...</td><td style="border: 1px solid">...</td>...</tr>

You don't get cellspacing of 0, it's actually 2 because of a browser specific attribute that isn't being reset. -webkit-border-horizontal-spacing and -webkit-border-vertical-spacing should be 0 but are 2.

A plain HTML page with the above HTML renders properly in Chrome. Those webkit attributes are 0 by default. I mean, in the panel, you see two bordered cells with a gap of 4 px between them, but in the plain HTML page, there is no gap.

This is ExtJS 3.2.1


28 Dec 2010, 7:29 AM
-webkit-border-horizontal-spacing and -webkit-border-vertical-spacing are not the only browser-specific properties need to be reset.

Somebody should scan through ext-all.css to see which browser-specific css entries are set and need to be reset in the .x-panel-reset rule.