Opened 12 years ago

Closed 12 years ago

#125 closed enhancement (fixed)

use html doctype to enable standards mode

Reported by: sheppard Owned by: theduckylittle
Priority: major Milestone: 2.6.1
Component: GeoMOOSE/JS Version: 2.6
Keywords: Cc:

Description

Internet Explorer has come a long way since version 6. However, in order to take advantage of the standards-compliant renderer, we need to explicitly 'opt-in' by specifying the HTML doctype. Doing this avoids the need for traditional IE-specific CSS hacks and makes the development process much simpler.

The basic change is to add the following to geomoose.html:
<!DOCTYPE html>

This will make IE use standards mode instead of quirks mode, so in order for this to work properly the CSS must also be updated to remove the IE-specific hacks and to explicitly set the 'px' units for CSS coordinates. I have attached a patch that does that.

Attachments (1)

doctype.patch (15.9 KB ) - added by sheppard 12 years ago.
Utilize html doctype and update related CSS

Download all attachments as: .zip

Change History (4)

by sheppard, 12 years ago

Attachment: doctype.patch added

Utilize html doctype and update related CSS

comment:1 by theduckylittle, 12 years ago

Owner: set to theduckylittle
Status: newassigned

comment:2 by theduckylittle, 12 years ago

Status: assignedtesting

comment:3 by sheppard, 12 years ago

Resolution: fixed
Status: testingclosed

Looks good.

Note: See TracTickets for help on using tickets.