OpenLayers OpenLayers

Ticket #1582 (closed bug: fixed)

Opened 6 months ago

Last modified 6 months ago

Units need to be specified for style width and height

Reported by: wallyatkins Assigned to: wallyatkins
Priority: minor Milestone: 2.7 Release
Component: general Version: 2.6
Keywords: Cc:
State: Complete

Description

This is a follow-on to ticket #1570. I searched through the most recent source to ensure that units were specified throughout and fixed the few places where they were missing for consistancy. I have created a patch which I am attaching to this ticket. All relevant tests ran successfully.

Attachments

px.patch (4.7 kB) - added by wallyatkins on 06/10/08 11:24:39.
use units when setting style width and height

Change History

06/10/08 11:24:39 changed by wallyatkins

  • attachment px.patch added.

use units when setting style width and height

06/10/08 15:38:55 changed by tschaub

Confirmed that relevant examples work in IE as well. Thanks for the great patch Wally. There were 4 or so more missing "px" in VML.js (style top and left).

06/10/08 15:39:03 changed by tschaub

  • status changed from new to closed.
  • state changed from Review to Complete.
  • resolution set to fixed.

(In [7341]) Adding px units where appropriate in style properties. Thanks Wally Atkins for the original patch. r=me (closes #1582)