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

Unified Diff: LayoutTests/fast/dom/css-element-attribute-js-null.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/dom/css-element-attribute-js-null.html
diff --git a/LayoutTests/fast/dom/css-element-attribute-js-null.html b/LayoutTests/fast/dom/css-element-attribute-js-null.html
index d5e0c64c77c09f7f60b7d90914bb38d7e19a5087..8b2209fe83a1576a42b2282cefcd3f553e512d3e 100644
--- a/LayoutTests/fast/dom/css-element-attribute-js-null.html
+++ b/LayoutTests/fast/dom/css-element-attribute-js-null.html
@@ -12,9 +12,6 @@
@keyframes name { }
@page { }
</style>
- <!-- @charset must be the first rule per spec, and additionally
- with no leading whitespace per our parser. -->
- <style>@charset "UTF-8";</style>
<script>
function printOut(msg) {
var console = document.getElementById("console");
@@ -58,7 +55,6 @@
var mediaRule = rules[1];
var keyframesRule = rules[2];
var pageRule = rules[3];
- var charsetRule = document.styleSheets[2].cssRules[0];
var style = rule.style;
var mediaList = mediaRule.media;
@@ -72,13 +68,6 @@
]
},
{
- type: 'CSSCharsetRule',
- elementToUse: charsetRule,
- attributes: [
- {name: 'encoding', expectedNull: 'null'}
- ]
- },
- {
type: 'CSSKeyframesRule',
elementToUse: keyframesRule,
attributes: [

Powered by Google App Engine
This is Rietveld 408576698