summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/text/text-decoration-073.xht
blob: e4c4280eb56dff6ac055f15b3105c4ceaaa463ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>CSS Test: 'text-decoration' - inheritance exception 3</title>
  <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#lining-striking-props"/>
  <meta name="assert" content="'text-decoration' values must not be propagated to the contents of 'inline-table' descendants"/>
  <style type="text/css">
  #test{
  	font-size:80px;
  	text-decoration:line-through;
  }
  span{
  	display:inline-table;
  }
  </style>
 </head>

 <body>
  <p>To pass, there <strong>must not</strong> be a line through the text below.</p>
  <div id="test">
   <span>text</span>
  </div>
 </body>
</html>