Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Element / class-name.html
bloba6c5757c6710937b9432049ad65ce9db391a8e1a
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <script>
4 description('Tests that className works on non HTMLElements');
6 var htmlElement = document.createElement('div');
7 htmlElement.setAttribute('class', 'foo');
8 shouldBeEqualToString('htmlElement.className', 'foo');
10 var xmlElement = document.createElementNS('http://www.example.com', 'xml');
11 xmlElement.setAttribute('class', 'foo');
12 shouldBeEqualToString('xmlElement.className', 'foo');
14 </script>