-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-flexbox] Move flexitem-stretch-range.html test to WPT
This CL moves flexitem-stretch-range[-expected].html test from css3/css-flexbox to external/wpt/css/css-flexbox with WPT styles, adding links to the relevant specs, and test description. Additionally, this CL removes <p></p> paragraph because it's the same to the assert. Bug: 1063749 Change-Id: If2811c22ddb2d38e9bb233d8fca416c8c5f0452d
- Loading branch information
1 parent
4645d03
commit e055981
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<title>CSS Flexbox: range stretch</title> | ||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-property"> | ||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#min-size-auto"> | ||
<link rel="match" href="reference/flexitem-stretch-range-ref.html"> | ||
<link href="support/flexbox.css" rel="stylesheet"> | ||
<meta name="assert" content="This test ensures that the thumb should be centered vertically | ||
when stretching a range input."> | ||
<body> | ||
<p>When stretching a range input, the thumb should be centered vertically.</p> | ||
<div class="flexbox" style="height: 200px;"> | ||
<input type="range" style="flex: 1; margin: 0;"> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<p>When stretching a range input, the thumb should be centered vertically.</p> | ||
<div style="height: 200px;"> | ||
<input type="range" style="width: 100%; height: 100%; margin: 0;"> | ||
</div> | ||
</body> | ||
</html> |