css id problem when id starts with a number

RESOLVED INVALID

Status

()

--
minor
RESOLVED INVALID
14 years ago
14 years ago

People

(Reporter: dbhill, Assigned: dbaron)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2

If a CSS ID has an ID starting with a number, such as "#32x32pic", then the css
id is ignored and cannot be used in html.

Reproducible: Always
Steps to Reproduce:
1. Create an ID starting with a number, add a left: 32px; top: 32px; position:
absolute; to the id.
2. Test the ID using a div
3.

Actual Results:  
The div block is not aligned correctly, the left and top are still 0px.

Expected Results:  
The software should read the number started ID just like any other ID.
CSS IDs aren't allowed to start with a number
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.