Closed Bug 521663 Opened 16 years ago Closed 16 years ago

Warning on wrong braketing in CSS

Categories

(Core :: CSS Parsing and Computation, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: phil, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; de-de) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 GTB5 Hi, If the syntax of CSS is wrong - eg. incorrect bracketing Firefox should warn the designer / user with a special logentry in the console I think. Philipp Reproducible: Always
We already do. (Tools -> Error Console in an English build; not sure what that translates to.) Or do you have a specific style sheet / URL where we don't, but should have?
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Component: General → Style System (CSS)
Product: Firefox → Core
QA Contact: general → style-system
Resolution: --- → WORKSFORME
you're right - i overlooked the hints you already give. i tested it on http://lab.musterinstallation.at/firefox/css-brackets.html and got the following hints which is just perfect: Warnung: Deklaration erwartet, aber '.' gefunden. Übersprungen bis zur nächsten Deklaration Quelldatei: http://lab.musterinstallation.at/firefox/css-brackets.html Zeile: 31 Warnung: Unerwartetes Dateiende beim Suchen nach Abschließende } des Deklarationsblockes. Quelldatei: http://lab.musterinstallation.at/firefox/css-brackets.html Zeile: 36
You need to log in before you can comment on or make changes to this bug.