Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: LayoutTests/fast/css/css-set-selector-text-crash.html

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/css-set-selector-text-crash.html
diff --git a/LayoutTests/fast/css/css-set-selector-text-crash.html b/LayoutTests/fast/css/css-set-selector-text-crash.html
index cfc40c582156d5290e26ba9635ba81f67c09f833..5ede013f1cda8242bb2b9496e9f4955ad44e8dfb 100644
--- a/LayoutTests/fast/css/css-set-selector-text-crash.html
+++ b/LayoutTests/fast/css/css-set-selector-text-crash.html
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html>
-<style>
-:target { top: 0; }
-</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
-
-document.styleSheets[0].cssRules[0].selectorText = ':target';
</script>
-Test passes if it does not crash.
+<style>
+body {
+ var-a: url(1);
+ -webkit-filter: var(a);
+}
+</style>
+This test is successful if it does not crash.
</html>
-

Powered by Google App Engine
This is Rietveld 408576698