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

Unified Diff: LayoutTests/fast/encoding/css-charset-dom.html

Issue 756313002: Remove CSSCharsetRule (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 6 years, 1 month 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/encoding/css-charset-dom.html
diff --git a/LayoutTests/fast/encoding/css-charset-dom.html b/LayoutTests/fast/encoding/css-charset-dom.html
deleted file mode 100644
index b22372a8cd4e6d87791a7472d2a5f446d1488fa9..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/encoding/css-charset-dom.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
-<head>
- <meta content="text/html; charset=windows-1251" http-equiv="Content-Type"/>
- <link rel="stylesheet" type="text/css" href="css-charset.css" charset="windows-1251">
- <!-- The document charset and link charset have lower priority than @charset, so they
- shouldn't affect anything. -->
-</head>
-<body onload="test()">
-<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=10676">bug 10676</a>:
-@charset rules not accessible via DOM</p>
-
-<p id="result"></p>
-
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-function test() {
- try {
- charsetRule = document.styleSheets[0].cssRules[0];
- document.getElementById("result").innerHTML = "cssText: " + charsetRule.cssText + "<br>encoding: " + charsetRule.encoding;
- document.getElementById("result").innerHTML += "<br>Resetting encoding...";
- charsetRule.encoding = "koi8-r";
- document.getElementById("result").innerHTML += "<br>cssText: " + charsetRule.cssText + "<br>encoding: " + charsetRule.encoding;
- } catch (ex) {
- document.getElementById("result").textContent = ex.toString();
- }
-}
-</script>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/fast/encoding/css-charset-default.xhtml ('k') | LayoutTests/fast/encoding/css-charset-dom-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698