author | John Daggett <jdaggett@mozilla.com> |
Tue, 08 Apr 2014 14:13:28 +0900 | |
changeset 177428 | 9e1a8a3f1a6960e029902eddab0557889f179dfa |
parent 177427 | 353dde65b2421c1ef210733a4e18753614727505 |
child 177429 | 88f30798bfd0799d32f9525486dd9417c91caaa9 |
push id | 42014 |
push user | jdaggett@mozilla.com |
push date | Tue, 08 Apr 2014 05:14:18 +0000 |
treeherder | mozilla-inbound@88f30798bfd0 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dbaron, heycam |
bugs | 950526 |
milestone | 31.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
new file mode 100644 --- /dev/null +++ b/layout/reftests/first-letter/font-text-styles-floater-ref.html @@ -0,0 +1,28 @@ +<!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: 20px; + font-size: 600%; + line-height: 1.2em; + font-family: serif; +} + +div { width: 5em; } +p { width: 0.5em; margin: 0; font-style: italic; } +span.boldnormal { font-weight: bold; font-style: normal; } +p.floatingfirst::first-letter { float: left; } +</style> + +</head> +<body> +<div> +<p class="floatingfirst"><span class="boldnormal">G</span>onzo</p> +</div> +</body> +</html>
new file mode 100644 --- /dev/null +++ b/layout/reftests/first-letter/font-text-styles-floater.html @@ -0,0 +1,27 @@ +<!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: 20px; + font-size: 600%; + line-height: 1.2em; + font-family: serif; +} + +div { width: 5em; } +p { width: 0.5em; margin: 0; font-style: italic; } +p.floatingfirst::first-letter { float: left; font-weight: bold; text-transform: uppercase; font-style: normal; } +</style> + +</head> +<body> +<div> +<p class="floatingfirst">gonzo</p> +</div> +</body> +</html>
new file mode 100644 --- /dev/null +++ b/layout/reftests/first-letter/font-text-styles-ref.html @@ -0,0 +1,33 @@ +<!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; } +span.bold { font-weight: bold; } +span.bolditalic { font-weight: bold; font-style: italic; } +span.floater { float: left; } +span.sans { font-family: sans-serif; } +</style> + +</head> +<body> +<div> +<p><span class="bold">Y</span>ellow corndog</p> +<p><span class="bolditalic">h</span>IPPIE BANANA</p> +<p><span class="floater"><span class="sans">G</span>onzo macadamia</span></p> +<p><span class="bolditalic">f</span>ELICITOUS <span class="bold">R</span>aspberry</p> +</div> +</body> +</html>
new file mode 100644 --- /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>
--- a/layout/reftests/first-letter/reftest.list +++ b/layout/reftests/first-letter/reftest.list @@ -58,8 +58,10 @@ fails-if(!cocoaWidget) == 329069-5.html == 441418-1.html 441418-1-ref.html == 469227-1.html 469227-1-ref.html == 484400-1.html 484400-1-ref.html == 594303-1.html 594303-1-ref.html fails-if(winWidget||cocoaWidget) == 617869-1.html 617869-1-ref.html == 723509-1.html 723509-1-ref.html == 922550-1.html 922550-1-ref.html == 958249.html 958249-ref.html +== font-text-styles.html font-text-styles-ref.html +fails-if(gtk2Widget) random-if(winWidget&&!d2d) == font-text-styles-floater.html font-text-styles-floater-ref.html # bug 992846
new file mode 100644 --- /dev/null +++ b/layout/reftests/first-line/font-styles-nooverflow.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Simple first-line test</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + +<style type="text/css"> +html { overflow: hidden; } +body { + margin: 20px; + font-family: serif; + font-size: 200%; + line-height: 1.5; + width: 400px; +} + +div:first-line { + font-family: sans-serif; +} + +.floatright { + float: right; +} + +</style> + +</head> +<body><div>sans-serif<br>serif <strong>bold serif <em>italic</em></strong><em><br>just italic<span class="floatright">italic too</span></em></div></body> +</html>
new file mode 100644 --- /dev/null +++ b/layout/reftests/first-line/font-styles-ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Simple first-line test</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + +<style type="text/css"> + +body { + margin: 20px; + font-family: serif; + font-size: 200%; + line-height: 1.5; + width: 400px; +} + +span.sansserif { + font-family: sans-serif; +} + +.floatright { + float: right; +} + +</style> + +</head> +<body><div><span class="sansserif">sans-serif</span><br>serif <strong>bold serif <em>italic</em></strong><em><br>just italic<span class="floatright">italic too</span></em></div></body> +</html> \ No newline at end of file
new file mode 100644 --- /dev/null +++ b/layout/reftests/first-line/font-styles.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Simple first-line test</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + +<style type="text/css"> + +body { + margin: 20px; + font-family: serif; + font-size: 200%; + line-height: 1.5; + width: 400px; +} + +div:first-line { + font-family: sans-serif; +} + +.floatright { + float: right; +} + +</style> + +</head> +<body><div>sans-serif<br>serif <strong>bold serif <em>italic</em></strong><em><br>just italic<span class="floatright">italic too</span></em></div></body> +</html> \ No newline at end of file
--- a/layout/reftests/first-line/reftest.list +++ b/layout/reftests/first-line/reftest.list @@ -28,8 +28,10 @@ load stress-10.html # crash test == border-not-apply.html border-not-apply-ref.html == 287088-1.html 287088-1-ref.html == 287088-2.html 287088-2-ref.html == 403177-1.html 403177-1-ref.html == 469227-2.html 469227-2-ref.html == 469227-3.html 469227-3-ref.html == restyle-inside-first-line.html restyle-inside-first-line-ref.html +== font-styles.html font-styles-ref.html +== font-styles-nooverflow.html font-styles-ref.html
new file mode 100644 --- /dev/null +++ b/layout/reftests/text-transform/capitalize-7a.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<style> +html { overflow: hidden; } +p:first-letter { text-transform: uppercase; } +p { text-transform: capitalize } +</style> +<body> +<p>blah blah</p> +</body> +</html>
--- a/layout/reftests/text-transform/reftest.list +++ b/layout/reftests/text-transform/reftest.list @@ -1,15 +1,16 @@ == capitalize-1.html capitalize-ref.html == capitalize-2.html capitalize-ref.html == capitalize-3.html capitalize-3-ref.html == capitalize-4.html capitalize-4-ref.html == capitalize-5.html capitalize-5-ref.html == capitalize-6.html capitalize-6-ref.html == capitalize-7.html capitalize-7-ref.html +== capitalize-7a.html capitalize-7-ref.html == lowercase-1.html lowercase-ref.html == lowercase-sigma-1.html lowercase-sigma-1-ref.html == small-caps-1.html small-caps-1-ref.html == uppercase-1.html uppercase-ref.html == uppercase-szlig-1.html uppercase-szlig-ref.html # these use DejaVu Sans via @font-face for consistency of results skip-if(B2G) HTTP(..) == all-upper.html all-upper-ref.html # bug 773482 skip-if(B2G) HTTP(..) == all-lower.html all-lower-ref.html # bug 773482