Automatic update from web-platform-tests Add an RTL test for tab position when there're floats This is a follow up to crrev.com/c/7989552. Bug: 526682333 Change-Id: Ib2fe5d653a7f7c603b201e1858b3a201a9b3b7b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7999196 Auto-Submit: Koji Ishii <kojii@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1652163} -- wpt-commits: a0fba39b25faf17d1e219f871671145226579beb wpt-pr: 60887
34 lines
719 B
HTML
34 lines
719 B
HTML
<!DOCTYPE html>
|
|
<title>Reference: tab stops with float</title>
|
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
|
<script>
|
|
const params = new URLSearchParams(window.location.search);
|
|
let classes = ['ltr'];
|
|
if (params.has('class')) {
|
|
classes = params.getAll('class').flatMap(value => value.split(','));
|
|
}
|
|
document.documentElement.classList.add(...classes);
|
|
</script>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
div {
|
|
font: 20px/1 Ahem;
|
|
white-space: pre;
|
|
tab-size: 4;
|
|
width: 400px;
|
|
}
|
|
.rtl div {
|
|
direction: rtl;
|
|
}
|
|
.spacer {
|
|
display: inline-block;
|
|
width: 40px;
|
|
}
|
|
</style>
|
|
<p>Tab stops should align vertically in both lines.</p>
|
|
|
|
<div><span class="spacer"></span>a	b</div>
|
|
<div>a	b</div>
|