|
Simplify watched selector handling and remove remnants of user stylesheets
This patch simplifies our handling of watched selectors, allowing us to
remove the remaining pieces of user stylesheets. Currently a special
-internal-callback property is added via a user stylesheet, which depends
on the StyleBuilder applying all values and not just the cascaded values
to function correctly. The approach in this patch is to have this logic
separate to applyMatchedProperties, which means we won't need to have a
separate property and we can still use the matched properties cache in
these cases. This also allows us to remove the Vector of StyleRule in
MatchResult.
BUG= 316960
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180379
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+34 lines, -81 lines) |
Patch |
 |
M |
Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSProperties.in
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSValueKeywords.in
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/ElementRuleCollector.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/RuntimeCSSEnabled.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/BisonCSSParser-in.cpp
|
View
|
1
2
3
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/MatchResult.h
|
View
|
1
2
|
4 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/MatchResult.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/MatchedPropertiesCache.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.h
|
View
|
1
2
|
4 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
3
4
|
10 chunks |
+25 lines, -24 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolverState.h
|
View
|
1
2
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolverState.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/CSSSelectorWatch.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/UseCounter.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|