Bug 46591

Summary: [Meta] Implement CSS parser in C++
Product: WebKit Reporter: Dimitri Glazkov (Google) <dglazkov>
Component: CSSAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Enhancement CC: abarth, annevk, ap, arv, cmarcelo, eoconnor, hyatt, jonlee, martijn, peter, phiw2, simon.fraser, skyul, webkit-bug-importer, webmaster
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 161095, 161174, 161537, 161695, 161749, 161813, 161868, 161916, 161931, 162018, 162033, 162078, 165213    
Bug Blocks: 16708, 46590    

Description Dimitri Glazkov (Google) 2010-09-26 16:33:53 PDT
Get rid of the existing bison-based parser, implement our own parser, fix bugs and improve extensibility in the process
Comment 1 Adam Barth 2010-09-26 16:43:42 PDT
Is there a spec for how a CSS parser should work?  Can we produce a spec at the same time as we produce the implementation?
Comment 2 Simon Fraser (smfr) 2010-09-26 19:48:01 PDT
One major win here would be better error reporting.
Comment 3 Anne van Kesteren 2010-09-26 23:51:37 PDT
There is nothing apart from the grammar plus prose combination the current specifications have. Having an HTML5-like specification for this would be really great.
Comment 4 Alexey Proskuryakov 2010-09-27 10:51:14 PDT
I can already see a bug filed three years later: get rid of messy-crashy-buggy-slow manually maintained CSS parser code, replace it with autogenerated one :)
Comment 5 Radar WebKit Bug Importer 2015-10-16 11:14:11 PDT
<rdar://problem/23146798>
Comment 6 Dave Hyatt 2016-12-06 09:05:14 PST
Turned on (see bug 165213).