Bug 18287

Summary: layout of page is all messed up due to css syntax error
Product: WebKit Reporter: jasneet <jasneet>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, jasneet
Priority: P2    
Version: 525.x (Safari 3.1)   
Hardware: All   
OS: All   
URL: http://draw.labs.autodesk.com/ADDraw/draw.html
Attachments:
Description Flags
screenshot none

Description jasneet 2008-04-02 14:00:37 PDT
I Steps:
Go to 
http://draw.labs.autodesk.com/ADDraw/draw.html

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]
screenshot
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.