flirtseiten-vergleich.de - no match while parsing a numerical class label name (starts with a number)

RESOLVED FIXED

Status

Tech Evangelism Graveyard
German
RESOLVED FIXED
14 years ago
3 years ago

People

(Reporter: Stefan Geisseler, Unassigned)

Tracking

Details

(Whiteboard: [bug248549notfixed], URL)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7b) Gecko/20040421

Most of the text on http://www.flirtseiten-vergleich.de/ should be CSS-Formated
but it isn't in all mozilla & firefox browsers i've seen so far (up to Mozilla
1.7RC1 now)
There are class-labels starting with a number (class="10pxw" ...)


Reproducible: Always
Steps to Reproduce:
run http://www.flirtseiten-vergleich.de/
or try this little code fragment:

test.css:
.10s {
	font-family: Arial;
	font-size: 10px;
	color: #3366FF;
}

test.html:
<head>
  <link href="test.css" rel="stylesheet" type="text/css">
</head>
<html>
  <body>
    <table>
      <tr>
        <td class="10s">bla</td>
      </tr>
    </table>
  </body>
</html>

Actual Results:  
Text (most of the page, or in the small example "bla") is not CSS-formated

Expected Results:  
do a better class-label match
- Allow numbers at the beginning
  CSS label: ".10s" should matcht class="10s"
- Perhaps also allow (like  Internet Explorer) some stupid formations like:
  CSS label: "..test" matching class="test"
  CSS label: ".kl..sdjf.test" matching class="test"
  ...
The CSS specification explicitly says that a class name in a selector may NOT
start with a number.  See http://www.w3.org/TR/CSS21/syndata.html#q6 the second
bullet point.

Reassigning to tech evangelism.
Assignee: dbaron → german
Status: UNCONFIRMED → NEW
Component: Style System (CSS) → German
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: ian → german
Version: Trunk → unspecified

Comment 2

14 years ago
[bug248549notfixed]

Updated

14 years ago
Whiteboard: [bug248549notfixed]

Comment 3

14 years ago
Conforming summary to TFM item 10 at 
http://www.mozilla.org/projects/tech-evangelism/site/procedures.html#file-new
Summary: no match while parsing a numerical class label name (starts with a number) → flirtseiten-vergleich.de - no match while parsing a numerical class label name (starts with a number)
The domain should be sold, marking fixed as they will not fixing the layout if they want to sell it
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.