mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
* Update Stylo to 2023-07-23 * to_shmem should be local when working with Stylo * Fixup for https://phabricator.services.mozilla.com/D180769 * Fixup for https://phabricator.services.mozilla.com/D181125 * Fixup for https://phabricator.services.mozilla.com/D181162 * Fixup for https://phabricator.services.mozilla.com/D181798 * Fixup for https://phabricator.services.mozilla.com/D182514 * Fixup for https://phabricator.services.mozilla.com/D182539 * Update test expectations
217 lines
7.5 KiB
INI
217 lines
7.5 KiB
INI
[minmax-length-percent-serialize.html]
|
|
[e.style['margin-left'\] = "max(1pt + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1vw + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1rem + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1mm + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(max(10%) + 20px)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1em, 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1vh + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1em + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(10%, 20px)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1em + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1mm + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1ex + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1vmin + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1Q + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(10% + max(20px))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1vmin + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1cm + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1pc + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1px + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(max(1em) + 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(10%, 1em)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(20px + max(10%))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(max(20px) + 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1ch + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(max(20px) + min(1em) + max(10%))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1ch + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(min(10%) + 20px)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(10% + max(1em))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1em, 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1vmax + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(20px + min(10%))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(20px, 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1pc + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(10% + min(1em))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(min(20px) + 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1ex + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(10% + 2em, 5% + 1em)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1in + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(10% + 30px, 5% + 60px)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(1em + max(10%))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(10%, 1em)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1in + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(min(10%) + max(1em) + min(20px))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(1em + min(10%))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(10%, 20px)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(max(10%) + min(1em) + max(20px))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1Q + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(20px, 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1vh + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1rem + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1pt + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1cm + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1vmax + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(min(10%) + 1em)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(max(10%) + 1em)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "max(1vw + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(min(20px) + max(1em) + min(10%))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(10% + min(20px))" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "min(1px + 1%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['margin-left'\] = "calc(min(1em) + 10%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
['min(1% + 1px)' as a computed value should serialize as 'min(1% + 1px)'.]
|
|
expected: FAIL
|
|
|
|
['calc(min(10% + 1px) + max(1em + 10%) + min(10% + 20px))' as a computed value should serialize as 'calc(min(10% + 1px) + max(10% + 16px) + min(10% + 20px))'.]
|
|
expected: FAIL
|
|
|
|
['max(1px + 1%)' as a specified value should serialize as 'max(1% + 1px)'.]
|
|
expected: FAIL
|
|
|
|
['calc(1em + max(10% + 20px) + 5% + min(1em + 10%) + 10px)' as a computed value should serialize as 'calc(5% + 26px + max(10% + 20px) + min(10% + 16px))'.]
|
|
expected: FAIL
|
|
|
|
['max(1px + 1%)' as a computed value should serialize as 'max(1% + 1px)'.]
|
|
expected: FAIL
|
|
|
|
['min(1% + 1px)' as a specified value should serialize as 'min(1% + 1px)'.]
|
|
expected: FAIL
|
|
|
|
['calc(min(10% + 1px) + max(1em + 10%) + min(10% + 20px))' as a specified value should serialize as 'calc(min(10% + 1px) + max(10% + 1em) + min(10% + 20px))'.]
|
|
expected: FAIL
|
|
|
|
['min(1px + 1%)' as a specified value should serialize as 'min(1% + 1px)'.]
|
|
expected: FAIL
|
|
|
|
['min(1px + 1%)' as a computed value should serialize as 'min(1% + 1px)'.]
|
|
expected: FAIL
|
|
|
|
['calc(1em + max(10% + 20px) + 5% + min(1em + 10%) + 10px)' as a specified value should serialize as 'calc(5% + 1em + 10px + max(10% + 20px) + min(10% + 1em))'.]
|
|
expected: FAIL
|
|
|
|
['max((min(10%, 30px) + 10px) * 2 + 10px, 5em + 5%)' as a specified value should serialize as 'max(10px + (10px + min(10%, 30px)) * 2, 5% + 5em)'.]
|
|
expected: FAIL
|
|
|
|
['max((min(10%, 30px) + 10px) * 2 + 10px, 5em + 5%)' as a computed value should serialize as 'max(10px + (10px + min(10%, 30px)) * 2, 5% + 80px)'.]
|
|
expected: FAIL
|