summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/cascade/at-import-008.xht
blob: fdc8a8f8b57d3a1c6f2c8cc3e232e9a24e6ec980 (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
27
28
29
30
<!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>

  <title>CSS Test: @import - media-dependence</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
  <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import" />
  <link rel="help" href="http://www.w3.org/TR/css-cascade-3/#at-import" />
  <link rel="help" href="http://www.w3.org/TR/css-cascade-4/#at-import" />
  <meta content="paged" name="flags" />
  <meta content="Media-dependent @import rules" name="assert" />

  <style type="text/css"><![CDATA[
  @import url("support/a-green.css") print;
  ]]></style>

 </head>

 <body class="a">

  <p>PREREQUISITE: Switch to print preview or a paged media view of
  the page.</p>

  <p>Test passes if the whole text of this page is green.</p>

 </body>
</html>