WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 14346
Bug 20102
Parser bug: malformed p {color: red !important fail;} declaration should be ignored
https://bugs.webkit.org/show_bug.cgi?id=20102
Summary
Parser bug: malformed p {color: red !important fail;} declaration should be i...
Robert Blaut
Reported
2008-07-18 14:38:26 PDT
p {color: red !important fail;} its incorrect according CSS 2.1 and should be ignored by CSS parser. Unfortunately WebKit fails in this case. It's interesting since CSSGrammar.cpp already has such code: case 182: #line 1142 "WebCore/css/CSSGrammar.y" { /* When we encounter something like p {color: red !important fail;} we should drop the declaration */ (yyval.boolean) = false; ;} break; but apparently something is broken.
Attachments
minimal test case
(332 bytes, text/html)
2008-07-18 14:40 PDT
,
Robert Blaut
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Robert Blaut
Comment 1
2008-07-18 14:40:20 PDT
Created
attachment 22376
[details]
minimal test case
Robert Blaut
Comment 2
2008-07-18 14:57:07 PDT
Ups :( It will be fixed when patch for
bug 14346
will be landed. *** This bug has been marked as a duplicate of
14346
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug