diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/first-letter/font-text-styles.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/first-letter/font-text-styles.html')
-rw-r--r-- | layout/reftests/first-letter/font-text-styles.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/layout/reftests/first-letter/font-text-styles.html b/layout/reftests/first-letter/font-text-styles.html new file mode 100644 index 000000000..e117a6bbf --- /dev/null +++ b/layout/reftests/first-letter/font-text-styles.html @@ -0,0 +1,35 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Testing first-letter handling of font/text styles</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + +<style type="text/css"> +html { overflow: hidden; } +body { + margin: 1em; + font-size: 25px; + line-height: 1.2em; + font-family: serif; +} + +div { width: 200px; } +p { width: 0.5em; margin: 0; } +p:first-letter { font-weight: bold; text-transform: uppercase; } +p.reverse:first-letter { font-style: italic; text-transform: lowercase; } +span.floater { float: left; } +span.floater:first-letter { font-family: sans-serif; text-transform: uppercase; } +span.special { display: inline-block; } +span.special:first-letter { font-weight: bold; text-transform: uppercase; } +</style> + +</head> +<body> +<div> +<p>yellow corndog</p> +<p class="reverse">HIPPIE BANANA</p> +<p><span class="floater">gonzo macadamia</span></p> +<p class="reverse">FELICITOUS <span class="special">raspberry</span></p> +</div> +</body> +</html> |