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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/heading-obsolete-attributes-01.html

Issue 1159053005: W3C Test: import web-platform-tests/html/{introduction,obsolete} (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>HTMLHeadingElement: obsolete attribute reflecting</title>
3 <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
4 <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-hx-align">
5 <link rel="help" href="https://heycam.github.io/webidl/#es-DOMString">
6 <link rel="help" href="http://www.ecma-international.org/publications/files/ECMA -ST/ECMA-262.pdf#page=57">
7 <script src="../../../../../../resources/testharness.js"></script>
8 <script src="../../../../../../resources/testharnessreport.js"></script>
9 <div id="log"></div>
10 <script>
11 test(function() {
12 var el = document.createElement("h7");
13 el.align = "left";
14 assert_equals(el.align, "left");
15 assert_false(el.hasAttribute("align"));
16 assert_equals(el.getAttribute("align"), null);
17 }, "IDL attributes for HTMLHeadingElement should not apply to h7.")
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698