blob: 7595bc2e79abf4d8ad391fee885087154bd09de0 (
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
31
32
33
34
|
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
<head>
<title>authored sheet test</title>
<style>
pre a {
color: orange;
}
</style>
<script>
"use strict";
var style = "data:text/css,a { background-color: seagreen; }";
var uri = SpecialPowers.Services.io.newURI(style);
var windowUtils = SpecialPowers.getDOMWindowUtils(window);
windowUtils.loadSheet(uri, windowUtils.AUTHOR_SHEET);
</script>
</head>
<body>
<input type=text placeholder=test></input>
<input type=color></input>
<input type=range></input>
<input type=number></input>
<progress></progress>
<blockquote type=cite>
<pre _moz_quote=true>
inspect <a href="foo">user agent</a> styles
</pre>
</blockquote>
</body>
</html>
|