Bug 1028716 - Reftests for <progress> and <meter> with various writing-mode and -moz-orient combinations. r=dbaron

This commit is contained in:
Jonathan Kew 2015-04-22 16:08:57 +01:00
parent f82085cac3
commit 5008224e4a
34 changed files with 134 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<meter style="-moz-orient:block" max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<meter style="-moz-orient:horizontal" max=100 value=70 dir=rtl>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<meter style="-moz-orient:horizontal" max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<meter style="-moz-orient:inline" max=100 value=70>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<meter style="-moz-orient:vertical" max=100 value=70 dir=rtl>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<meter style="-moz-orient:vertical" max=100 value=70>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -25,3 +25,22 @@ include default-style/reftest.list
== block-invalidate.html block-invalidate-ref.html
== in-cells.html in-cells-ref.html
== max-height.html max-height-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)
!= meter-orient-vertical.html meter-orient-horizontal.html
!= meter-orient-horizontal.html meter-orient-horizontal-rtl.html
== meter-orient-block.html meter-orient-vertical.html
== meter-orient-inline.html meter-orient-horizontal.html
== meter-vlr.html meter-orient-vertical.html
== meter-vlr-orient-block.html meter-orient-horizontal.html
== meter-vlr-orient-inline.html meter-orient-vertical.html
== meter-vlr-orient-horizontal.html meter-orient-horizontal.html
== meter-vlr-orient-vertical.html meter-orient-vertical.html
== meter-vrl.html meter-orient-vertical-rtl.html
== meter-vrl-orient-block.html meter-orient-horizontal-rtl.html
== meter-vrl-orient-inline.html meter-orient-vertical-rtl.html
== meter-vrl-orient-horizontal.html meter-orient-horizontal-rtl.html
== meter-vrl-orient-vertical.html meter-orient-vertical-rtl.html

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="-moz-orient:block" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="-moz-orient:horizontal" max=100 value=0 dir=rtl>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="-moz-orient:horizontal" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="-moz-orient:inline" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="-moz-orient:vertical" max=100 value=0 dir=rtl>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="-moz-orient:vertical" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-lr;-moz-orient:block" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-lr;-moz-orient:horizontal" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-lr;-moz-orient:inline" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-lr;-moz-orient:vertical" max=100 value=0>

View File

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

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-rl;-moz-orient:block" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-rl;-moz-orient:horizontal" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-rl;-moz-orient:inline" max=100 value=0>

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html>
<progress style="writing-mode:vertical-rl;-moz-orient:vertical" max=100 value=0>

View File

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

View File

@ -24,3 +24,22 @@ skip-if(B2G||Mulet) == bar-pseudo-element-vertical.html bar-pseudo-element-verti
== block-invalidate.html block-invalidate-ref.html
== in-cells.html in-cells-ref.html
== max-height.html max-height-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)
!= progress-orient-horizontal.html progress-orient-vertical.html
fails-if(!cocoaWidget) != progress-orient-vertical.html progress-orient-vertical-rtl.html # only OS X currently has direction-dependent rendering here
== progress-orient-block.html progress-orient-vertical.html
== progress-orient-inline.html progress-orient-horizontal.html
== progress-vlr.html progress-orient-vertical.html
== progress-vlr-orient-block.html progress-orient-horizontal.html
== progress-vlr-orient-inline.html progress-orient-vertical.html
== progress-vlr-orient-horizontal.html progress-orient-horizontal.html
== progress-vlr-orient-vertical.html progress-orient-vertical.html
== progress-vrl.html progress-orient-vertical-rtl.html
== progress-vrl-orient-block.html progress-orient-horizontal-rtl.html
== progress-vrl-orient-inline.html progress-orient-vertical-rtl.html
== progress-vrl-orient-horizontal.html progress-orient-horizontal-rtl.html
== progress-vrl-orient-vertical.html progress-orient-vertical-rtl.html