mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
More first-letter reftests
This commit is contained in:
parent
fdfed24896
commit
937f4125a6
11
layout/reftests/first-letter/23605-1-ref.html
Normal file
11
layout/reftests/first-letter/23605-1-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">[T</span>ext]</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-1.html
Normal file
11
layout/reftests/first-letter/23605-1.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>[Text]</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-2-ref.html
Normal file
11
layout/reftests/first-letter/23605-2-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">"T</span>ext"</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-2.html
Normal file
11
layout/reftests/first-letter/23605-2.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>"Text"</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-3-ref.html
Normal file
11
layout/reftests/first-letter/23605-3-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">“T</span>ext”</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-3.html
Normal file
11
layout/reftests/first-letter/23605-3.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>“Text”</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-4-ref.html
Normal file
11
layout/reftests/first-letter/23605-4-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">‚T</span>ext‚</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-4.html
Normal file
11
layout/reftests/first-letter/23605-4.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>‚Text‚</p>
|
||||
</body>
|
||||
</html>
|
24
layout/reftests/first-letter/23605-5-ref.html
Normal file
24
layout/reftests/first-letter/23605-5-ref.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
See http://lists.w3.org/Archives/Public/www-style/2000Jan/0017.html and
|
||||
http://www.w3.org/TR/CSS21/selector.html#first-letter
|
||||
'If the letters that would form the first-letter are not in the same element,
|
||||
such as "'T" in <p>'<em>T..., the UA may create a first-letter
|
||||
pseudo-element from one of the elements, both elements, or simply not create
|
||||
a pseudo-element.'
|
||||
So it's not necessarily a bug if this test fails, but I'm including it anyway
|
||||
to track whether the behaviour changes. The current behaviour at the time of
|
||||
creating the test is that only the first element is included in the
|
||||
pseudo-element.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">[</span><a href="http://www.mozilla.org/">A link to mozilla.org</a> is the
|
||||
beginning of this paragraph.]</p>
|
||||
</body>
|
||||
</html>
|
24
layout/reftests/first-letter/23605-5.html
Normal file
24
layout/reftests/first-letter/23605-5.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
See http://lists.w3.org/Archives/Public/www-style/2000Jan/0017.html and
|
||||
http://www.w3.org/TR/CSS21/selector.html#first-letter
|
||||
'If the letters that would form the first-letter are not in the same element,
|
||||
such as "'T" in <p>'<em>T..., the UA may create a first-letter
|
||||
pseudo-element from one of the elements, both elements, or simply not create
|
||||
a pseudo-element.'
|
||||
So it's not necessarily a bug if this test fails, but I'm including it anyway
|
||||
to track whether the behaviour changes. The current behaviour at the time of
|
||||
creating the test is that only the first element is included in the
|
||||
pseudo-element.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>[<a href="http://www.mozilla.org/">A link to mozilla.org</a> is the
|
||||
beginning of this paragraph.]</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-6-ref.html
Normal file
11
layout/reftests/first-letter/23605-6-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">"'[T</span>ext]'"</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/23605-6.html
Normal file
11
layout/reftests/first-letter/23605-6.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>"'[Text]'"</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/329069-1-ref.html
Normal file
11
layout/reftests/first-letter/329069-1-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">É</span>cole</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/329069-1.html
Normal file
11
layout/reftests/first-letter/329069-1.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>École</p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/329069-2-ref.html
Normal file
11
layout/reftests/first-letter/329069-2-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.fake-first-letter { color: red; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span class="fake-first-letter">뀀</span></p>
|
||||
</body>
|
||||
</html>
|
11
layout/reftests/first-letter/329069-2.html
Normal file
11
layout/reftests/first-letter/329069-2.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
p:first-letter { color: red; font-size: 200%; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>뀀</p>
|
||||
</body>
|
||||
</html>
|
@ -22,3 +22,10 @@ fails == dynamic-1.html dynamic-1-ref.html # bug 8253
|
||||
== dynamic-2.html dynamic-2-ref.html
|
||||
== dynamic-3a.html dynamic-3-ref.html
|
||||
random == dynamic-3b.html dynamic-3-ref.html
|
||||
== 23605-1.html 23605-1-ref.html
|
||||
== 23605-2.html 23605-2-ref.html
|
||||
== 23605-3.html 23605-3-ref.html
|
||||
== 23605-4.html 23605-4-ref.html
|
||||
== 23605-5.html 23605-5-ref.html
|
||||
== 23605-6.html 23605-6-ref.html
|
||||
== 329069-1.html 329069-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user