|
Separate @viewport from other RuleSet construction.
Which rules goes into the RuleSet for a stylesheet depends on the
evaluation of the media queries. The evaluation of the media queries
depends on @viewport rules.
We have been collecting @viewport rules along with other rules which
means we have been evaluating media queries as if the viewport rules
are not there, and re-construct the RuleSet afterwards if the @viewport
rules caused the viewport to change, hence caused viewport dependent
media queries to change.
The default stylesheets for viewport rules no longer create RuleSets as
they are not needed.
BUG= 567021
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+251 lines, -147 lines) |
Patch |
|
M |
third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp
|
View
|
|
3 chunks |
+14 lines, -42 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/RuleSet.h
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/RuleSet.cpp
|
View
|
|
4 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/StyleSheetContents.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/StyleSheetContents.cpp
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/StyleSheetList.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
|
View
|
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleResolver.h
|
View
|
|
3 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
3
|
5 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.h
|
View
|
|
2 chunks |
+16 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.cpp
|
View
|
|
5 chunks |
+74 lines, -34 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
|
View
|
1
2
3
4
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/StyleEngine.h
|
View
|
1
2
3
|
6 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
View
|
1
2
3
|
6 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/StyleEngineTest.cpp
|
View
|
1
2
|
3 chunks |
+69 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/frame/FrameView.cpp
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/page/Page.cpp
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -10 lines |
0 comments
|
Download
|
Total messages: 17 (17 generated)
|