|
Split out CSSParser public API
The goal was to identify and separate out the "public" API
for the CSS parsing subsystem from the larger set
of public methods on CSSParser (now BisonCSSParser)
which are marked public just for CSSGrammer.y to consume.
BisonCSSParser (previously CSSParser) exposes over *300*
public methods and members! All but the 15 copied to
CSSParser were just for CSSGrammar.y integration.
This is all in preparation for attempting to swap out
the CSSParser wholesale with a from-scratch implementation
of the CSS3 Syntax specification. CSSParser.cpp now provides
a place for me to do that run-time switching between
the Bison-based parser and my new hand-rolled parser (not yet landed).
Much of what is now BisonCSSParser will need to be split out
into a separate "CSSBuilder" object or something akin to the
HTMLConstructionSite and re-used by my proposed re-written CSS parser
as the CSS3 syntax spec doesn't specify all the details encapsulated
in the old parser grammar file.
Follow-up patches will work to further reduce the exposed CSSParser
API and remove more of this redundant indirection.
This was originally tracked as:
https://codereview.chromium.org/121673002
but as moved here due to rietveld 500 errors.
BUG= 330389
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+302 lines, -73 lines) |
Patch |
 |
M |
Source/bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/animation/ElementAnimation.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/core.gypi
|
View
|
|
4 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSGrammar.y
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSGroupingRule.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSKeyframeRule.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSKeyframesRule.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSMatrix.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSPageRule.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSPrimitiveValue.cpp
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSStyleRule.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSStyleSheet.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSTokenizer-in.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSValuePool.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/DOMWindowCSS.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/FontFace.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/FontFaceSet.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaList.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryExp.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/PropertySetCSSStyleDeclaration.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/SVGCSSParser.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/StylePropertySet.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/StyleSheetContents.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/BisonCSSParser.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
Source/core/css/parser/CSSParser.h
|
View
|
|
1 chunk |
+107 lines, -0 lines |
2 comments
|
Download
|
 |
A |
Source/core/css/parser/CSSParser.cpp
|
View
|
|
1 chunk |
+118 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/FilterOperationResolver.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/CSSSelectorWatch.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/SelectorQuery.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/EditingStyle.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
1 comment
|
Download
|
 |
M |
Source/core/html/HTMLBodyElement.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/canvas/CanvasStyle.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
1 comment
|
Download
|
 |
M |
Source/core/html/shadow/HTMLContentElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorStyleSheet.cpp
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/SVGAnimateElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/svg/SVGAnimationElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/svg/SVGColor.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/SVGElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebSelector.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|