mirror of
https://github.com/servo/servo
synced 2026-04-30 03:17:15 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
* wmin w wmax
|
||||
* |------------------+------+---------+------> width
|
||||
* hmin h hmax
|
||||
* |-------------+-----------+-----+----------> height
|
||||
* |-------------+-----------+-----+----------> height
|
||||
*
|
||||
* target: [w, h]
|
||||
*/
|
||||
@@ -44,7 +44,7 @@
|
||||
* wmax w
|
||||
* |------------------+------+----------------> width
|
||||
* hmin h
|
||||
* |------------+------------+----------------> height
|
||||
* |------------+------------+----------------> height
|
||||
*
|
||||
* target: [wmax, wmax * h/w]
|
||||
*/
|
||||
@@ -55,10 +55,10 @@
|
||||
/* w > max-width
|
||||
* wmax/w < hmin/h
|
||||
*
|
||||
* wmax w
|
||||
* wmax w
|
||||
* |-------------+-----------+----------------> width
|
||||
* hmin h
|
||||
* |------------------+------+----------------> height
|
||||
* |------------------+------+----------------> height
|
||||
*
|
||||
* target: [wmax, hmin]
|
||||
*/
|
||||
@@ -72,7 +72,7 @@
|
||||
* w wmin
|
||||
* |-------------+---------+------------------> width
|
||||
* h hmax
|
||||
* |-------------+----------------+-----------> height
|
||||
* |-------------+----------------+-----------> height
|
||||
*
|
||||
* target: [wmin, wmin * h/w]
|
||||
*/
|
||||
@@ -86,7 +86,7 @@
|
||||
* w wmin
|
||||
* |-------------+----------------+-----------> width
|
||||
* h hmax
|
||||
* |-------------+---------+------------------> height
|
||||
* |-------------+---------+------------------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
*/
|
||||
@@ -98,7 +98,7 @@
|
||||
* wmin/w < hmax/h
|
||||
*
|
||||
* wmin w
|
||||
* |------------+------------+----------------> width
|
||||
* |------------+------------+----------------> width
|
||||
* hmax h
|
||||
* |------------------+------+----------------> height
|
||||
*
|
||||
@@ -112,8 +112,8 @@
|
||||
* wmin/w > hmax/h
|
||||
*
|
||||
* wmin w
|
||||
* |------------------+------+----------------> width
|
||||
* hmax h
|
||||
* |------------------+------+----------------> width
|
||||
* hmax h
|
||||
* |-------------+-----------+----------------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
@@ -126,7 +126,7 @@
|
||||
* wmax/w > hmin/h
|
||||
*
|
||||
* w wmax
|
||||
* |-------------+----------------+-----------> height
|
||||
* |-------------+----------------+-----------> height
|
||||
* h hmin
|
||||
* |-------------+---------+------------------> width
|
||||
*
|
||||
@@ -140,7 +140,7 @@
|
||||
* wmax/w < hmin/h
|
||||
*
|
||||
* w wmax
|
||||
* |-------------+---------+------------------> width
|
||||
* |-------------+---------+------------------> width
|
||||
* h hmin
|
||||
* |-------------+----------------+-----------> height
|
||||
*
|
||||
@@ -156,7 +156,7 @@
|
||||
* wmin wmax w
|
||||
* |------------------+------+-------+--------> width
|
||||
* hmax h
|
||||
* |-------------+-------------------+--------> height
|
||||
* |-------------+-------------------+--------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
*/
|
||||
@@ -171,12 +171,12 @@
|
||||
* wmin wmax w
|
||||
* |---------+---------------+-------+--------> width
|
||||
* hmax h
|
||||
* |-------------+-------------------+--------> height
|
||||
* |-------------+-------------------+--------> height
|
||||
*
|
||||
* target: [hmax * w/h, hmax]
|
||||
*/
|
||||
|
||||
#img11 { min-width: 25px; /* 10% */
|
||||
#img11 { min-width: 25px; /* 10% */
|
||||
max-width: 225px; /* 90% */
|
||||
max-height: 75px; /* 30% */}
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
* (wmax/w < hmax/h) and (wmax/w < hmin/h)
|
||||
*
|
||||
* wmax w
|
||||
* |-------------+-------------------+--------> width
|
||||
* |-------------+-------------------+--------> width
|
||||
* hmin hmax h
|
||||
* |------------------+------+-------+--------> height
|
||||
*
|
||||
@@ -199,7 +199,7 @@
|
||||
* (wmax/w < hmax/h) and (wmax/w > hmin/h)
|
||||
*
|
||||
* wmax w
|
||||
* |-------------+-------------------+--------> width
|
||||
* |-------------+-------------------+--------> width
|
||||
* hmin hmax h
|
||||
* |---------+---------------+-------+--------> height
|
||||
*
|
||||
@@ -207,14 +207,14 @@
|
||||
*/
|
||||
|
||||
#img13 { max-width: 75px; /* 30% */
|
||||
min-height: 25px; /* 10% */
|
||||
min-height: 25px; /* 10% */
|
||||
max-height: 225px; /* 90% */}
|
||||
|
||||
/* (w < min-width) and (h < min-height)
|
||||
* (wmin/w < hmin/h) and (wmax/w > hmin/h)
|
||||
*
|
||||
* w wmin wmax
|
||||
* |----------+---------+----------+----------> width
|
||||
* |----------+---------+----------+----------> width
|
||||
* h hmin
|
||||
* |----------+-------------+-----------------> height
|
||||
*
|
||||
@@ -246,7 +246,7 @@
|
||||
* w wmin
|
||||
* |----------+-------------+-----------------> width
|
||||
* h hmin hmax
|
||||
* |----------+---------+----------+----------> height
|
||||
* |----------+---------+----------+----------> height
|
||||
*
|
||||
* target: [wmin, wmin * h/w]
|
||||
*/
|
||||
@@ -260,7 +260,7 @@
|
||||
* w wmin
|
||||
* |----------+------------------------+------> width
|
||||
* h hmin hmax
|
||||
* |----------+---------+----------+----------> height
|
||||
* |----------+---------+----------+----------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
*/
|
||||
@@ -272,7 +272,7 @@
|
||||
/* (w < min-width) and (h > max-height)
|
||||
*
|
||||
* w wmin
|
||||
* |-------------------------+-----+----------> width
|
||||
* |-------------------------+-----+----------> width
|
||||
* hmax h
|
||||
* |------------------+------+----------------> height
|
||||
*
|
||||
@@ -287,7 +287,7 @@
|
||||
* wmax w
|
||||
* |------------------+------+----------------> width
|
||||
* h hmin
|
||||
* |-------------------------+-----+----------> height
|
||||
* |-------------------------+-----+----------> height
|
||||
*
|
||||
* target: [wmax, hmin]
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user