Bug 1157142 - Reftests for logical and physical orientation of <input type=range>. r=jwatt

This commit is contained in:
Jonathan Kew 2015-04-29 08:18:54 +01:00
parent 7ae17d117a
commit 1783225544
17 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range orient=block max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range orient=horizontal max=100 value=70 dir=rtl>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range orient=horizontal max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range orient=inline max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range orient=vertical max=100 value=70 dir=rtl>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range orient=vertical max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-lr" orient=block max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-lr" orient=horizontal max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-lr" orient=inline max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-lr" orient=vertical max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-lr" max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-rl" orient=block max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-rl" orient=horizontal max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-rl" orient=inline max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-rl" orient=vertical max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<input type=range style="writing-mode:vertical-rl" max=100 value=70>

View File

@ -31,3 +31,22 @@ fuzzy-if(B2G,1,1) == max-prop.html 100pct-common-ref.html
fails-if(B2G||Mulet||Android) == moz-range-progress-1.html moz-range-progress-1-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
== moz-range-progress-2.html moz-range-progress-2-ref.html
== moz-range-progress-3.html moz-range-progress-3-ref.html
# Tests for block and inline orientation in combination with writing-mode
# XXX Remove default-preferences setting here after bug 1138384 makes
# it the default for all channels
default-preferences pref(layout.css.vertical-text.enabled,true)
!= range-orient-horizontal.html range-orient-vertical.html
!= range-orient-horizontal.html range-orient-horizontal-rtl.html
== range-orient-block.html range-orient-vertical.html
== range-orient-inline.html range-orient-horizontal.html
== range-vlr.html range-orient-vertical.html
== range-vlr-orient-block.html range-orient-horizontal.html
== range-vlr-orient-inline.html range-orient-vertical.html
== range-vlr-orient-horizontal.html range-orient-horizontal.html
== range-vlr-orient-vertical.html range-orient-vertical.html
== range-vrl.html range-orient-vertical-rtl.html
== range-vrl-orient-block.html range-orient-horizontal-rtl.html
== range-vrl-orient-inline.html range-orient-vertical-rtl.html
== range-vrl-orient-horizontal.html range-orient-horizontal-rtl.html
== range-vrl-orient-vertical.html range-orient-vertical-rtl.html