mirror of
https://github.com/servo/servo.git
synced 2025-06-26 18:14:34 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Overflow Test: Test the text in an input is not clipped and reachable</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1715291">
|
||||
<link rel="match" href="scrollable-overflow-input-001-ref.html">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
|
||||
<style>
|
||||
input {
|
||||
box-sizing: border-box;
|
||||
width: 160px;
|
||||
padding-inline: 20px 60px;
|
||||
background: yellow;
|
||||
font: 20px/1 Ahem;
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- The total width of the text (120px) must be less than the <input>'s
|
||||
width (160px) to reproduce this bug. -->
|
||||
<input id="input" value="X XpX">
|
||||
|
||||
<script>
|
||||
document.getElementById('input').scrollLeft = 1000;
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue