Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-text-hanging-punctuation-hanging-punctuation-allow-end-001-test.html
Zachary D. Rowitsch 16abbd78e7 Bulk-import 2899 WPT CSS reftests and add import tooling
Add scripts/import_wpt_reftests.py to sparse-clone the upstream WPT repo
and bulk-import qualifying CSS reftests (no JS, no external resources) as
known_fail entries. 23 tests already pass and are promoted. The import
script is idempotent and exposed via `just import-wpt`. CI now prints the
WPT summary (pass=36 known_fail=2877 skip=1) on every run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 00:15:27 -05:00

105 lines
3.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="ja">
<head>
<title>CSS Test: hanging-punctuation - allow-end - basic cases</title>
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" >
<link rel="help" title="CSS Text Level 3: 10.2. Hanging Punctuation: the hanging-punctuation property" href="http://www.w3.org/TR/css-text-3/#hanging-punctuation" >
<link rel="match" href="reference/hanging-punctuation-allow-end-001-ref.xht">
<meta name="assert" content="This property determines whether a punctuation mark, if one is present, may be placed outside the line box (or in the indent) at the start or at the end of a full line of text." >
<style type="text/css">
<![CDATA[
.test {
hanging-punctuation: allow-end;
}
/* the CSS below is not part of the test */
body {
font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
}
.no-wrap {
white-space: nowrap;
}
.parent {
border: 1px solid gray;
margin-left: 2em;
width: 10em
}
div.wrapper {
display: inline-block;
border: 1px solid;
margin: 10px;
padding: 10px;
}
span.attention {
color: red;
}
]]>
</style>
</head>
<body>
<p>
Test passes if each pair of upper and lower text in the square box is identical.
</p>
<div class="wrapper">
<div>
IDEOGRAPHIC COMMA
</div>
<div class="parent">
<div class="test">
これらは満たす文字で、それらも満たす文字です。
</div>
<br >
<div class="no-wrap">
これらは満たす文字で、<br >それらも満たす文字で<br >す。
</div>
</div>
</div>
<div class="wrapper">
<div>
IDEOGRAPHIC FULL STOP
</div>
<div class="parent">
<div class="test">
これは満たす文字です。
</div>
<br >
<div class="no-wrap">
これは満たす文字です。
</div>
</div>
</div>
<div class="wrapper">
<div>
HALFWIDTH IDEOGRAPHIC COMMA
</div>
<div class="parent">
<div class="test">
ミタスモジ、ミタスモジ、ミタスモジ、ミタスモジ。
</div>
<br >
<div class="no-wrap">
ミタスモジ、ミタスモジ、ミタスモジ、<br >ミタスモジ。
</div>
</div>
</div>
<div class="wrapper">
<div>
HALFWIDTH IDEOGRAPHIC FULL STOP
</div>
<div class="parent">
<div class="test">
ミタスモジ。ミタスモジ。ミタスモジ。ミタスモジ。
</div>
<br >
<div class="no-wrap">
ミタスモジ。ミタスモジ。ミタスモジ。<br >ミタスモジ。
</div>
</div>
</div>
<p>
<span class="attention">* You will need a Japanese font.</span><br >
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
</p>
</body>
</html>