|
Use style invalidation for more pseudo classes.
Support descendant invalidation sets for :checked, :disabled, :enabled,
:indeterminate, :target, :link, and :visited. Pseudo state changes for those
classes were recalculated with SubtreeStyleChange in didAffectSelector.
Instead, schedule invalidation sets when these pseudo states change.
This change does not fully fix 388965 as there are still several
SubtreeStyleChange instances left.
The pseudo flags could be removed from the SelectRuleFeatureSet since they
will now be present through invalidation sets in the m_cssRuleFeatureSet.
R=esprehn@chromium.org
BUG= 388965
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182507
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+448 lines, -87 lines) |
Patch |
 |
A |
LayoutTests/fast/css/invalidation/checked-pseudo.html
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/checked-pseudo-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/disabled-pseudo.html
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/disabled-pseudo-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/enabled-pseudo.html
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/enabled-pseudo-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/fieldset-disabled.html
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/fieldset-disabled-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/indeterminate-pseudo.html
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/indeterminate-pseudo-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/link-pseudo.html
|
View
|
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/link-pseudo-expected.txt
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/target-pseudo.html
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/target-pseudo-expected.txt
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/visited-pseudo.html
|
View
|
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/css/invalidation/visited-pseudo-expected.txt
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/RuleFeature.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/RuleFeature.cpp
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.h
|
View
|
1
2
3
|
3 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.cpp
|
View
|
1
2
3
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/shadow/ElementShadow.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/shadow/ElementShadow.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/shadow/SelectRuleFeatureSet.h
|
View
|
|
4 chunks |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/shadow/SelectRuleFeatureSet.cpp
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLAnchorElement.cpp
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLFormControlElement.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLInputElement.cpp
|
View
|
1
2
3
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLOptGroupElement.cpp
|
View
|
1
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLOptionElement.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLProgressElement.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/forms/RadioButtonGroupScope.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 16 (5 generated)
|