|
Remove the concept of user stylesheets.
-The support for this has been removed from Chromium already.
This is now just deleting dead code.
-Changed TestRunner::addUserStyleSheet to TestRunner::injectStyleSheet.
It wasn't actually injecting a user style sheet and tests use it.
-Also, add an insertStyleSheet method to WebDocument so that we
can eventually get rid of the UserStyleLevel enum.
-Deleted all the tests that were explicitly testing user styles.
This also means we can delete insertAuthorCSS, since it was only
used in the user stylesheet tests.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161671
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+55 lines, -620 lines) |
Patch |
|
M |
LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-initial-height-zero.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-initial-width-zero.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-insert-rule-after.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-insert-rule-before.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-relative-font.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-user-agent-style.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-user-style.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/css3/device-adapt/viewport-width-extend-to-zoom.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
LayoutTests/fast/css/user-stylesheet-crash.html
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/css/user-stylesheet-crash-expected.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
D |
LayoutTests/fast/loader/user-style-sheet-resource-load-callbacks.html
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/loader/user-stylesheet-fast-path.html
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/loader/user-stylesheet-fast-path-expected.txt
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
D |
LayoutTests/http/tests/security/local-user-CSS-from-remote.html
|
View
|
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
|
D |
LayoutTests/http/tests/security/local-user-CSS-from-remote-expected.txt
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
LayoutTests/inspector/styles/inject-stylesheet.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/printing/page-rule-selection.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/insert-stylesheets.html
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/insert-stylesheets-expected.txt
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/mixed-case-stylesheet.html
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/mixed-case-stylesheet-expected.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/resources/frame1.html
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/resources/frame2.html
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/simple-stylesheet.html
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/simple-stylesheet-expected.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/user-style-all-frames.html
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/user-style-all-frames-expected.txt
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/user-style-top-frame-only.html
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/user-style-top-frame-only-expected.txt
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/user-stylesheet-invalidate.html
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
|
D |
LayoutTests/userstyles/user-stylesheet-invalidate-expected.txt
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/DocumentRuleSets.h
|
View
|
1
2
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/css/DocumentRuleSets.cpp
|
View
|
1
2
|
2 chunks |
+7 lines, -24 lines |
0 comments
|
Download
|
|
M |
Source/core/css/InspectorCSSOMWrappers.cpp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/StyleRuleImport.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/css/StyleSheetContents.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/css/StyleSheetContents.cpp
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleResolver.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
|
10 chunks |
+9 lines, -29 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.cpp
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/StyleEngine.h
|
View
|
|
3 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/StyleEngine.cpp
|
View
|
|
4 chunks |
+0 lines, -51 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/UseCounter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/page/Page.h
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/page/Page.cpp
|
View
|
|
2 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
|
M |
Source/core/page/Settings.h
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/page/Settings.cpp
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.cpp
|
View
|
|
1 chunk |
+0 lines, -22 lines |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.idl
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/testing/runner/TestRunner.h
|
View
|
1
|
3 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
|
M |
Source/testing/runner/TestRunner.cpp
|
View
|
1
|
5 chunks |
+2 lines, -25 lines |
0 comments
|
Download
|
|
M |
Source/testing/runner/WebPreferences.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebDocument.cpp
|
View
|
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/web/WebSettingsImpl.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebSettingsImpl.cpp
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
public/testing/WebPreferences.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
public/web/WebDocument.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
public/web/WebSettings.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|