Skip to content

Commit c4de258

Browse files
frivoalmoz-wptsync-bot
authored andcommitted
Bug 1807885 [wpt PR 37693] - Add tests for boundary condition of text-align:match parent, a=testonly
Automatic update from web-platform-tests Add tests for boundary condition of text-align:match parent See w3c/csswg-drafts#6542 -- wpt-commits: 60a2b189b81354c7efdc70e6da0d142e81a23b08 wpt-pr: 37693
1 parent 99e5527 commit c4de258

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html dir="rtl">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>CSS Text: text-align: match-parent on root, ignoring body propagation</title>
6+
<link rel="author" title="Simon Montagu" href="mailto:[email protected]">
7+
<link rel="author" title="Florian RIvoal" href="https://florian.rivoal.net">
8+
<link rel="help" href="http://www.w3.org/TR/css-text-3/#text-align-property">
9+
<meta name="assert" content="Text checks that
10+
text-align: match-parent on a root element with dir=ltr is
11+
equivalent to text-align: start (not a physical left or right),
12+
inheriting as a logical value">
13+
<link rel="match" href="text-align-match-parent-root-ltr-ref.html">
14+
<style type="text/css">
15+
html { text-align: match-parent; }
16+
</style>
17+
</head>
18+
<body dir=ltr>
19+
<p>This line should be aligned left</p>
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)