Index: LayoutTests/dart/Encoding.html |
diff --git a/LayoutTests/dart/Encoding.html b/LayoutTests/dart/Encoding.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0c9dac202f4f6e36fc91d2791aae7d9405e3afd9 |
--- /dev/null |
+++ b/LayoutTests/dart/Encoding.html |
@@ -0,0 +1,33 @@ |
+ |
+<head> |
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r"> |
+</head> |
+<body> |
+ |
+<div id="data"> |
+Проекты по компиляции кода на языках Clojure и Pascal в JavaScript-представление |
+</div> |
+ |
+<script type="application/dart"> |
+import 'dart:html'; |
+ |
+void main() { |
+ Element body = document.body; |
+ |
+ Element e2 = document.query('#data'); |
+ String content = e2.innerHtml; |
+ |
+ Element e1 = new Element.tag('div'); |
+ e1.innerHtml = content; |
+ body.nodes.add(e1); |
+} |
+ |
+</script> |
+ |
+<script> |
+ if (window.testRunner) |
+ window.testRunner.dumpAsText(); |
+</script> |
+ |
+</body> |
+</html> |