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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/semantics/edits/the-del-element/del_effect.html

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (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 <meta charset=UTF-8>
3 <title>HTML Test: Text in the del element should be 'line-through'</title>
4 <link rel="author" title="Intel" href="http://www.intel.com/">
5 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-del-element">
6 <script src="../../../../../../resources/testharness.js"></script>
7 <script src="../../../../../../resources/testharnessreport.js"></script>
8
9 <p><del>crossed-off text</del></p>
10 <div id="log"></div>
11
12 <script>
13 test(function() {
14 var element = document.getElementsByTagName('del')[0],
15 textDecoration = getComputedStyle(element).textDecorationLine ||
16 getComputedStyle(element).textDecoration;
17 assert_equals(textDecoration, 'line-through');
18 });
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698