Bug 18287 - layout of page is all messed up due to css syntax error
Summary: layout of page is all messed up due to css syntax error
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://draw.labs.autodesk.com/ADDraw/...
Depends on:
Reported: 2008-04-02 14:00 PDT by jasneet
Modified: 2008-04-03 23:30 PDT (History)
1 user (show)

See Also:

screenshot (163.79 KB, image/jpeg)
2008-04-02 14:01 PDT, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2008-04-02 14:00:37 PDT
I Steps:
Go to 

II Issue:
The layout of the webpage is all messed up.

III Conclusion:
The page doesn't render correctly because there is a css syntax error. The style class "toolbar" contains background-image:url('images/gradient.png'}; there is a closing brace instead of a closing parentheses. All the styles after this error is ignored by webkit. FF, IE and Opera handle such errors and display the page correctly.

IV Other browsers:
IE7: ok
FF3: ok
Opera9.24: ok

V Nightly tested: 31446
Comment 1 jasneet 2008-04-02 14:01:07 PDT
Created attachment 20297 [details]
Comment 2 Eric Seidel (no email) 2008-04-03 23:30:09 PDT
Someone mentioned the other day that we have similar issues with one of the new microsoft CSS tests.  I don't seem to remember the spec making mention of newline having higher parsing preference than '}' maybe it does.