mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision e7ab50584f431b0f67e17f33bc80ac368236fa00
This commit is contained in:
parent
407064b93e
commit
d13f3f47ed
51 changed files with 260 additions and 128 deletions
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
div {
|
||||
font-size: 36px;
|
||||
}
|
||||
span {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the "T"s and preceding punctuation below are green.</p>
|
||||
<div><span>– T</span>est</div>
|
||||
<div><span>« T</span>est</div>
|
||||
<div><span>« T</span>est</div>
|
||||
</body>
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: ::first-letter formatting</title>
|
||||
<link rel="author" title="Johannes Odland" href="mailto:johannes.odland@gmail.com">
|
||||
<link rel="match" href="first-letter-punctuation-and-space-ref.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that punctuation, intervening space separators and letters still have proper ::first-letter styling.">
|
||||
<style>
|
||||
div {
|
||||
font-size: 36px;
|
||||
}
|
||||
div::first-letter {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the "T"s and preceding punctuation below are green.</p>
|
||||
<div>– Test</div>
|
||||
<div>« Test</div>
|
||||
<div>« Test</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue