mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* wmin w wmax
|
||||
* |------------------+------+---------+------> width
|
||||
* hmin h hmax
|
||||
* |-------------+-----------+-----+----------> height
|
||||
* |-------------+-----------+-----+----------> height
|
||||
*
|
||||
* target: [w, h]
|
||||
*/
|
||||
@@ -35,7 +35,7 @@
|
||||
* wmax w
|
||||
* |------------------+------+----------------> width
|
||||
* hmin h
|
||||
* |------------+------------+----------------> height
|
||||
* |------------+------------+----------------> height
|
||||
*
|
||||
* target: [wmax, wmax * h/w]
|
||||
*/
|
||||
@@ -46,10 +46,10 @@
|
||||
/* w > max-width
|
||||
* wmax/w < hmin/h
|
||||
*
|
||||
* wmax w
|
||||
* wmax w
|
||||
* |-------------+-----------+----------------> width
|
||||
* hmin h
|
||||
* |------------------+------+----------------> height
|
||||
* |------------------+------+----------------> height
|
||||
*
|
||||
* target: [wmax, hmin]
|
||||
*/
|
||||
@@ -63,7 +63,7 @@
|
||||
* w wmin
|
||||
* |-------------+---------+------------------> width
|
||||
* h hmax
|
||||
* |-------------+----------------+-----------> height
|
||||
* |-------------+----------------+-----------> height
|
||||
*
|
||||
* target: [wmin, wmin * h/w]
|
||||
*/
|
||||
@@ -77,7 +77,7 @@
|
||||
* w wmin
|
||||
* |-------------+----------------+-----------> width
|
||||
* h hmax
|
||||
* |-------------+---------+------------------> height
|
||||
* |-------------+---------+------------------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
*/
|
||||
@@ -89,7 +89,7 @@
|
||||
* wmin/w < hmax/h
|
||||
*
|
||||
* wmin w
|
||||
* |------------+------------+----------------> width
|
||||
* |------------+------------+----------------> width
|
||||
* hmax h
|
||||
* |------------------+------+----------------> height
|
||||
*
|
||||
@@ -103,8 +103,8 @@
|
||||
* wmin/w > hmax/h
|
||||
*
|
||||
* wmin w
|
||||
* |------------------+------+----------------> width
|
||||
* hmax h
|
||||
* |------------------+------+----------------> width
|
||||
* hmax h
|
||||
* |-------------+-----------+----------------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
@@ -117,7 +117,7 @@
|
||||
* wmax/w > hmin/h
|
||||
*
|
||||
* w wmax
|
||||
* |-------------+----------------+-----------> height
|
||||
* |-------------+----------------+-----------> height
|
||||
* h hmin
|
||||
* |-------------+---------+------------------> width
|
||||
*
|
||||
@@ -131,7 +131,7 @@
|
||||
* wmax/w < hmin/h
|
||||
*
|
||||
* w wmax
|
||||
* |-------------+---------+------------------> width
|
||||
* |-------------+---------+------------------> width
|
||||
* h hmin
|
||||
* |-------------+----------------+-----------> height
|
||||
*
|
||||
@@ -147,7 +147,7 @@
|
||||
* wmin wmax w
|
||||
* |------------------+------+-------+--------> width
|
||||
* hmax h
|
||||
* |-------------+-------------------+--------> height
|
||||
* |-------------+-------------------+--------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
*/
|
||||
@@ -162,12 +162,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% */}
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
* (wmax/w < hmax/h) and (wmax/w < hmin/h)
|
||||
*
|
||||
* wmax w
|
||||
* |-------------+-------------------+--------> width
|
||||
* |-------------+-------------------+--------> width
|
||||
* hmin hmax h
|
||||
* |------------------+------+-------+--------> height
|
||||
*
|
||||
@@ -190,7 +190,7 @@
|
||||
* (wmax/w < hmax/h) and (wmax/w > hmin/h)
|
||||
*
|
||||
* wmax w
|
||||
* |-------------+-------------------+--------> width
|
||||
* |-------------+-------------------+--------> width
|
||||
* hmin hmax h
|
||||
* |---------+---------------+-------+--------> height
|
||||
*
|
||||
@@ -198,14 +198,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
|
||||
*
|
||||
@@ -237,7 +237,7 @@
|
||||
* w wmin
|
||||
* |----------+-------------+-----------------> width
|
||||
* h hmin hmax
|
||||
* |----------+---------+----------+----------> height
|
||||
* |----------+---------+----------+----------> height
|
||||
*
|
||||
* target: [wmin, wmin * h/w]
|
||||
*/
|
||||
@@ -251,7 +251,7 @@
|
||||
* w wmin
|
||||
* |----------+------------------------+------> width
|
||||
* h hmin hmax
|
||||
* |----------+---------+----------+----------> height
|
||||
* |----------+---------+----------+----------> height
|
||||
*
|
||||
* target: [wmin, hmax]
|
||||
*/
|
||||
@@ -263,7 +263,7 @@
|
||||
/* (w < min-width) and (h > max-height)
|
||||
*
|
||||
* w wmin
|
||||
* |-------------------------+-----+----------> width
|
||||
* |-------------------------+-----+----------> width
|
||||
* hmax h
|
||||
* |------------------+------+----------------> height
|
||||
*
|
||||
@@ -278,7 +278,7 @@
|
||||
* wmax w
|
||||
* |------------------+------+----------------> width
|
||||
* h hmin
|
||||
* |-------------------------+-----+----------> height
|
||||
* |-------------------------+-----+----------> height
|
||||
*
|
||||
* target: [wmax, hmin]
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user