summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/dom/elements/global-attributes/style-01-ref.html
blob: be8175e61d48282f046f4747abc1be8709301e0f (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
<!DOCTYPE html>
<title>The style attribute</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-style-attribute">
<link rel="help" href="http://www.w3.org/TR/css-style-attr/#syntax">
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order">
<link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity">
<style>
#test p { background: limegreen; }
</style>
<div id="test">
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
<p>This line should have a green background.
</div>