mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
0
testing/web-platform/tests/html/semantics/edits/.gitkeep
Normal file
0
testing/web-platform/tests/html/semantics/edits/.gitkeep
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=UTF-8>
|
||||
<title>HTML Test: Text in the del element should be 'line-through'</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com/">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-del-element">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<p><del>crossed-off text</del></p>
|
||||
<div id="log"></div>
|
||||
|
||||
<script>
|
||||
test(function() {
|
||||
var element = document.getElementsByTagName('del')[0],
|
||||
textDecoration = getComputedStyle(element).textDecorationLine ||
|
||||
getComputedStyle(element).textDecoration;
|
||||
assert_equals(textDecoration, 'line-through');
|
||||
});
|
||||
</script>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=UTF-8>
|
||||
<title>HTML Test: Text in the ins element should be 'underline'</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com/">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ins-element">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<p><ins>underlined text</ins></p>
|
||||
<div id="log"></div>
|
||||
|
||||
<script>
|
||||
test(function() {
|
||||
var element = document.getElementsByTagName('ins')[0],
|
||||
textDecoration = getComputedStyle(element).textDecorationLine ||
|
||||
getComputedStyle(element).textDecoration;
|
||||
assert_equals(textDecoration, 'underline');
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue