mirror of
https://github.com/servo/servo.git
synced 2025-07-13 10:23:40 +01:00
Auto merge of #22909 - servo-wpt-sync:wpt_update_18-02-2019, r=jdm
Sync WPT with upstream (18-02-2019) Automated downstream sync of changes from upstream as of 18-02-2019. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22909) <!-- Reviewable:end -->
This commit is contained in:
commit
79eecec78f
85 changed files with 1096 additions and 220 deletions
|
@ -14,9 +14,6 @@
|
|||
[Revoke blob URL after creating Request, will fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Revoke blob URL after calling fetch, fetch should succeed]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[url-with-fetch.any.html]
|
||||
[Untitled]
|
||||
|
|
|
@ -158833,6 +158833,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-min-height.html": [
|
||||
[
|
||||
"/css/css-values/calc-min-height.html",
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-parenthesis-stack.html": [
|
||||
[
|
||||
"/css/css-values/calc-parenthesis-stack.html",
|
||||
|
@ -194713,6 +194725,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"quirks/historical/vertical-align-in-quirks.html": [
|
||||
[
|
||||
"/quirks/historical/vertical-align-in-quirks.html",
|
||||
[
|
||||
[
|
||||
"/quirks/historical/reference/vertical-align-in-quirks-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"quirks/line-height-in-list-item.tentative.html": [
|
||||
[
|
||||
"/quirks/line-height-in-list-item.tentative.html",
|
||||
|
@ -194761,18 +194785,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"quirks/vertical-align-in-quirks.html": [
|
||||
[
|
||||
"/quirks/vertical-align-in-quirks.html",
|
||||
[
|
||||
[
|
||||
"/quirks/reference/vertical-align-in-quirks-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"service-workers/service-worker/svg-target-reftest.https.html": [
|
||||
[
|
||||
"/service-workers/service-worker/svg-target-reftest.https.html",
|
||||
|
@ -305851,6 +305863,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"quirks/historical/reference/vertical-align-in-quirks-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"quirks/line-height-trailing-collapsable-whitespace-ref.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -305861,11 +305878,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"quirks/reference/vertical-align-in-quirks-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"quirks/support/test-ref-iframe.js": [
|
||||
[
|
||||
{}
|
||||
|
@ -348133,6 +348145,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-padding-invalid.html": [
|
||||
[
|
||||
"/css/css-scroll-snap/parsing/scroll-padding-invalid.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-padding-valid.html": [
|
||||
[
|
||||
"/css/css-scroll-snap/parsing/scroll-padding-valid.html",
|
||||
|
@ -353793,6 +353811,24 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-ui/parsing/user-select-computed.html": [
|
||||
[
|
||||
"/css/css-ui/parsing/user-select-computed.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-ui/parsing/user-select-invalid.html": [
|
||||
[
|
||||
"/css/css-ui/parsing/user-select-invalid.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-ui/parsing/user-select-valid.html": [
|
||||
[
|
||||
"/css/css-ui/parsing/user-select-valid.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-ui/text-overflow-023.html": [
|
||||
[
|
||||
"/css/css-ui/text-overflow-023.html",
|
||||
|
@ -353811,6 +353847,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-background-position-002.html": [
|
||||
[
|
||||
"/css/css-values/calc-background-position-002.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-background-position-003.html": [
|
||||
[
|
||||
"/css/css-values/calc-background-position-003.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-in-color-001.html": [
|
||||
[
|
||||
"/css/css-values/calc-in-color-001.html",
|
||||
|
@ -353835,6 +353883,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-nesting-002.html": [
|
||||
[
|
||||
"/css/css-values/calc-nesting-002.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-nesting.html": [
|
||||
[
|
||||
"/css/css-values/calc-nesting.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-numbers.html": [
|
||||
[
|
||||
"/css/css-values/calc-numbers.html",
|
||||
|
@ -353847,6 +353907,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-serialization-002.html": [
|
||||
[
|
||||
"/css/css-values/calc-serialization-002.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-serialization.html": [
|
||||
[
|
||||
"/css/css-values/calc-serialization.html",
|
||||
|
@ -353865,6 +353931,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/calc-z-index-fractions-001.html": [
|
||||
[
|
||||
"/css/css-values/calc-z-index-fractions-001.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/getComputedStyle-border-radius-002.html": [
|
||||
[
|
||||
"/css/css-values/getComputedStyle-border-radius-002.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-values/lh-rlh-on-root-001.html": [
|
||||
[
|
||||
"/css/css-values/lh-rlh-on-root-001.html",
|
||||
|
@ -574397,7 +574475,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/ancestor-change-heuristic.html": [
|
||||
"ffe60ad775ad863bcd2a12aaefb8fbabaf9c1ce1",
|
||||
"21adfbb6b7a56c0a098eda1843897926afb363f5",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/anchor-updates-after-explicit-scroll.html": [
|
||||
|
@ -574409,7 +574487,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/anchoring-with-bounds-clamping.html": [
|
||||
"3adcfe598a51b13d7f8560c3c72c048157065451",
|
||||
"e9d06579d575433cff8b4e3052b9e0bb7824c32a",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/anonymous-block-box.html": [
|
||||
|
@ -574417,7 +574495,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/basic.html": [
|
||||
"2c46c28dc2190592d242c3260ea5cc28415c16c0",
|
||||
"99625ba7da1ad7c86babff1a11831d74cf602ad8",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/clamp-negative-overflow.html": [
|
||||
|
@ -574429,15 +574507,15 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/descend-into-container-with-float.html": [
|
||||
"a86634f9ed3dab963702600fe3afb968ebb90ca9",
|
||||
"ff39608ff04090cde9bfb0a3eeafc15bfeb5a191",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/descend-into-container-with-overflow.html": [
|
||||
"3b469157dc2a15b3d861e1281806c6d0e5573f58",
|
||||
"654f34a051dc39ea3506a73a1e96602d0c664c61",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/exclude-fixed-position.html": [
|
||||
"99686bdee440ab511acc55d7cb5c7a5ce97b07ad",
|
||||
"d48d3f7cedf19ce502a5087d945675b62e62fdf9",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/exclude-inline.html": [
|
||||
|
@ -574457,7 +574535,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/inline-block.html": [
|
||||
"fa7655bcd8afce189368ac412e094f98ccebbdca",
|
||||
"881ff97de9ea97bd8dca6a64333a16502f4e11d4",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/multicol-fragmented-anchor.html": [
|
||||
|
@ -574489,15 +574567,15 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/position-change-heuristic.html": [
|
||||
"a7ef5525cdf8d49bb6991f9ac77bb4a12a92fbcb",
|
||||
"b36b211f586782a7616c222fce04aa98817f35c4",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/start-edge-in-block-layout-direction.html": [
|
||||
"4607c37b7204231adc839b3cb2241579d86e5070",
|
||||
"638993f079d09c5a0a7476023242ed46f7850d47",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/subtree-exclusion.html": [
|
||||
"c384280f10fc96e2202518cb3333da346967d1a1",
|
||||
"25961b366424b1f3686e27fc8eab677cc2f95de8",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/text-anchor-in-vertical-rl.html": [
|
||||
|
@ -574505,7 +574583,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-anchoring/wrapped-text.html": [
|
||||
"4bd2cdb3251de62aceb13504404a58023f50c044",
|
||||
"60f11fbcfea415c17cb132aadef29260079ee83e",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-snap/META.yml": [
|
||||
|
@ -574545,19 +574623,23 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-margin-valid.html": [
|
||||
"ebf538cc1b58ae841258892139fb2591fee6c596",
|
||||
"be3499869159c5fb29f9859889f4f2354874853c",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-padding-block-valid.html": [
|
||||
"0c495023db81246515aeacf23dd708bad67b5d6a",
|
||||
"79f675acd5b530db6f0fc6d31a5f059651c8b1f6",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-padding-inline-valid.html": [
|
||||
"60befa1b54e3e0c061b3284aa944a6ed6f1e79c9",
|
||||
"3fb9003585a9d9cb4af7891cd77ca91f3b8f42c0",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-padding-invalid.html": [
|
||||
"9b24a539f7a9810c0bc8f92440da5c075a3d63d5",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-padding-valid.html": [
|
||||
"31d71db1b5e64b70aa2b05e989e4d93793f76b4e",
|
||||
"0e7c86b12b5d8aa1e9f06f8f95b596c43e81e938",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-scroll-snap/parsing/scroll-snap-align-invalid.html": [
|
||||
|
@ -591384,6 +591466,18 @@
|
|||
"5d40b6839def0f4ace52ab0a8af818dcf2b3ea8e",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-ui/parsing/user-select-computed.html": [
|
||||
"d2374dbefa22a318810b9550b57dc5b61a5e6fca",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-ui/parsing/user-select-invalid.html": [
|
||||
"7fe7feeca8850cd687b97af3ca270f243abbd443",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-ui/parsing/user-select-valid.html": [
|
||||
"e78ac7ce2bb163a76d483c050931a65c264e68c2",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-ui/reference/box-sizing-001-ref.html": [
|
||||
"0207bc06beb00b241d59773f41ed0a8f1ee4f107",
|
||||
"support"
|
||||
|
@ -592776,6 +592870,14 @@
|
|||
"e41beaff211b87dd74dd6fee6f05d894ba03988d",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-background-position-002.html": [
|
||||
"c1dad2eb03b45ead60e7a8f57ba29fc226e63d4d",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-background-position-003.html": [
|
||||
"58e995f01c8b100c9d3a92106c81e07e93570b73",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-ch-ex-lang-ref.html": [
|
||||
"e0ac1ead1e5247c7c1d5fb2dffdf9ee0b08dd497",
|
||||
"support"
|
||||
|
@ -592824,6 +592926,18 @@
|
|||
"444785ba14c21faefe56c22de0c23766ddb26c95",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-min-height.html": [
|
||||
"a3cfa47213fd3ce46a7c7302b5763f49142a3767",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-values/calc-nesting-002.html": [
|
||||
"269d4e940ac4dc7d525a6039a27b64193750ca27",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-nesting.html": [
|
||||
"f68d4ae8e98c94f99af761736f0f54d5e5cd222a",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-numbers.html": [
|
||||
"995595b8a3e91ab3a72ec465d509030f082ea5bf",
|
||||
"testharness"
|
||||
|
@ -592848,6 +592962,10 @@
|
|||
"dfd03a695305e0721154bf26f68a5912216d9862",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-serialization-002.html": [
|
||||
"a06b33e492e323386c40c333b22bd344e281fd98",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-serialization.html": [
|
||||
"f92de7338d3f05a6623f3aa882e21a724f1344e5",
|
||||
"testharness"
|
||||
|
@ -592860,6 +592978,10 @@
|
|||
"7508a3924162b87454a180f75f17c572192c3776",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-z-index-fractions-001.html": [
|
||||
"6b8ed24989fc78a10a70388faf22936094fd92fb",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/ch-unit-001.html": [
|
||||
"83374e7bb291e45a44e3002635f967611aa1a5b7",
|
||||
"reftest"
|
||||
|
@ -592904,6 +593026,10 @@
|
|||
"4eab829697f87606a64d60f360a04639e61ccabb",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-values/getComputedStyle-border-radius-002.html": [
|
||||
"8dec53f3f0ef4b3c1844fe019e76b25f5f374e38",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/ic-unit-001.html": [
|
||||
"b969278da90130eecf2c73c5accc945dda39d912",
|
||||
"reftest"
|
||||
|
@ -614493,7 +614619,7 @@
|
|||
"support"
|
||||
],
|
||||
"docs/_reviewing-tests/checklist.md": [
|
||||
"23b264241807429ccd4fa025cf264ec058a48ff5",
|
||||
"876b468e5bc939f457f3cb2755f427c50cde5da0",
|
||||
"support"
|
||||
],
|
||||
"docs/_reviewing-tests/email.md": [
|
||||
|
@ -614525,7 +614651,7 @@
|
|||
"support"
|
||||
],
|
||||
"docs/_writing-tests/assumptions.md": [
|
||||
"28a990a3f71964c2ae8dcade78c5ee28edadc40d",
|
||||
"d1ab75b0f1d396508ca002ee305c08cf459f22bb",
|
||||
"support"
|
||||
],
|
||||
"docs/_writing-tests/css-metadata.md": [
|
||||
|
@ -614541,7 +614667,7 @@
|
|||
"support"
|
||||
],
|
||||
"docs/_writing-tests/general-guidelines.md": [
|
||||
"ff099ddf0a534dbb2daf14e06460db9ceda14790",
|
||||
"a07d55b9e1ba751852709f31e3c58c10545aba03",
|
||||
"support"
|
||||
],
|
||||
"docs/_writing-tests/h2tests.md": [
|
||||
|
@ -614565,7 +614691,7 @@
|
|||
"support"
|
||||
],
|
||||
"docs/_writing-tests/reftests.md": [
|
||||
"f90d66dbd9148b747d95db72327b1820e4c36a0a",
|
||||
"f56a84af3a7915f66f82594f21b5dec2481a9e07",
|
||||
"support"
|
||||
],
|
||||
"docs/_writing-tests/rendering.md": [
|
||||
|
@ -614589,7 +614715,7 @@
|
|||
"support"
|
||||
],
|
||||
"docs/_writing-tests/testharness-api.md": [
|
||||
"657d3962c98978b4c697edc6815bde7fe2ba35c5",
|
||||
"ab9b398376a97ef81d368a0d0b5161751b185830",
|
||||
"support"
|
||||
],
|
||||
"docs/_writing-tests/testharness.md": [
|
||||
|
@ -642581,7 +642707,7 @@
|
|||
"reftest"
|
||||
],
|
||||
"infrastructure/reftest/size-ref.html": [
|
||||
"b2669612b79214a20f5e5901f36d5bf495bbaf6a",
|
||||
"bb792a3feb21cc0c03d0734e97f119dcce3dd10a",
|
||||
"support"
|
||||
],
|
||||
"infrastructure/reftest/size.html": [
|
||||
|
@ -656916,6 +657042,14 @@
|
|||
"bf996edf784890b51926a0aba316c9cb0fb74069",
|
||||
"reftest"
|
||||
],
|
||||
"quirks/historical/reference/vertical-align-in-quirks-ref.html": [
|
||||
"7bef765150113dff53a54d8ebdf547a4183b8793",
|
||||
"support"
|
||||
],
|
||||
"quirks/historical/vertical-align-in-quirks.html": [
|
||||
"c07672430442329a6387ee3b77adfbe82708b368",
|
||||
"reftest"
|
||||
],
|
||||
"quirks/line-height-calculation.html": [
|
||||
"7e7f03a99b9c2e399383a715f522346a37094835",
|
||||
"testharness"
|
||||
|
@ -656940,10 +657074,6 @@
|
|||
"159d9a52a01a0b328680a530603cb496ab2d5fcf",
|
||||
"support"
|
||||
],
|
||||
"quirks/reference/vertical-align-in-quirks-ref.html": [
|
||||
"2395923cd2c5d391f386bb9483178fa0e35f8d79",
|
||||
"support"
|
||||
],
|
||||
"quirks/support/test-ref-iframe.js": [
|
||||
"e5df41d4249bc93b7458774524bf90f0a6f36be7",
|
||||
"support"
|
||||
|
@ -657004,10 +657134,6 @@
|
|||
"f2f7eab4e33858b571344940c67de9b50e18e119",
|
||||
"support"
|
||||
],
|
||||
"quirks/vertical-align-in-quirks.html": [
|
||||
"1826d0152fb73c48238fb58ea6989fc270064296",
|
||||
"reftest"
|
||||
],
|
||||
"referrer-policy/META.yml": [
|
||||
"a622289c0562dbac99de0a9dbd3b9a70e0783923",
|
||||
"support"
|
||||
|
@ -681765,7 +681891,7 @@
|
|||
"support"
|
||||
],
|
||||
"tools/wptrunner/requirements_firefox.txt": [
|
||||
"656d57f4b200f3ac57efbc2b0b7ddbe4a880c57a",
|
||||
"d65b000205eb474fc17f168ebf2c9e72c4089918",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/requirements_ie.txt": [
|
||||
|
@ -681945,11 +682071,11 @@
|
|||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/browsers/fennec.py": [
|
||||
"b8e4ebc4aeb9574652ec7dcd83dd0eca6b78aa94",
|
||||
"45c83d9b816cc2b4bca26da896868408de7f273c",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/browsers/firefox.py": [
|
||||
"72d8f48bff7355a56bb8aec0524590fce6346824",
|
||||
"1d2286e614f0c3eb2573c8cba131ff16120a5b51",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/browsers/ie.py": [
|
||||
|
@ -682017,7 +682143,7 @@
|
|||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/executormarionette.py": [
|
||||
"5791cdae957b54031186cca0ec1359f12e08b1ce",
|
||||
"26beb194865587f56985aa5d72207a71c1858fc5",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/executoropera.py": [
|
||||
|
@ -682029,11 +682155,11 @@
|
|||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/executorselenium.py": [
|
||||
"1ec1393a26b3d360a0ce0d35d3c1367bc7a9f052",
|
||||
"21868421712994e83eb317f281c6cf0ff69f5229",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/executorservo.py": [
|
||||
"654b5733f09b0e8d3abe37efd8f812e6e8396dbe",
|
||||
"6f0052fd3a345e2191c67773f1b4e90cb77e859b",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/executorservodriver.py": [
|
||||
|
@ -682041,7 +682167,7 @@
|
|||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/executorwebdriver.py": [
|
||||
"92d5576a6e7156603c66589c255d1788e06c0e12",
|
||||
"3f8c2bb5a3f94a5230bf93e7e4192692df8f0ab3",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/executorwebkit.py": [
|
||||
|
@ -682073,7 +682199,7 @@
|
|||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/reftest.js": [
|
||||
"97b3cacafc286cd23e082f8024800bf2c29e6310",
|
||||
"1ba98c686f09c384b714bdc36f214558a82cf3ad",
|
||||
"support"
|
||||
],
|
||||
"tools/wptrunner/wptrunner/executors/runner.js": [
|
||||
|
@ -685097,7 +685223,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"wasm/jsapi/table/get-set.any.js": [
|
||||
"c9884d9ab359ba0ec19a599bccfc661e043c60d7",
|
||||
"ce9681142012bdbaf7e041607177f6deff425f9a",
|
||||
"testharness"
|
||||
],
|
||||
"wasm/jsapi/table/grow.any.js": [
|
||||
|
@ -685117,7 +685243,7 @@
|
|||
"support"
|
||||
],
|
||||
"wasm/jsapi/wasm-module-builder.js": [
|
||||
"e13f4157873baf0896f42b9fd340588f4453a14a",
|
||||
"d7dd08b2a603024e7fd002d2cc229a79726f1b06",
|
||||
"support"
|
||||
],
|
||||
"wasm/resources/load_wasm.js": [
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[insert-inline-in-blocks-n-inlines-begin-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[insert-inline-in-blocks-n-inlines-begin-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[insert-inline-in-blocks-n-inlines-end-001.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[insert-inline-in-blocks-n-inlines-end-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[insert-inline-in-blocks-n-inlines-middle-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[insert-inline-in-blocks-n-inlines-middle-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[c5525-fltmult-000.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-padding-bleed-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-padding-bleed-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-padding-bleed-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[background-size-028.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[background-size-030.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[flexbox_order-box.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[ttwf-reftest-flex-direction-row-reverse.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[ttwf-reftest-flex-order.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[font-variant-alternates-18.html]
|
||||
expected: FAIL
|
|
@ -509,3 +509,33 @@
|
|||
[text-indent percentage(%) / values]
|
||||
expected: FAIL
|
||||
|
||||
[height length(mm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[width length(in) / values]
|
||||
expected: FAIL
|
||||
|
||||
[height length(px) / values]
|
||||
expected: FAIL
|
||||
|
||||
[width length(pc) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-left length(pt) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-right length(ex) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-top length(px) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-right length(px) / values]
|
||||
expected: FAIL
|
||||
|
||||
[padding-right length(cm) / values]
|
||||
expected: FAIL
|
||||
|
||||
[width percentage(%) / values]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -74,3 +74,6 @@
|
|||
[opacity end]
|
||||
expected: FAIL
|
||||
|
||||
[word-spacing end]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
[user-select-valid.html]
|
||||
[e.style['user-select'\] = "contain" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['user-select'\] = "all" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['user-select'\] = "none" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['user-select'\] = "text" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['user-select'\] = "auto" should set the property value]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
[calc-background-position-002.html]
|
||||
[testing background-position: calc(18px - 7px) calc(19px - 7px)]
|
||||
expected: FAIL
|
||||
|
||||
[testing background-position: calc(2px + 3px) calc(4px + 5px)]
|
||||
expected: FAIL
|
||||
|
||||
[testing background-position: calc(6px + 21%) calc(7em + 22%)]
|
||||
expected: FAIL
|
||||
|
||||
[testing background-position: calc(100px / 4) calc(119px / 7)]
|
||||
expected: FAIL
|
||||
|
||||
[testing background-position: calc(-8px + 23%) calc(-9em + 24%)]
|
||||
expected: FAIL
|
||||
|
||||
[testing background-position: calc(4 * 5px) calc(6px * 4)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[calc-min-height.html]
|
||||
expected: FAIL
|
4
tests/wpt/metadata/css/css-values/calc-nesting.html.ini
Normal file
4
tests/wpt/metadata/css/css-values/calc-nesting.html.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[calc-nesting.html]
|
||||
[Nested calcs should work with layout]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
[calc-serialization-002.html]
|
||||
[testing calc(1em + 1.27cm + 13% + 3em)]
|
||||
expected: FAIL
|
||||
|
||||
[testing calc(25.4q + 1vh + 12%)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[calc-z-index-fractions-001.html]
|
||||
[testing z-index: calc(-3 / 2)]
|
||||
expected: FAIL
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1258: cp1258 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
@ -69,9 +69,6 @@
|
|||
[windows-1254: iso_8859-9 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1258: x-cp1258 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: windows-1254 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
@ -90,15 +87,9 @@
|
|||
[windows-1254: latin5 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1258: windows-1258 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1256: x-cp1256 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1255: x-cp1255 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1257: x-cp1257 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
@ -108,9 +99,6 @@
|
|||
[windows-1256: windows-1256 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[x-mac-cyrillic: x-mac-cyrillic (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1257: windows-1257 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
@ -126,5 +114,11 @@
|
|||
[windows-1254: iso-ir-148 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1254: csisolatin5 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[windows-1255: windows-1255 (XMLHttpRequest)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[single-byte-decoder.html?TextDecoder]
|
||||
|
|
|
@ -312,3 +312,6 @@
|
|||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -14,6 +14,3 @@
|
|||
[X-Content-Type-Options%3A%20%22nosniFF%22]
|
||||
expected: FAIL
|
||||
|
||||
[Content-Type-Options%3A%20nosniff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[bailout-exception-vs-return-xml.window.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -12,3 +12,6 @@
|
|||
[Verifies the resolution of entry.startTime is at least 5 microseconds.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Verifies the resolution of performance.now() is at least 5 microseconds.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
[No imports]
|
||||
expected: FAIL
|
||||
|
||||
[exports and imports]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[constructor.any.worker.html]
|
||||
[exports]
|
||||
|
@ -16,6 +13,3 @@
|
|||
[No imports]
|
||||
expected: FAIL
|
||||
|
||||
[exports and imports]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[get-set.any.worker.html]
|
||||
expected: ERROR
|
||||
[Setting out-of-range argument: NaN]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,12 +74,8 @@
|
|||
[Setting non-function]
|
||||
expected: FAIL
|
||||
|
||||
[Stray argument]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[get-set.any.html]
|
||||
expected: ERROR
|
||||
[Setting out-of-range argument: NaN]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -156,6 +151,3 @@
|
|||
[Setting non-function]
|
||||
expected: FAIL
|
||||
|
||||
[Stray argument]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[block_formatting_context_with_margin_a.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[inline_block_baseline_a.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[overconstrained_block.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[stacked_layers.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[transform_skew_a.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[transition_calc_implicit.html]
|
||||
expected: TIMEOUT
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
|
||||
#space { height: 1000px; }
|
||||
#space { height: 4000px; }
|
||||
#ancestor { position: relative; }
|
||||
#before, #anchor { height: 100px; }
|
||||
#anchor { background-color: green; }
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#changer { height: 1500px; }
|
||||
#anchor {
|
||||
width: 150px;
|
||||
height: 1000px;
|
||||
height: 4000px;
|
||||
background-color: pink;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
|
||||
body { height: 1000px; }
|
||||
body { height: 4000px; }
|
||||
div { height: 100px; }
|
||||
|
||||
</style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
|
||||
body { height: 1000px; }
|
||||
body { height: 4000px; }
|
||||
#outer { width: 300px; }
|
||||
#outer:after { content: " "; clear:both; display: table; }
|
||||
#float {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
|
||||
body { height: 1000px; }
|
||||
body { height: 4000px; }
|
||||
#outer { width: 300px; }
|
||||
#zeroheight { height: 0px; }
|
||||
#changer { height: 100px; background-color: red; }
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
|
||||
body { height: 1000px; margin: 0; }
|
||||
body { height: 4000px; margin: 0; }
|
||||
#fixed, #content { width: 200px; height: 100px; }
|
||||
#fixed { position: fixed; left: 100px; top: 50px; }
|
||||
#before { height: 50px; }
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
|
||||
body { height: 1000px }
|
||||
body { height: 4000px }
|
||||
#outer { line-height: 100px }
|
||||
#ib1, #ib2 { display: inline-block }
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<style>
|
||||
|
||||
#space {
|
||||
height: 1000px;
|
||||
height: 4000px;
|
||||
}
|
||||
#header {
|
||||
background-color: #F5B335;
|
||||
|
|
|
@ -32,9 +32,11 @@ html.vrl { writing-mode: vertical-rl; }
|
|||
.vpush { height: 80px !important; }
|
||||
.hpush { width: 70px !important; }
|
||||
|
||||
#anchor-container {
|
||||
display: inline-block;
|
||||
}
|
||||
#anchor {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
background-color: #8e8;
|
||||
min-width: 100px;
|
||||
min-height: 100px;
|
||||
|
@ -49,10 +51,12 @@ html.vrl { writing-mode: vertical-rl; }
|
|||
</style>
|
||||
<div id="container">
|
||||
<div id="block_pusher"></div><br>
|
||||
<div id="inline_pusher"></div><div id="anchor">
|
||||
<div id="inline_pusher"></div><div id="anchor-container">
|
||||
<div id="anchor">
|
||||
<div id="grower"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
// Tests that anchoring adjustments are only on the block layout axis and that
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
|
||||
body { height: 1000px }
|
||||
body { height: 4000px }
|
||||
#A, #B { width: 100px; background-color: #afa; }
|
||||
#B { height: 100px; }
|
||||
#inner { width: 100px; height: 100px; background-color: pink; }
|
||||
|
|
|
@ -7,7 +7,7 @@ body {
|
|||
position: absolute;
|
||||
font-size: 100px;
|
||||
width: 200px;
|
||||
height: 1000px;
|
||||
height: 4000px;
|
||||
line-height: 100px;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,28 +11,34 @@
|
|||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_valid_value("scroll-margin-top", "0", "0px");
|
||||
test_valid_value("scroll-margin-top", "-10px");
|
||||
test_valid_value("scroll-margin-top", "calc(2em + 3ex)");
|
||||
|
||||
|
||||
test_valid_value("scroll-margin-right", "0", "0px");
|
||||
test_valid_value("scroll-margin-right", "-10px");
|
||||
test_valid_value("scroll-margin-right", "calc(2em + 3ex)");
|
||||
|
||||
|
||||
test_valid_value("scroll-margin-bottom", "0", "0px");
|
||||
test_valid_value("scroll-margin-bottom", "-10px");
|
||||
test_valid_value("scroll-margin-bottom", "calc(2em + 3ex)");
|
||||
|
||||
|
||||
test_valid_value("scroll-margin-left", "0", "0px");
|
||||
test_valid_value("scroll-margin-left", "-10px");
|
||||
test_valid_value("scroll-margin-left", "calc(2em + 3ex)");
|
||||
|
||||
|
||||
test_valid_value("scroll-margin", "0", "0px");
|
||||
test_valid_value("scroll-margin", "-10px");
|
||||
test_valid_value("scroll-margin", "calc(2em + 3ex)");
|
||||
|
||||
test_valid_value("scroll-margin", "1px 2px");
|
||||
test_valid_value("scroll-margin", "1px 2px 3px");
|
||||
test_valid_value("scroll-margin", "1px 2px 3px 4px");
|
||||
test_valid_value("scroll-margin", "0 0 0 0", "0px");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -33,7 +33,7 @@ test_valid_value("scroll-padding-block", "calc(50% + 60px)");
|
|||
|
||||
test_valid_value("scroll-padding-block", "1px 2px");
|
||||
test_valid_value("scroll-padding-block", "1px auto");
|
||||
test_valid_value("scroll-padding-block", "auto auto");
|
||||
test_valid_value("scroll-padding-block", "auto auto", "auto");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -33,7 +33,7 @@ test_valid_value("scroll-padding-inline", "calc(50% + 60px)");
|
|||
|
||||
test_valid_value("scroll-padding-inline", "1px 2px");
|
||||
test_valid_value("scroll-padding-inline", "1px auto");
|
||||
test_valid_value("scroll-padding-inline", "auto auto");
|
||||
test_valid_value("scroll-padding-inline", "auto auto", "auto");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Scroll Snap Test: scroll-padding with invalid values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding">
|
||||
<meta name="assert" content="scroll-padding supports only the grammar '[ <length-percentage> | auto ]{1,4}'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_invalid_value("scroll-padding-top", "20");
|
||||
test_invalid_value("scroll-padding-top", "-20px");
|
||||
|
||||
|
||||
test_invalid_value("scroll-padding-right", "20");
|
||||
test_invalid_value("scroll-padding-right", "-20px");
|
||||
|
||||
|
||||
test_invalid_value("scroll-padding-bottom", "20");
|
||||
test_invalid_value("scroll-padding-bottom", "-20px");
|
||||
|
||||
|
||||
test_invalid_value("scroll-padding-left", "20");
|
||||
test_invalid_value("scroll-padding-left", "-20px");
|
||||
|
||||
|
||||
test_invalid_value("scroll-padding", "20");
|
||||
test_invalid_value("scroll-padding", "-20px");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -12,6 +12,7 @@
|
|||
<body>
|
||||
<script>
|
||||
test_valid_value("scroll-padding-top", "auto");
|
||||
test_valid_value("scroll-padding-top", "0", "0px");
|
||||
test_valid_value("scroll-padding-top", "10px");
|
||||
test_valid_value("scroll-padding-top", "20%");
|
||||
test_valid_value("scroll-padding-top", "calc(2em + 3ex)");
|
||||
|
@ -19,6 +20,7 @@ test_valid_value("scroll-padding-top", "calc(50% + 60px)");
|
|||
|
||||
|
||||
test_valid_value("scroll-padding-right", "auto");
|
||||
test_valid_value("scroll-padding-right", "0", "0px");
|
||||
test_valid_value("scroll-padding-right", "10px");
|
||||
test_valid_value("scroll-padding-right", "20%");
|
||||
test_valid_value("scroll-padding-right", "calc(2em + 3ex)");
|
||||
|
@ -26,6 +28,7 @@ test_valid_value("scroll-padding-right", "calc(50% + 60px)");
|
|||
|
||||
|
||||
test_valid_value("scroll-padding-bottom", "auto");
|
||||
test_valid_value("scroll-padding-bottom", "0", "0px");
|
||||
test_valid_value("scroll-padding-bottom", "10px");
|
||||
test_valid_value("scroll-padding-bottom", "20%");
|
||||
test_valid_value("scroll-padding-bottom", "calc(2em + 3ex)");
|
||||
|
@ -33,6 +36,7 @@ test_valid_value("scroll-padding-bottom", "calc(50% + 60px)");
|
|||
|
||||
|
||||
test_valid_value("scroll-padding-left", "auto");
|
||||
test_valid_value("scroll-padding-left", "0", "0px");
|
||||
test_valid_value("scroll-padding-left", "10px");
|
||||
test_valid_value("scroll-padding-left", "20%");
|
||||
test_valid_value("scroll-padding-left", "calc(2em + 3ex)");
|
||||
|
@ -41,6 +45,7 @@ test_valid_value("scroll-padding-left", "calc(50% + 60px)");
|
|||
|
||||
test_valid_value("scroll-padding", "auto");
|
||||
test_valid_value("scroll-padding", "10px");
|
||||
test_valid_value("scroll-padding", "0", "0px");
|
||||
test_valid_value("scroll-padding", "20%");
|
||||
test_valid_value("scroll-padding", "calc(2em + 3ex)");
|
||||
|
||||
|
@ -48,7 +53,8 @@ test_valid_value("scroll-padding", "1px 2px");
|
|||
test_valid_value("scroll-padding", "1px 2px 3%");
|
||||
test_valid_value("scroll-padding", "1px 2px 3% 4px");
|
||||
test_valid_value("scroll-padding", "1px auto");
|
||||
test_valid_value("scroll-padding", "auto auto auto auto");
|
||||
test_valid_value("scroll-padding", "0 0 0 0", "0px");
|
||||
test_valid_value("scroll-padding", "auto auto auto auto", "auto");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS UI Level 4: getComputedValue().userSelect</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#content-selection">
|
||||
<meta name="assert" content="user-select computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
<script>
|
||||
test_computed_value("user-select", "auto");
|
||||
test_computed_value("user-select", "text");
|
||||
test_computed_value("user-select", "none");
|
||||
test_computed_value("user-select", "contain");
|
||||
test_computed_value("user-select", "all");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS UI Level 4: parsing user-select with invalid values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#content-selection">
|
||||
<meta name="assert" content="user-select supports only the grammar 'auto | text | none | contain | all'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_invalid_value("user-select", "visible");
|
||||
test_invalid_value("user-select", "text contain");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS UI Level 4: parsing user-select with valid values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#content-selection">
|
||||
<meta name="assert" content="user-select supports the full grammar 'auto | text | none | contain | all'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_valid_value("user-select", "auto");
|
||||
test_valid_value("user-select", "text");
|
||||
test_valid_value("user-select", "none");
|
||||
test_valid_value("user-select", "contain");
|
||||
test_valid_value("user-select", "all");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values and Units Test: computed value of 'background-position' when specified with calc() function</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-3/#calc-computed-value">
|
||||
|
||||
<meta name="flags" content="">
|
||||
<meta content="This test verifies how 6 calc() functions are computed for 'background-position'." name="assert">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div id="target"></div>
|
||||
|
||||
<script>
|
||||
function startTesting()
|
||||
{
|
||||
|
||||
var targetElement = document.getElementById("target");
|
||||
|
||||
function verifyComputedStyle(property_name, initial_value, specified_value, expected_value, description)
|
||||
{
|
||||
|
||||
test(function()
|
||||
{
|
||||
|
||||
targetElement.style.setProperty(property_name, initial_value);
|
||||
|
||||
/*
|
||||
The purpose of the initial_value is to act as a fallback
|
||||
value in case the calc() function in the specified value
|
||||
fails or in case it generates an invalid value. Since we
|
||||
are running 6 consecutive tests on the same element,
|
||||
then it is necessary to 'reset' its property to an
|
||||
initial value.
|
||||
*/
|
||||
|
||||
targetElement.style.setProperty(property_name, specified_value);
|
||||
|
||||
assert_equals(getComputedStyle(targetElement)[property_name], expected_value);
|
||||
|
||||
}, description);
|
||||
}
|
||||
|
||||
/* verifyComputedStyle(property_name, initial_value, specified_value, expected_value, description) */
|
||||
|
||||
verifyComputedStyle("background-position", "initial", "calc(2px + 3px) calc(4px + 5px)", "5px 9px", "testing background-position: calc(2px + 3px) calc(4px + 5px)");
|
||||
|
||||
verifyComputedStyle("background-position", "initial", "calc(18px - 7px) calc(19px - 7px)", "11px 12px", "testing background-position: calc(18px - 7px) calc(19px - 7px)");
|
||||
|
||||
verifyComputedStyle("background-position", "initial", "calc(4 * 5px) calc(6px * 4)", "20px 24px", "testing background-position: calc(4 * 5px) calc(6px * 4)");
|
||||
|
||||
verifyComputedStyle("background-position", "initial", "calc(100px / 4) calc(119px / 7)", "25px 17px", "testing background-position: calc(100px / 4) calc(119px / 7)");
|
||||
|
||||
verifyComputedStyle("background-position", "initial", "calc(6px + 21%) calc(7em + 22%)", "calc(21% + 6px) calc(22% + 112px)", "testing background-position: calc(6px + 21%) calc(7em + 22%)");
|
||||
|
||||
/*
|
||||
"
|
||||
(...) background-position has layout-dependent behavior for
|
||||
percentage values, and thus does not resolve percentages
|
||||
until used-value time. Due to this, background-position
|
||||
computation preserves the percentage in a calc(). (...)
|
||||
"
|
||||
https://www.w3.org/TR/css-values-3/#calc-computed-value
|
||||
*/
|
||||
|
||||
verifyComputedStyle("background-position", "initial", "calc(-8px + 23%) calc(-9em + 24%)", "calc(23% - 8px) calc(24% - 144px)", "testing background-position: calc(-8px + 23%) calc(-9em + 24%)");
|
||||
|
||||
/* verifyComputedStyle(property_name, initial_value, specified_value, expected_value, description) */
|
||||
}
|
||||
|
||||
startTesting();
|
||||
|
||||
</script>
|
|
@ -0,0 +1,77 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values and Units Test: serialization of 'background-position' when specified with calc() function</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css4-values/#calc-serialize">
|
||||
|
||||
<meta name="flags" content="">
|
||||
<meta content="This test verifies how 6 calc() functions are serialized for 'background-position'." name="assert">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div id="target"></div>
|
||||
|
||||
<script>
|
||||
function startTesting()
|
||||
{
|
||||
|
||||
var targetElement = document.getElementById("target");
|
||||
|
||||
function verifySerialization(specified_value, serialization_expected, description)
|
||||
{
|
||||
|
||||
test(function()
|
||||
{
|
||||
|
||||
targetElement.style.backgroundPosition = specified_value;
|
||||
|
||||
assert_equals(targetElement.style.backgroundPosition, serialization_expected);
|
||||
|
||||
}, description);
|
||||
}
|
||||
|
||||
/*
|
||||
verifySerialization(specified_value, serialization_expected, description)
|
||||
*/
|
||||
|
||||
verifySerialization("calc(2px + 3px) calc(4px + 5px)", "calc(5px) calc(9px)", "testing background-position: calc(2px + 3px) calc(4px + 5px)");
|
||||
|
||||
verifySerialization("calc(18px - 7px) calc(19px - 7px)", "calc(11px) calc(12px)", "testing background-position: calc(18px - 7px) calc(19px - 7px)");
|
||||
|
||||
verifySerialization("calc(4 * 5px) calc(6px * 4)", "calc(20px) calc(24px)", "testing background-position: calc(4 * 5px) calc(6px * 4)");
|
||||
|
||||
verifySerialization("calc(100px / 4) calc(119px / 7)", "calc(25px) calc(17px)", "testing background-position: calc(100px / 4) calc(119px / 7)");
|
||||
|
||||
/*
|
||||
verifySerialization(specified_value, serialization_expected, description)
|
||||
*/
|
||||
|
||||
verifySerialization("calc(6px + 21%) calc(7em + 22%)", "calc(21% + 6px) calc(22% + 7em)", "testing background-position: calc(6px + 21%) calc(7em + 22%)");
|
||||
|
||||
verifySerialization("calc(-8px + 23%) calc(-9em + 24%)", "calc(23% - 8px) calc(24% - 9em)", "testing background-position: calc(-8px + 23%) calc(-9em + 24%)");
|
||||
|
||||
/*
|
||||
|
||||
"
|
||||
Sort the terms in the following order:
|
||||
|
||||
The number, if present
|
||||
|
||||
The percentage, if present
|
||||
|
||||
The dimensions, ordered by their units ASCII case-insensitive alphabetically
|
||||
"
|
||||
https://www.w3.org/TR/css-values-4/#math-function-serialize-a-summation
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
startTesting();
|
||||
|
||||
</script>
|
|
@ -0,0 +1,75 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values and Units Test: calc() function in 'min-height' and 'box-sizing: border-box' (complex)</title>
|
||||
|
||||
<!--
|
||||
|
||||
Original test is:
|
||||
|
||||
https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793f5b9668cc/third_party/WebKit/LayoutTests/css3/calc/calc-min-height.html
|
||||
|
||||
The original test is related to:
|
||||
|
||||
Issue 580508: Height of content changes after multiple reloads
|
||||
https://bugs.chromium.org/p/chromium/issues/detail?id=580508
|
||||
|
||||
-->
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-3/#calc-notation">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="This test checks how 'min-height' with calc(percentage) and 'box-sizing' are handled. The percentage in the calc() is calculated on the content box height of div#container.">
|
||||
|
||||
<style>
|
||||
div#container
|
||||
{
|
||||
border-bottom: transparent solid 100px;
|
||||
border-right: transparent solid 100px;
|
||||
height: 400px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
div#item
|
||||
{
|
||||
background-color: red;
|
||||
box-sizing: border-box;
|
||||
height: 50px;
|
||||
min-height: calc(50% - 100px);
|
||||
}
|
||||
|
||||
div#item > div
|
||||
{
|
||||
background-color: green;
|
||||
border-bottom: green solid 34px; /* arbitrary border-bottom-width value */
|
||||
border-top: green solid 12px; /* arbitrary border-top-width value */
|
||||
box-sizing: border-box;
|
||||
height: 17px;
|
||||
min-height: 100%; /* content height should be 100px - 34px - 12px == 54px */
|
||||
overflow-y: visible;
|
||||
/*
|
||||
If the content height of innermost div is taller
|
||||
than 54px, then a green rectangle (not a square)
|
||||
will be created.
|
||||
|
||||
If the content height of innermost div is less
|
||||
than 54px, then an horizontal stripe of red
|
||||
will become visible.
|
||||
*/
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.
|
||||
|
||||
<div id="container">
|
||||
|
||||
<div id="item">
|
||||
|
||||
<div></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values and Units Test: serialization of summation involving nested calc()</title>
|
||||
|
||||
<!--
|
||||
|
||||
This test is an adapted version of the portion of the original test
|
||||
|
||||
https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793f5b9668cc/third_party/WebKit/LayoutTests/css3/calc/calc-nesting.html
|
||||
|
||||
which required using property-parsing-test.js
|
||||
|
||||
-->
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-4/#math-function-simplify-an-expression">
|
||||
|
||||
<meta content="This test checks that how a summation involving one or more nested calc() is performed and serialized." name="assert">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div id="target"></div>
|
||||
|
||||
<script>
|
||||
function startTesting()
|
||||
{
|
||||
|
||||
var targetElement = document.getElementById("target");
|
||||
|
||||
function verifySerialization(specified_value, serialization_expected, description)
|
||||
{
|
||||
|
||||
test(function()
|
||||
{
|
||||
|
||||
targetElement.style.left = specified_value;
|
||||
|
||||
assert_equals(targetElement.style.left, serialization_expected);
|
||||
|
||||
}, description);
|
||||
}
|
||||
|
||||
verifySerialization("calc(20px + calc(80px))", "calc(100px)", "testing calc(20px + calc(80px))");
|
||||
|
||||
verifySerialization("calc(calc(100px))", "calc(100px)", "testing calc(calc(100px))");
|
||||
|
||||
verifySerialization("calc(calc(2) * calc(50px)", "calc(100px)", "testing calc(calc(2) * calc(50px)");
|
||||
|
||||
verifySerialization("calc(calc(150px*2/3)", "calc(100px)", "testing calc(calc(150px*2/3)");
|
||||
|
||||
verifySerialization("calc(calc(2 * calc(calc(3)) + 4) * 10px)", "calc(100px)", "testing calc(calc(2 * calc(calc(3)) + 4) * 10px)");
|
||||
|
||||
verifySerialization("calc(50px + calc(40%))", "calc(40% + 50px)", "testing calc(50px + calc(40%))");
|
||||
|
||||
/*
|
||||
|
||||
"
|
||||
Sort the terms in the following order:
|
||||
|
||||
The number, if present
|
||||
|
||||
The percentage, if present
|
||||
|
||||
The dimensions, ordered by their units ASCII case-insensitive alphabetically
|
||||
"
|
||||
https://www.w3.org/TR/css-values-4/#math-function-serialize-a-summation
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
startTesting();
|
||||
|
||||
</script>
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values and Units Test: nested calc() functions</title>
|
||||
|
||||
<!--
|
||||
|
||||
This test is the first portion of the original test
|
||||
|
||||
https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793f5b9668cc/third_party/WebKit/LayoutTests/css3/calc/calc-nesting.html
|
||||
|
||||
-->
|
||||
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-3/#calc-notation">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<style>
|
||||
#parent { width: 200px; }
|
||||
#div1 { width: calc(calc(50px)); }
|
||||
#div2 { width: calc(calc(60%) - 20px); }
|
||||
#div3 { width: calc(calc(3 * 25%)); }
|
||||
#div4 {
|
||||
--width: calc(10% + 30px);
|
||||
width: calc(2 * var(--width));
|
||||
}
|
||||
</style>
|
||||
<div id=parent>
|
||||
<div id=div1></div>
|
||||
<div id=div2></div>
|
||||
<div id=div3></div>
|
||||
<div id=div4></div>
|
||||
</div>
|
||||
<script>
|
||||
// Tests that require layout
|
||||
test(function(){
|
||||
assert_equals(getComputedStyle(div1).width, "50px");
|
||||
assert_equals(getComputedStyle(div2).width, "100px");
|
||||
assert_equals(getComputedStyle(div3).width, "150px");
|
||||
assert_equals(getComputedStyle(div4).width, "100px");
|
||||
}, "Nested calcs should work with layout");
|
||||
</script>
|
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values and Units: calc() serialization of a summation (complex)</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-4/#compat">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-4/#calc-serialize">
|
||||
|
||||
<meta content="This test verifies how 11 summations of mixed length units are serialized. Absolute length units, relative length units, font-relative length units, viewport-percentage length units and percentage units are tested." name="assert">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div id="target"></div>
|
||||
|
||||
<script>
|
||||
function startTesting()
|
||||
{
|
||||
|
||||
var targetElement = document.getElementById("target");
|
||||
|
||||
function verifySerialization(specified_value, serialization_expected, description)
|
||||
{
|
||||
|
||||
test(function()
|
||||
{
|
||||
|
||||
targetElement.style.height = specified_value;
|
||||
|
||||
assert_equals(targetElement.style.height, serialization_expected);
|
||||
|
||||
}, description);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
"
|
||||
Sort the terms in the following order:
|
||||
|
||||
The number, if present
|
||||
|
||||
The percentage, if present
|
||||
|
||||
The dimensions, ordered by their units ASCII case-insensitive alphabetically
|
||||
"
|
||||
https://www.w3.org/TR/css-values-4/#math-function-serialize-a-summation
|
||||
|
||||
cm centimeters 1cm = 96px/2.54
|
||||
mm millimeters 1mm = 1/10th of 1cm
|
||||
Q quarter-millimeters 1Q = 1/40th of 1cm
|
||||
in inches 1in = 2.54cm = 96px
|
||||
pc picas 1pc = 1/6th of 1in
|
||||
pt points 1pt = 1/72th of 1in
|
||||
px pixels 1px = 1/96th of 1in
|
||||
|
||||
*/
|
||||
|
||||
verifySerialization("calc(1vh + 2px + 3%)", "calc(3% + 2px + 1vh)", "testing calc(1vh + 2px + 3%)");
|
||||
|
||||
verifySerialization("calc(4px + 1vh)", "calc(4px + 1vh)", "testing calc(4px + 1vh)");
|
||||
|
||||
verifySerialization("calc(5px + 6em + 1vh)", "calc(6em + 5px + 1vh)", "testing calc(5px + 6em + 1vh)");
|
||||
|
||||
verifySerialization("calc(1vh - 7px)", "calc(-7px + 1vh)", "testing calc(1vh - 7px)");
|
||||
|
||||
verifySerialization("calc(-8px + 9em + 1vh)", "calc(9em - 8px + 1vh)", "testing calc(-8px + 9em + 1vh)");
|
||||
|
||||
verifySerialization("calc(1pc + 1in + 1vh + 10%)", "calc(10% + 112px + 1vh)", "testing calc(1pc + 1in + 1vh + 10%)");
|
||||
|
||||
/* verifySerialization(specified_value, serialization_expected, description) */
|
||||
|
||||
verifySerialization("calc(25.4q + 1vh + 12%)", "calc(12% + 24px + 1vh)", "testing calc(25.4q + 1vh + 12%)");
|
||||
|
||||
verifySerialization("calc(1em + 1.27cm + 13% + 3em)", "calc(13% + 4em + 48px)", "testing calc(1em + 1.27cm + 13% + 3em)");
|
||||
|
||||
verifySerialization("calc(1vmin - 14%)", "calc(-14% + 1vmin)", "testing calc(1vmin - 14%)");
|
||||
|
||||
verifySerialization("calc(15vw + 16vmin - 17vh)", "calc(-17vh + 16vmin + 15vw)", "testing calc(15vw + 16vmin - 17vh)");
|
||||
|
||||
verifySerialization("calc(-80px + 25.4mm)", "calc(16px)", "testing calc(-80px + 25.4mm)");
|
||||
|
||||
/*
|
||||
This calc(-80px + 25.4mm) test is on purpose last. We want the
|
||||
div#target to occupy 16px and to not cause document box height
|
||||
to be unneedlessly tall.
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
startTesting();
|
||||
|
||||
</script>
|
|
@ -0,0 +1,59 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values and Units Test: computed value of 'z-index' when specified with calc() function and fractional values</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-4/#calc-range">
|
||||
|
||||
<meta name="flags" content="">
|
||||
<meta content="This test verifies how 2 calc() functions are computed for 'z-index' when involved expressions end up being numbers halfway between adjacent integers." name="assert">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div id="target"></div>
|
||||
|
||||
<script>
|
||||
function startTesting()
|
||||
{
|
||||
|
||||
var targetElement = document.getElementById("target");
|
||||
|
||||
function verifyComputedStyle(property_name, initial_value, specified_value, expected_value, description)
|
||||
{
|
||||
|
||||
test(function()
|
||||
{
|
||||
|
||||
targetElement.style.setProperty(property_name, initial_value);
|
||||
|
||||
/*
|
||||
The purpose of the initial_value is to act as a fallback
|
||||
value in case the calc() function in the specified value
|
||||
fails or in case it generates an invalid value. Since we
|
||||
are running 2 consecutive tests on the same element,
|
||||
then it is necessary to reset its property to an initial
|
||||
value.
|
||||
*/
|
||||
|
||||
targetElement.style.setProperty(property_name, specified_value);
|
||||
|
||||
assert_equals(getComputedStyle(targetElement)[property_name], expected_value);
|
||||
|
||||
}, description);
|
||||
}
|
||||
|
||||
/* verifyComputedStyle(property_name, initial_value, specified_value, expected_value, description) */
|
||||
|
||||
verifyComputedStyle("z-index", "auto", "calc(3 / 2)", "2", "testing z-index: calc(3 / 2)");
|
||||
|
||||
verifyComputedStyle("z-index", "auto", "calc(-3 / 2)", "-1", "testing z-index: calc(-3 / 2)");
|
||||
|
||||
}
|
||||
|
||||
startTesting();
|
||||
|
||||
</script>
|
|
@ -0,0 +1,80 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Values Test: percentages in calc() and computed border-radius values</title>
|
||||
|
||||
<!--
|
||||
|
||||
Bugzilla bug report 1516454: Computed value of border-radius with calc(percentage) is incorrect
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=1516454
|
||||
|
||||
-->
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-values-3/#calc-computed-value">
|
||||
|
||||
<style>
|
||||
div#target
|
||||
{
|
||||
border: black solid 5px;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<div id="log"></div>
|
||||
|
||||
<div id="target"></div>
|
||||
|
||||
<script>
|
||||
function startTesting()
|
||||
{
|
||||
|
||||
var targetElement = document.getElementById("target");
|
||||
|
||||
function compareValue(property_name, calcValue, expectedValue, description)
|
||||
{
|
||||
|
||||
test(function()
|
||||
{
|
||||
|
||||
targetElement.style.setProperty(property_name, "initial");
|
||||
|
||||
targetElement.style.setProperty(property_name, calcValue);
|
||||
|
||||
var computedCalcValue = getComputedStyle(targetElement)[property_name];
|
||||
|
||||
targetElement.style.setProperty(property_name, expectedValue);
|
||||
|
||||
var computedExpectedValue = getComputedStyle(targetElement)[property_name];
|
||||
|
||||
assert_equals(computedCalcValue, computedExpectedValue);
|
||||
|
||||
}, description);
|
||||
}
|
||||
|
||||
compareValue("border-top-left-radius", "calc(50%)", "50%", "simple percentage conversion test 1");
|
||||
|
||||
compareValue("border-top-right-radius", "calc(50%)", "50%", "simple percentage conversion test 2");
|
||||
|
||||
compareValue("border-bottom-left-radius", "calc(50%)", "50%", "simple percentage conversion test 3");
|
||||
|
||||
compareValue("border-bottom-right-radius", "calc(50%)", "50%", "simple percentage conversion test 4");
|
||||
|
||||
compareValue("border-top-left-radius", "calc(50%) calc(25%)", "50% 25%", "percentage conversion test 5");
|
||||
|
||||
compareValue("border-top-right-radius", "calc(50%) calc(25%)", "50% 25%", "percentage conversion test 6");
|
||||
|
||||
compareValue("border-bottom-left-radius", "calc(50%) calc(25%)", "50% 25%", "percentage conversion test 7");
|
||||
|
||||
compareValue("border-bottom-right-radius", "calc(50%) calc(25%)", "50% 25%", "percentage conversion test 8");
|
||||
}
|
||||
|
||||
startTesting();
|
||||
|
||||
</script>
|
|
@ -110,7 +110,7 @@ the same way as the test.
|
|||
|
||||
<label>
|
||||
<input type="checkbox">
|
||||
The test and reference render within a 600x600 viewport, only displaying
|
||||
The test and reference render within a 800x600 viewport, only displaying
|
||||
scrollbars if their presence is being tested.
|
||||
</label>
|
||||
|
||||
|
@ -180,7 +180,7 @@ several minutes thinking or asking questions.
|
|||
|
||||
<label>
|
||||
<input type="checkbox">
|
||||
The test renders within a 600x600 viewport, only displaying scrollbars if their
|
||||
The test renders within a 800x600 viewport, only displaying scrollbars if their
|
||||
presence is being tested.
|
||||
</label>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ The tests make a number of assumptions of the user agent, and new
|
|||
tests can freely rely on these assumptions being true:
|
||||
|
||||
* The device is a full-color device.
|
||||
* The device has a viewport width of at least 600px.
|
||||
* The device has a viewport width of at least 800px.
|
||||
* The UA imposes no minimum font size.
|
||||
* The `medium` `font-size` computes to 16px.
|
||||
* The canvas background is `white`.
|
||||
|
|
|
@ -90,7 +90,7 @@ headers.
|
|||
### Be Short
|
||||
|
||||
Tests should be as short as possible. For reftests in particular
|
||||
scrollbars at 600×600px window size must be avoided unless scrolling
|
||||
scrollbars at 800×600px window size must be avoided unless scrolling
|
||||
behavior is specifically being tested. For all tests extraneous
|
||||
elements on the page should be avoided so it is clear what is part of
|
||||
the test (for a typical testharness test, the only content on the page
|
||||
|
|
|
@ -27,7 +27,7 @@ tested. It also contains a `link` element with `rel="match"` or
|
|||
`rel="mismatch"` and `href` attribute pointing to the *reference*
|
||||
file, e.g. `<link rel=match href=references/green-box-ref.html>`. A
|
||||
`match` test only passes if the two files render pixel-for-pixel
|
||||
identically within a 600x600 window *including* scroll-bars if
|
||||
identically within a 800x600 window *including* scroll-bars if
|
||||
present; a `mismatch` test only passes if they *don't* render
|
||||
identically.
|
||||
|
||||
|
|
|
@ -212,6 +212,8 @@ promise_test(function(t) {
|
|||
}, "Another example");
|
||||
```
|
||||
|
||||
## `EventWatcher` ##
|
||||
|
||||
`EventWatcher` is a constructor function that allows DOM events to be handled
|
||||
using Promises, which can make it a lot easier to test a very specific series
|
||||
of events, including ensuring that unexpected events are not fired at any point.
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<!doctype html>
|
||||
<p>innerWidth x innerHeight: <span>600x600</span></p>
|
||||
<p>innerWidth x innerHeight: <span>800x600</span></p>
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
font-size: 10px;
|
||||
line-height: 50px;
|
||||
border: 1px solid blue;
|
||||
}
|
||||
img {
|
||||
width: 1em;
|
||||
height: 2em;
|
||||
background: orange;
|
||||
border: 1px solid black;
|
||||
}
|
||||
.text-top {
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.text-bottom {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
.top {
|
||||
vertical-align: top;
|
||||
}
|
||||
.bottom {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div>
|
||||
<img class="text-top" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-bottom" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="top" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="bottom" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-top" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-bottom" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="top" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="bottom" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
</body>
|
|
@ -30,27 +30,27 @@ img {
|
|||
</style>
|
||||
<body>
|
||||
<div>
|
||||
<img class="text-top" src="../css/support/60x60-red.png">Y
|
||||
<img class="text-top" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-bottom" src="../css/support/60x60-red.png">Y
|
||||
<img class="text-bottom" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="top" src="../css/support/60x60-red.png">Y
|
||||
<img class="top" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="bottom" src="../css/support/60x60-red.png">Y
|
||||
<img class="bottom" src="/css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-top" src="../css/support/60x60-red.png"><span>Y</span>
|
||||
<img class="text-top" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-bottom" src="../css/support/60x60-red.png"><span>Y</span>
|
||||
<img class="text-bottom" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="top" src="../css/support/60x60-red.png"><span>Y</span>
|
||||
<img class="top" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="bottom" src="../css/support/60x60-red.png"><span>Y</span>
|
||||
<img class="bottom" src="/css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
</body>
|
|
@ -1,52 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
font-size: 10px;
|
||||
line-height: 50px;
|
||||
border: 1px solid blue;
|
||||
}
|
||||
img {
|
||||
width: 1em;
|
||||
height: 2em;
|
||||
background: orange;
|
||||
border: 1px solid black;
|
||||
}
|
||||
.text-top {
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.text-bottom {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
.top {
|
||||
vertical-align: top;
|
||||
}
|
||||
.bottom {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div>
|
||||
<img class="text-top" src="../../css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-bottom" src="../../css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="top" src="../../css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="bottom" src="../../css/support/60x60-red.png">Y
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-top" src="../../css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="text-bottom" src="../../css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="top" src="../../css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
<div>
|
||||
<img class="bottom" src="../../css/support/60x60-red.png"><span>Y</span>
|
||||
</div>
|
||||
</body>
|
|
@ -1,7 +1,7 @@
|
|||
marionette_driver==2.7.0
|
||||
mozprofile==2.2.0
|
||||
mozprocess==1.0.0
|
||||
mozcrash == 1.0
|
||||
mozcrash==1.1.0
|
||||
mozrunner==7.3.0
|
||||
mozleak==0.2
|
||||
mozinstall==2.0.0
|
||||
|
|
|
@ -146,7 +146,7 @@ class FennecBrowser(FirefoxBrowser):
|
|||
"network.preload": True})
|
||||
if self.test_type == "reftest":
|
||||
self.logger.info("Setting android reftest preferences")
|
||||
self.profile.set_preferences({"browser.viewport.desktopWidth": 600,
|
||||
self.profile.set_preferences({"browser.viewport.desktopWidth": 800,
|
||||
# Disable high DPI
|
||||
"layout.css.devPixelsPerPx": "1.0",
|
||||
# Ensure that the full browser element
|
||||
|
|
|
@ -87,6 +87,7 @@ def browser_kwargs(test_type, run_info_data, config, **kwargs):
|
|||
"stylo_threads": kwargs["stylo_threads"],
|
||||
"chaos_mode_flags": kwargs["chaos_mode_flags"],
|
||||
"config": config,
|
||||
"browser_channel": kwargs["browser_channel"],
|
||||
"headless": kwargs["headless"]}
|
||||
|
||||
|
||||
|
@ -187,7 +188,7 @@ class FirefoxBrowser(Browser):
|
|||
symbols_path=None, stackwalk_binary=None, certutil_binary=None,
|
||||
ca_certificate_path=None, e10s=False, lsan_dir=None, stackfix_dir=None,
|
||||
binary_args=None, timeout_multiplier=None, leak_check=False, asan=False,
|
||||
stylo_threads=1, chaos_mode_flags=None, config=None, headless=None, **kwargs):
|
||||
stylo_threads=1, chaos_mode_flags=None, config=None, browser_channel="nightly", headless=None, **kwargs):
|
||||
Browser.__init__(self, logger)
|
||||
self.binary = binary
|
||||
self.prefs_root = prefs_root
|
||||
|
@ -224,6 +225,7 @@ class FirefoxBrowser(Browser):
|
|||
self.lsan_handler = None
|
||||
self.stylo_threads = stylo_threads
|
||||
self.chaos_mode_flags = chaos_mode_flags
|
||||
self.browser_channel = browser_channel
|
||||
self.headless = headless
|
||||
|
||||
def settings(self, test):
|
||||
|
@ -326,6 +328,9 @@ class FirefoxBrowser(Browser):
|
|||
if os.path.isfile(profiles):
|
||||
with open(profiles, 'r') as fh:
|
||||
for name in json.load(fh)['web-platform-tests']:
|
||||
if self.browser_channel in (None, 'nightly'):
|
||||
pref_paths.append(os.path.join(self.prefs_root, name, 'user.js'))
|
||||
elif name != 'unittest-features':
|
||||
pref_paths.append(os.path.join(self.prefs_root, name, 'user.js'))
|
||||
else:
|
||||
# Old preference files used before the creation of profiles.json (remove when no longer supported)
|
||||
|
|
|
@ -868,7 +868,9 @@ class InternalRefTestImplementation(object):
|
|||
{"test": self.executor.test_url(test),
|
||||
"references": references,
|
||||
"expected": test.expected(),
|
||||
"timeout": timeout})["value"]
|
||||
"timeout": timeout,
|
||||
"width": 800,
|
||||
"height": 600})["value"]
|
||||
return rv
|
||||
|
||||
def get_references(self, node):
|
||||
|
|
|
@ -372,7 +372,7 @@ class SeleniumRefTestExecutor(RefTestExecutor):
|
|||
"""return [window.outerWidth - window.innerWidth,
|
||||
window.outerHeight - window.innerHeight];"""
|
||||
)
|
||||
self.protocol.webdriver.set_window_rect(0, 0, 600 + width_offset, 600 + height_offset)
|
||||
self.protocol.webdriver.set_window_rect(0, 0, 800 + width_offset, 600 + height_offset)
|
||||
|
||||
result = self.implementation.run_test(test)
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ class ServoRefTestExecutor(ProcessTestExecutor):
|
|||
for pref, value in test.environment.get('prefs', {}).iteritems():
|
||||
command += ["--pref", "%s=%s" % (pref, value)]
|
||||
|
||||
command += ["--resolution", viewport_size or "600x600"]
|
||||
command += ["--resolution", viewport_size or "800x600"]
|
||||
|
||||
if self.browser.ca_certificate_path:
|
||||
command += ["--certificate-path", self.browser.ca_certificate_path]
|
||||
|
|
|
@ -406,7 +406,7 @@ class WebDriverRefTestExecutor(RefTestExecutor):
|
|||
window.outerHeight - window.innerHeight];"""
|
||||
)
|
||||
self.protocol.webdriver.window.position = (0, 0)
|
||||
self.protocol.webdriver.window.size = (600 + width_offset, 600 + height_offset)
|
||||
self.protocol.webdriver.window.size = (800 + width_offset, 600 + height_offset)
|
||||
|
||||
result = self.implementation.run_test(test)
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
var win = window.open("about:blank", "test", "left=0,top=0,width=600,height=600");
|
||||
var win = window.open("about:blank", "test", "left=0,top=0,width=800,height=600");
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// META: script=/wasm/jsapi/wasm-module-builder.js
|
||||
// META: script=assertions.js
|
||||
|
||||
let functions;
|
||||
let functions = {};
|
||||
setup(() => {
|
||||
const builder = new WasmModuleBuilder();
|
||||
|
||||
|
|
|
@ -98,6 +98,12 @@ class WasmFunctionBuilder {
|
|||
}
|
||||
|
||||
addBody(body) {
|
||||
const bodyCopy = body.slice();
|
||||
bodyCopy.push(kExprEnd);
|
||||
return this.addBodyWithEnd(bodyCopy);
|
||||
}
|
||||
|
||||
addBodyWithEnd(body) {
|
||||
this.body = body;
|
||||
return this;
|
||||
}
|
||||
|
@ -262,6 +268,11 @@ class WasmModuleBuilder {
|
|||
return this.setTableBounds(length);
|
||||
}
|
||||
|
||||
// TODO(ssauleau): legacy, remove this
|
||||
setTableLength(min, max = undefined) {
|
||||
return this.setTableBounds(min, max);
|
||||
}
|
||||
|
||||
toArray(debug = false) {
|
||||
let binary = new Binary;
|
||||
let wasm = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue