Closed Bug 720163 Opened 12 years ago Closed 12 years ago

style="Foo: bar'" incorrectly diagnosed ('%1$S' instead of "'")

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: P.Taylor, Assigned: dbaron)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20111221 Firefox/9.0.1 SeaMonkey/2.6.1
Build ID: 20111221001913

Steps to reproduce:

A source file includes the line :

<DIV style="width: 500px; border: none; font: 18px/1.0 'Palatino
Linotype'; color: #000066; text-decoration: none'" id="Text">


Actual results:

The error console reports :

> Warning: Expected ';' to terminate declaration but found '%1$S'. 
> Declaration dropped.
> Source File:
> http://porphyrogenitus.org/Etheridge/Multifolio/Index-11.html
> Line: 0



Expected results:

The error console should report :

> Warning: Expected ';' or '"' to terminate declaration but found "'". 
> Declaration dropped.
> Source File:
> http://porphyrogenitus.org/Etheridge/Multifolio/Index-11.html
> Line: 0
Component: General → Style System (CSS)
QA Contact: general → style-system
Attached patch patchSplinter Review
Attachment #590512 - Flags: review?(bzbarsky)
Comment on attachment 590512 [details] [diff] [review]
patch

r=me
Attachment #590512 - Flags: review?(bzbarsky) → review+
Assignee: nobody → dbaron
Status: UNCONFIRMED → NEW
Ever confirmed: true
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b3f1baa77fc
OS: Windows XP → All
Priority: -- → P4
Hardware: x86 → All
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/4b3f1baa77fc
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: mozilla11 → mozilla12
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: