| OLD | NEW |
| 1 This tests different ways of deserializing css stylesheets. The first item below
is the style as specified in the document. The second is serialized using the d
ifferent rule accessors. The third just uses rule.cssText. If the test is succes
sful, all three should be the same. | 1 This tests different ways of deserializing css stylesheets. The first item below
is the style as specified in the document. The second is serialized using the d
ifferent rule accessors. The third just uses rule.cssText. If the test is succes
sful, all three should be the same. |
| 2 @import url("fancyfonts.css") screen; | 2 @import url("fancyfonts.css") screen; |
| 3 @media print { | 3 @media print { |
| 4 body { font-size: 10pt } | 4 body { font-size: 10pt } |
| 5 } | 5 } |
| 6 @media screen { | 6 @media screen { |
| 7 body { font-size: 13px } | 7 body { font-size: 13px } |
| 8 } | 8 } |
| 9 @media screen, print { | 9 @media screen, print { |
| 10 body { line-height: 1.2 } | 10 body { line-height: 1.2 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 body { font-size: 10pt; } | 36 body { font-size: 10pt; } |
| 37 } | 37 } |
| 38 @media screen { | 38 @media screen { |
| 39 body { font-size: 13px; } | 39 body { font-size: 13px; } |
| 40 } | 40 } |
| 41 @media screen, print { | 41 @media screen, print { |
| 42 body { line-height: 1.2; } | 42 body { line-height: 1.2; } |
| 43 } | 43 } |
| 44 .one { display: block; } | 44 .one { display: block; } |
| 45 .two { display: inline; } | 45 .two { display: inline; } |
| 46 .three { display: list-item; list-style: square; margin-left: 3em; } | 46 .three { display: list-item; list-style-type: square; margin-left: 3em; } |
| 47 .four { display: none; color: red; } | 47 .four { display: none; color: red; } |
| 48 i { display: block; } | 48 i { display: block; } |
| 49 | 49 |
| 50 | 50 |
| OLD | NEW |