Skip to content

Commit

Permalink
Tests for input[type=range] in various writing mode/direction (#37131)
Browse files Browse the repository at this point in the history
  • Loading branch information
nt1m committed Nov 24, 2022
1 parent 76a35c4 commit 3f94991
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 0 deletions.
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>native input[type=range] in horizontal writing mode & RTL direction</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-native-horizontal.optional.html">
<link rel="mismatch" href="range-input-appearance-none-horizontal.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10" style="direction: rtl">
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>native input[type=range] in horizontal writing mode</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-native-vertical.optional.html">
<link rel="mismatch" href="range-input-appearance-none-vertical.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10">
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>native input[type=range] in vertical writing mode & RTL direction</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-native-vertical.optional.html">
<link rel="mismatch" href="range-input-appearance-none-vertical.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10" style="writing-mode: vertical-rl; direction: rtl;">
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>native input[type=range] in vertical writing mode</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-native-horizontal.optional.html">
<link rel="mismatch" href="range-input-appearance-none-horizontal.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10" style="writing-mode: vertical-rl">
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>unstyled input[type=range] in horizontal writing mode & RTL direction</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-none-horizontal.optional.html">
<link rel="mismatch" href="range-input-appearance-native-horizontal.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10" style="direction: rtl; appearance: none;">
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>unstyled input[type=range] in horizontal writing mode</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-none-vertical.optional.html">
<link rel="mismatch" href="range-input-appearance-native-vertical.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10" style="appearance: none;">
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>unstyled input[type=range] in vertical writing mode & RTL direction</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-none-vertical.optional.html">
<link rel="mismatch" href="range-input-appearance-native-vertical.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10" style="writing-mode: vertical-lr; direction: rtl; appearance: none;">
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)">
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
<title>unstyled input[type=range] in vertical writing mode</title>
<meta charset="utf-8">
<link rel="mismatch" href="range-input-appearance-none-horizontal.optional.html">
<link rel="mismatch" href="range-input-appearance-native-horizontal.optional.html">

<!-- Note test description should be the same across all files to mismatch on. -->
<p>The range input below should match the correct writing mode & direction.</p>
<input type="range" min="0" max="100" value="10" style="writing-mode: vertical-lr; appearance: none;">

0 comments on commit 3f94991

Please sign in to comment.