Closed Bug 254215 Opened 21 years ago Closed 21 years ago

css id problem when id starts with a number

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: dbhill, Assigned: dbaron)

Details

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
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.