This seems like a rendering engine quirk, as it had been tested and failed to reproduce on WebKit driven browsers (Chrome and Safari for Windows).
Description
When using a deep nested DOM structure, such as the GXT Grid
, the default
cursor seem to override any other style applied. How to override (or sidestep) this behavior?
Test Case
Steps To Reproduce
(Requires basic knowledge of your favored browser's developer tools)
- Visit the GXT 2.2.x examples showcase.
- Right-click a cell text value in the grid and click Inspect Element, or hit
F12
to open the developer tools and than inspect that element manually. You should be inspecting an element notated as:div.x-grid3-cell-inner.x-grid3-col-name
. - In the Styles view, look for a rule matching the following selector:
.x-grid3-row
, it should have a single declared property forcursor
. Change its value fromdefault
toauto
.
Expected Result
The cursor should be rendered according to the element's type, e.g. text cursor for text content elements.
Actual Result
On Gecko based browsers, the default cursor appears regardless of the element's type.