Update web-platform-tests to revision d04c0d50dbbf7752c27957005a5a659701b781ad

This commit is contained in:
WPT Sync Bot 2018-02-15 20:09:00 -05:00
parent ff58cb0a3f
commit 44c252aede
56 changed files with 1921 additions and 67 deletions

View file

@ -50216,7 +50216,7 @@
"/css/CSS2/fonts/font-weight-rule-005.xht",
[
[
"/css/CSS2/fonts/font-weight-bold-ref.html",
"/css/CSS2/fonts/font-weight-900-ref.html",
"=="
]
],
@ -50240,7 +50240,7 @@
"/css/CSS2/fonts/font-weight-rule-007.xht",
[
[
"/css/CSS2/fonts/font-weight-normal-ref.html",
"/css/CSS2/fonts/font-weight-100-ref.html",
"=="
]
],
@ -103155,6 +103155,18 @@
{}
]
],
"css/css-cascade/important-prop.html": [
[
"/css/css-cascade/important-prop.html",
[
[
"/css/css-cascade/important-prop-ref.html",
"=="
]
],
{}
]
],
"css/css-cascade/initial-color-background-001.html": [
[
"/css/css-cascade/initial-color-background-001.html",
@ -118427,6 +118439,102 @@
{}
]
],
"css/css-multicol/multicol-breaking-000.html": [
[
"/css/css-multicol/multicol-breaking-000.html",
[
[
"/css/css-multicol/multicol-breaking-000-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-breaking-001.html": [
[
"/css/css-multicol/multicol-breaking-001.html",
[
[
"/css/css-multicol/multicol-breaking-001-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-breaking-002.html": [
[
"/css/css-multicol/multicol-breaking-002.html",
[
[
"/css/css-multicol/multicol-breaking-002-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-breaking-003.html": [
[
"/css/css-multicol/multicol-breaking-003.html",
[
[
"/css/css-multicol/multicol-breaking-003-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-000.html": [
[
"/css/css-multicol/multicol-breaking-nobackground-000.html",
[
[
"/css/css-multicol/multicol-breaking-nobackground-000-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-001.html": [
[
"/css/css-multicol/multicol-breaking-nobackground-001.html",
[
[
"/css/css-multicol/multicol-breaking-nobackground-001-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-002.html": [
[
"/css/css-multicol/multicol-breaking-nobackground-002.html",
[
[
"/css/css-multicol/multicol-breaking-nobackground-002-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-003.html": [
[
"/css/css-multicol/multicol-breaking-nobackground-003.html",
[
[
"/css/css-multicol/multicol-breaking-nobackground-003-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-clip-001.xht": [
[
"/css/css-multicol/multicol-clip-001.xht",
@ -219375,6 +219483,16 @@
{}
]
],
"css/CSS2/fonts/font-weight-100-ref.html": [
[
{}
]
],
"css/CSS2/fonts/font-weight-900-ref.html": [
[
{}
]
],
"css/CSS2/fonts/font-weight-bold-ref.html": [
[
{}
@ -235255,6 +235373,11 @@
{}
]
],
"css/css-cascade/important-prop-ref.html": [
[
{}
]
],
"css/css-cascade/initial-color-background-001-ref.html": [
[
{}
@ -246325,6 +246448,46 @@
{}
]
],
"css/css-multicol/multicol-breaking-000-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-breaking-001-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-breaking-002-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-breaking-003-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-000-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-001-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-002-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-breaking-nobackground-003-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-clip-001-ref.xht": [
[
{}
@ -256535,6 +256698,11 @@
{}
]
],
"css/css-values/urls/support/empty-urls.css": [
[
{}
]
],
"css/css-values/vh-calc-support.html": [
[
{}
@ -269880,6 +270048,26 @@
{}
]
],
"fetch/corb/resources/css-mislabeled-as-html-nosniff.css": [
[
{}
]
],
"fetch/corb/resources/css-mislabeled-as-html-nosniff.css.headers": [
[
{}
]
],
"fetch/corb/resources/css-mislabeled-as-html.css": [
[
{}
]
],
"fetch/corb/resources/css-mislabeled-as-html.css.headers": [
[
{}
]
],
"fetch/corb/resources/css-with-json-parser-breaker.css": [
[
{}
@ -308198,6 +308386,30 @@
{}
]
],
"css/CSS2/floats/zero-space-between-floats-001.html": [
[
"/css/CSS2/floats/zero-space-between-floats-001.html",
{}
]
],
"css/CSS2/floats/zero-space-between-floats-002.html": [
[
"/css/CSS2/floats/zero-space-between-floats-002.html",
{}
]
],
"css/CSS2/floats/zero-space-between-floats-003.html": [
[
"/css/CSS2/floats/zero-space-between-floats-003.html",
{}
]
],
"css/CSS2/floats/zero-space-between-floats-004.html": [
[
"/css/CSS2/floats/zero-space-between-floats-004.html",
{}
]
],
"css/compositing/mix-blend-mode/mix-blend-mode-creates-stacking-context.html": [
[
"/css/compositing/mix-blend-mode/mix-blend-mode-creates-stacking-context.html",
@ -313782,12 +313994,36 @@
{}
]
],
"css/css-typed-om/the-stylepropertymap/properties/vertical-align.html": [
[
"/css/css-typed-om/the-stylepropertymap/properties/vertical-align.html",
{}
]
],
"css/css-typed-om/the-stylepropertymap/properties/visibility.html": [
[
"/css/css-typed-om/the-stylepropertymap/properties/visibility.html",
{}
]
],
"css/css-typed-om/the-stylepropertymap/properties/white-space.html": [
[
"/css/css-typed-om/the-stylepropertymap/properties/white-space.html",
{}
]
],
"css/css-typed-om/the-stylepropertymap/properties/width.html": [
[
"/css/css-typed-om/the-stylepropertymap/properties/width.html",
{}
]
],
"css/css-typed-om/the-stylepropertymap/properties/z-index.html": [
[
"/css/css-typed-om/the-stylepropertymap/properties/z-index.html",
{}
]
],
"css/css-ui/box-sizing-027.html": [
[
"/css/css-ui/box-sizing-027.html",
@ -313890,6 +314126,12 @@
{}
]
],
"css/css-values/urls/empty.html": [
[
"/css/css-values/urls/empty.html",
{}
]
],
"css/css-values/viewport-relative-lengths-scaled-viewport.html": [
[
"/css/css-values/viewport-relative-lengths-scaled-viewport.html",
@ -321536,12 +321778,6 @@
{}
]
],
"fetch/corb/css-with-json-parser-breaker.sub.html": [
[
"/fetch/corb/css-with-json-parser-breaker.sub.html",
{}
]
],
"fetch/corb/script-html-correctly-labeled.tentative.sub.html": [
[
"/fetch/corb/script-html-correctly-labeled.tentative.sub.html",
@ -321560,6 +321796,30 @@
{}
]
],
"fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html": [
[
"/fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html",
{}
]
],
"fetch/corb/style-css-mislabeled-as-html.sub.html": [
[
"/fetch/corb/style-css-mislabeled-as-html.sub.html",
{}
]
],
"fetch/corb/style-css-with-json-parser-breaker.sub.html": [
[
"/fetch/corb/style-css-with-json-parser-breaker.sub.html",
{}
]
],
"fetch/corb/style-html-correctly-labeled.sub.html": [
[
"/fetch/corb/style-html-correctly-labeled.sub.html",
{}
]
],
"fetch/data-urls/base64.any.js": [
[
"/fetch/data-urls/base64.any.html",
@ -361788,9 +362048,9 @@
{}
]
],
"webrtc/simplecall.html": [
"webrtc/simplecall.https.html": [
[
"/webrtc/simplecall.html",
"/webrtc/simplecall.https.html",
{}
]
],
@ -436621,6 +436881,22 @@
"7287e2ce42cab8fda1f63e97c98b664f0b49e9fb",
"reftest"
],
"css/CSS2/floats/zero-space-between-floats-001.html": [
"59cd6c4ac06a611570a3ec21bac7289345b184f7",
"testharness"
],
"css/CSS2/floats/zero-space-between-floats-002.html": [
"5c76122d32946ae2edddfd6db3359a8f78d1481b",
"testharness"
],
"css/CSS2/floats/zero-space-between-floats-003.html": [
"1b797600103f3804777ee256c1cf6e7a6d3e3a1a",
"testharness"
],
"css/CSS2/floats/zero-space-between-floats-004.html": [
"c9c5728c3a45287019bbb02614229920c42518eb",
"testharness"
],
"css/CSS2/fonts/font-001.xht": [
"c255355156c612be7aef42ea77d8f0f37f779c68",
"visual"
@ -437885,6 +438161,14 @@
"7ca13aa6842baeeca15685f76ca9bf98f91cf790",
"visual"
],
"css/CSS2/fonts/font-weight-100-ref.html": [
"e23d6678e9351e7714bee0326d0bfbdccce8b986",
"support"
],
"css/CSS2/fonts/font-weight-900-ref.html": [
"160d6ccc09eb3a122c35ede1904c9ef935397ebf",
"support"
],
"css/CSS2/fonts/font-weight-applies-to-001.xht": [
"8bd64c85e94165c213139ccf731ff15589553768",
"reftest"
@ -437966,7 +438250,7 @@
"reftest"
],
"css/CSS2/fonts/font-weight-rule-005.xht": [
"b699094914be789b0c75101461bee49ca00d7b8b",
"c0850fb6740c914d8d86a02bdb0f8358805acd44",
"reftest"
],
"css/CSS2/fonts/font-weight-rule-006.xht": [
@ -437974,7 +438258,7 @@
"reftest"
],
"css/CSS2/fonts/font-weight-rule-007.xht": [
"c35924d1e2817ddf468638d2bbb12f81f26bfbf9",
"4c894400b5aa931ea563d243c306c5aeb7857a15",
"reftest"
],
"css/CSS2/fonts/font-weight-rule-008.xht": [
@ -480441,6 +480725,14 @@
"1013a238512119cb926cf98db0e3cb2e33143ec3",
"reftest"
],
"css/css-cascade/important-prop-ref.html": [
"3633b0204ab1cb13060656736d05c8666a5886d7",
"support"
],
"css/css-cascade/important-prop.html": [
"8d20edef496f5d74a461ee9d27a2c0525db8b6c8",
"reftest"
],
"css/css-cascade/inherit-initial.html": [
"67ecb845c4bcdacc8185b0f78d36856f9a408342",
"testharness"
@ -486550,7 +486842,7 @@
"testharness"
],
"css/css-fonts/OWNERS": [
"1c72d614a2fa507e3c4c127a3ac36f0f9e157460",
"4c9aabb4fac2a558b0828b50e2b06e01e43dd4b4",
"support"
],
"css/css-fonts/README": [
@ -497193,6 +497485,70 @@
"435a5b7f4bb2013c837b0bd67b16e67fa0e609f4",
"reftest"
],
"css/css-multicol/multicol-breaking-000-ref.html": [
"e4a83f257c494f08206fe14fe53ceff1f26883ae",
"support"
],
"css/css-multicol/multicol-breaking-000.html": [
"ee027a791d82812073cffcf2fe06f3eaadd946b2",
"reftest"
],
"css/css-multicol/multicol-breaking-001-ref.html": [
"0ab9efdf0367c6a289aa98346f7f6f41c18f7eca",
"support"
],
"css/css-multicol/multicol-breaking-001.html": [
"6e04ac6aade0f5b8ef2f5e559cb50680e426c768",
"reftest"
],
"css/css-multicol/multicol-breaking-002-ref.html": [
"340e9ce51e8f1601978ce4f6e68bedd2bc9793fa",
"support"
],
"css/css-multicol/multicol-breaking-002.html": [
"0426728e14022bc60603c8b81198b3955813b78c",
"reftest"
],
"css/css-multicol/multicol-breaking-003-ref.html": [
"914f428c32c0e51c1c7da2b8775391863b011a48",
"support"
],
"css/css-multicol/multicol-breaking-003.html": [
"1259f387deefa1d4bf3cddfa89473fb2810e5d26",
"reftest"
],
"css/css-multicol/multicol-breaking-nobackground-000-ref.html": [
"80a57a294a52ce1262e24e450767d1e35b478752",
"support"
],
"css/css-multicol/multicol-breaking-nobackground-000.html": [
"da117cc772929da54f6b12498b29badb0c46c7b6",
"reftest"
],
"css/css-multicol/multicol-breaking-nobackground-001-ref.html": [
"965bb4a85e255c5ba4a009519752482fb428e94e",
"support"
],
"css/css-multicol/multicol-breaking-nobackground-001.html": [
"8673ecc308c4d1993adc394d17b1fb4cd1388670",
"reftest"
],
"css/css-multicol/multicol-breaking-nobackground-002-ref.html": [
"fed97b08e699c5a691c4053b14182d0b37a923d7",
"support"
],
"css/css-multicol/multicol-breaking-nobackground-002.html": [
"aa88dbcdf1543eaf8b4eef15bd2e11e80fbaebdc",
"reftest"
],
"css/css-multicol/multicol-breaking-nobackground-003-ref.html": [
"c21a6843d46d3915db875da105ac77e509a0d747",
"support"
],
"css/css-multicol/multicol-breaking-nobackground-003.html": [
"221c18f9d59802c2b41372425dc2839c09556e70",
"reftest"
],
"css/css-multicol/multicol-clip-001-ref.xht": [
"6cc9e132ee13f51464a26aa9de40310ea9e02250",
"support"
@ -516501,10 +516857,26 @@
"2723b6d3e9a213a1b33e9ecfafd5fd42eb8bca33",
"testharness"
],
"css/css-typed-om/the-stylepropertymap/properties/vertical-align.html": [
"41ae6fd66b5a0e6f3b5f154d839362a4921712cc",
"testharness"
],
"css/css-typed-om/the-stylepropertymap/properties/visibility.html": [
"8e0a268686a82cc4b4c5531b324da106e8d13856",
"testharness"
],
"css/css-typed-om/the-stylepropertymap/properties/white-space.html": [
"f8afed394e920abbaa9eb8d2e6f4405ae4453c2c",
"testharness"
],
"css/css-typed-om/the-stylepropertymap/properties/width.html": [
"b6f2104ac9a5a4e288b83e5d4db6077ba72a0bad",
"testharness"
],
"css/css-typed-om/the-stylepropertymap/properties/z-index.html": [
"94c8c5e42806f81eeaf1a31463e2bd9653b465a3",
"testharness"
],
"css/css-ui/OWNERS": [
"beeb8a77d396e48731fd1e69a922b6e2c84c2caa",
"support"
@ -519225,6 +519597,14 @@
"ce34d77ec21c9b94a2ffe31d4f9e153e14605474",
"testharness"
],
"css/css-values/urls/empty.html": [
"d12c1a89fba468dc6f521239c7f4368ebbca9b53",
"testharness"
],
"css/css-values/urls/support/empty-urls.css": [
"0dcf82776fce7dc803c4ff258901081b96e2b6e7",
"support"
],
"css/css-values/vh-calc-support-pct.html": [
"1d1b6fd96100b08b7abe0125d386edf736d57aa6",
"reftest"
@ -544597,10 +544977,6 @@
"5dd841770382cd2f6f1a09dca1103ef146bc912a",
"support"
],
"fetch/corb/css-with-json-parser-breaker.sub.html": [
"f8d39858fe81759e62e431e06f05b759ab3b5d77",
"testharness"
],
"fetch/corb/img-html-correctly-labeled.sub-expected.html": [
"a252054121e7f50a3bcb949ae5a40f278c842c04",
"support"
@ -544625,8 +545001,24 @@
"a7775fb534d38a5d5b5827a27f0c16e1268f4d0b",
"reftest"
],
"fetch/corb/resources/css-mislabeled-as-html-nosniff.css": [
"7d3f1614c6d0170f67442ee60fe2aab6099bedc1",
"support"
],
"fetch/corb/resources/css-mislabeled-as-html-nosniff.css.headers": [
"1bea535d497ae73eb7a84d3a14a5276e9d0ccc34",
"support"
],
"fetch/corb/resources/css-mislabeled-as-html.css": [
"7d3f1614c6d0170f67442ee60fe2aab6099bedc1",
"support"
],
"fetch/corb/resources/css-mislabeled-as-html.css.headers": [
"41e260e7df49e0e4ddb1fc5df11913dbda15edd7",
"support"
],
"fetch/corb/resources/css-with-json-parser-breaker.css": [
"dfcdf2ea931e4eeaaed36c471bad6b80f2c0115d",
"03d3cc6ac8caded97f3df43ca0c9cd04cf809e33",
"support"
],
"fetch/corb/resources/empty-labeled-as-png.png": [
@ -544697,6 +545089,22 @@
"f629f76593a03c769ca4a66b8cd9e5b1d2d20bfe",
"testharness"
],
"fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html": [
"0bd3e77324334526a57f964bab33d06beb0b18b7",
"testharness"
],
"fetch/corb/style-css-mislabeled-as-html.sub.html": [
"15a57e71c6a88bcb3193699007694784754022d2",
"testharness"
],
"fetch/corb/style-css-with-json-parser-breaker.sub.html": [
"aefb6ce91d1be7998ed70dd6101fea451911af8c",
"testharness"
],
"fetch/corb/style-html-correctly-labeled.sub.html": [
"465d933f4e52ef4e5a4bd0de40873410195843cd",
"testharness"
],
"fetch/data-urls/README.md": [
"83d54a0532dd87ab1fa9f5f9b7e01d9a43d91eae",
"support"
@ -550150,7 +550558,7 @@
"testharness"
],
"html/dom/usvstring-reflection.html": [
"33a8ab2735650368c7cdc38226cb84be2dbbee85",
"221d4baf1cf0f7c06bef865aa8c5e01ce6436569",
"testharness"
],
"html/editing/.gitkeep": [
@ -565074,7 +565482,7 @@
"support"
],
"interfaces/accelerometer.idl": [
"badeb96ae83c8173bb00884346d4f6dc675bbffa",
"6132c634314380a83c8a57647447826d95448939",
"support"
],
"interfaces/ambient-light.idl": [
@ -565130,7 +565538,7 @@
"support"
],
"interfaces/gyroscope.idl": [
"77d4d59d0e83928f02b4652636d64df448b388d1",
"a2aa39ac39a5ec1eff5f5023a8134b5ec387b766",
"support"
],
"interfaces/hr-time.idl": [
@ -565142,7 +565550,7 @@
"support"
],
"interfaces/magnetometer.idl": [
"779d9b394e75c9ad77b570c3f793de048fa054f9",
"78fdc6ec345a5f05e86cb104cb025689638bbe17",
"support"
],
"interfaces/mediacapture-main.idl": [
@ -565150,7 +565558,7 @@
"support"
],
"interfaces/orientation-sensor.idl": [
"e1ed342f95e16b7082f8d83f0751a1f924fe0c21",
"2231f37838d4a168683a02fcebeb0c47e264b843",
"support"
],
"interfaces/payment-handler.idl": [
@ -595601,8 +596009,8 @@
"f0292ca52ee86920d0fdb8bccae2bc40a8ef99af",
"testharness"
],
"webrtc/simplecall.html": [
"6194af79f137d59334da2193cc6f24b9458344be",
"webrtc/simplecall.https.html": [
"146432ca56e487a035df8ad9d5a7fa4a495b5405",
"testharness"
],
"webrtc/tools/.eslintrc.js": [

View file

@ -0,0 +1,2 @@
[vh_not_refreshing_on_chrome.html]
expected: FAIL

View file

@ -26,3 +26,6 @@
[sendBeacon URL: unpaired surrogate codepoint should not make any exceptions.]
expected: FAIL
[RTCDataChannel.send: unpaired surrogate codepoint should be replaced with U+FFFD.]
expected: FAIL

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<title>A zero-width new formatting context should fit in a zero-width layout opportunity between floats</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<div id="container" style="position:relative; width:200px;">
<div style="float:left; width:100px; height:200px;"></div>
<div style="float:right; width:100px; height:200px;"></div>
<div data-offset-x="100" data-offset-y="0" style="overflow:hidden; width:0; height:200px;"></div>
</div>
<script>
checkLayout("#container");
</script>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<title>A zero-width new formatting context should fit in a zero-width layout opportunity between floats, above a 100% wide float</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<div id="container" style="position:relative; width:200px;">
<div style="float:left; width:100px; height:200px;"></div>
<div style="float:right; width:100px; height:200px;"></div>
<div style="float:right; width:100%; height:10px;"></div>
<div data-offset-x="100" data-offset-y="0" style="overflow:hidden; width:0; height:200px;"></div>
</div>
<script>
checkLayout("#container");
</script>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<title>Zero-width new formatting context with clearance</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<div id="container" style="position:relative; width:200px;">
<div style="float:left; width:100px; height:100px;"></div>
<div style="float:right; width:100px; height:100px;"></div>
<div style="float:right; width:100%; height:100px;"></div>
<div data-offset-x="0" data-offset-y="100" style="overflow:hidden; clear:left; width:0;"></div>
</div>
<script>
checkLayout("#container");
</script>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<title>Zero-width new formatting context with clearance</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<div id="container" style="position:relative; width:200px;">
<div style="float:left; width:100px; height:100px;"></div>
<div style="float:right; width:100px; height:100px;"></div>
<div style="float:right; width:100%; height:100px;"></div>
<div data-offset-x="0" data-offset-y="200" style="overflow:hidden; clear:right; width:0;"></div>
</div>
<script>
checkLayout("#container");
</script>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<link rel="author" title="Mike Bremford" href="http://bfo.com">
<style>
div { font-weight: 100 }
</style>
<body>
<p>Test passes if the lines of "Filler Text" below match.</p>
<div>Filler Text</div>
<div>Filler Text</div>
</body>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<link rel="author" title="Mike Bremford" href="http://bfo.com">
<style>
div { font-weight: 900 }
</style>
<body>
<p>Test passes if the lines of "Filler Text" below match.</p>
<div>Filler Text</div>
<div>Filler Text</div>
</body>

View file

@ -5,7 +5,7 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" />
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop" />
<link rel="match" href="font-weight-bold-ref.html" />
<link rel="match" href="font-weight-900-ref.html" />
<meta name="flags" content="" />
<meta name="assert" content="The 'font-weight' property set to 'bolder' does not increase the value of font weight when the parent values is already set at 900." />
<style type="text/css">

View file

@ -5,7 +5,7 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" />
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop" />
<link rel="match" href="font-weight-normal-ref.html" />
<link rel="match" href="font-weight-100-ref.html" />
<meta name="flags" content="" />
<meta name="assert" content="A font weight of 'lighter' selects the next lighter weight compared to its parent's weight." />
<style type="text/css">

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Cascade Green Right Square Reference File</title>
<link rel="author" title="David Burns" href="http://www.theautomatedtester.co.uk">
<style>
#success {
width: 100px;
height: 100px;
background-color: green;
}
</style>
<body>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div>
<div id="success"></div>
</div>
</body>
</html>

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Cascade: Important</title>
<link rel="author" title="David Burns" href="http://www.theautomatedtester.co.uk">
<link rel="help" href="https://drafts.csswg.org/css-cascade/#importance">
<link rel="match" href="important-prop-ref.html">
<meta name="flags" content="">
<style>
@keyframes override{
from, to{background-color: #f00;}
}
.square {
color:#00f;
animation: override 1s infinite;
width: 100px;
height: 100px;
}
.green {
background-color:green !important;
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="square green"></div>
</body>
</html>

View file

@ -2,3 +2,4 @@
@yunxiaoxie
@nattokirai
@litherum
@drott

View file

@ -0,0 +1,66 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.blueborders {
position: absolute;
top: 0;
left: 194px; /* 188px first column + (16px gap - 4px rule) / 2 */
width: 200px; /* 188px second column + (16px gap - 4px rule) */
height: 100px;
border-right: blue solid 4px;
border-left: blue solid 4px;
}
.innerbg {
height: 100px;
width: 188px;
background: rgba(255, 0, 255, 0.3);
position: absolute;
top: 0;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="blueborders"></div>
<div class="innerbg" style="left: 0"></div>
<div class="inner lefthalf" style="left: 0; height: 60px">
AAAAA<br>
BBBBB<br>
CCCCC
</div>
<div class="inner righthalf" style="left: 95px">
DDDDD<br>
EEEEE
</div>
<div class="innerbg" style="left: 204px"></div>
<div class="innerbg" style="left: 408px"></div>
</div>

View file

@ -0,0 +1,39 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-000-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-rule: 4px solid blue;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
background: rgba(255, 0, 255, 0.3);
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
</div>
</div>

View file

@ -0,0 +1,82 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.blueborders {
position: absolute;
top: 0;
left: 194px; /* 188px first column + (16px gap - 4px rule) / 2 */
width: 200px; /* 188px second column + (16px gap - 4px rule) */
height: 100px;
border-right: blue solid 4px;
border-left: blue solid 4px;
}
.innerbg {
height: 100px;
width: 188px;
background: rgba(255, 0, 255, 0.3);
position: absolute;
top: 0;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="blueborders"></div>
<div class="innerbg" style="left: 0"></div>
<div class="inner lefthalf" style="left: 0">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE
</div>
<div class="inner righthalf" style="left: 95px">
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ
</div>
<div class="innerbg" style="left: 204px"></div>
<div class="inner lefthalf" style="left: 204px; height: 80px">
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN
</div>
<div class="inner righthalf" style="left: 299px">
OOOOO<br>
PPPPP<br>
QQQQQ<br>
</div>
<div class="innerbg" style="left: 408px"></div>
</div>

View file

@ -0,0 +1,51 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-001-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-rule: 4px solid blue;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
background: rgba(255, 0, 255, 0.3);
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ<br>
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO<br>
PPPPP<br>
QQQQQ
</div>
</div>

View file

@ -0,0 +1,99 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.blueborders {
position: absolute;
top: 0;
left: 194px; /* 188px first column + (16px gap - 4px rule) / 2 */
width: 200px; /* 188px second column + (16px gap - 4px rule) */
height: 100px;
border-right: blue solid 4px;
border-left: blue solid 4px;
}
.innerbg {
height: 100px;
width: 188px;
background: rgba(255, 0, 255, 0.3);
position: absolute;
top: 0;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="blueborders"></div>
<div class="innerbg" style="left: 0"></div>
<div class="inner lefthalf" style="left: 0">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE
</div>
<div class="inner righthalf" style="left: 95px">
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ
</div>
<div class="innerbg" style="left: 204px"></div>
<div class="inner lefthalf" style="left: 204px">
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO
</div>
<div class="inner righthalf" style="left: 299px">
PPPPP<br>
QQQQQ<br>
RRRRR<br>
SSSSS<br>
TTTTT
</div>
<div class="innerbg" style="left: 408px"></div>
<div class="inner lefthalf" style="left: 408px">
UUUUU<br>
VVVVV<br>
WWWWW<br>
XXXXX<br>
YYYYY
</div>
<div class="inner righthalf" style="left: 503px">
ZZZZZ<br>
aaaaa<br>
bbbbb<br>
ccccc<br>
ddddd
</div>
</div>

View file

@ -0,0 +1,64 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-002-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-rule: 4px solid blue;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
background: rgba(255, 0, 255, 0.3);
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ<br>
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO<br>
PPPPP<br>
QQQQQ<br>
RRRRR<br>
SSSSS<br>
TTTTT<br>
UUUUU<br>
VVVVV<br>
WWWWW<br>
XXXXX<br>
YYYYY<br>
ZZZZZ<br>
aaaaa<br>
bbbbb<br>
ccccc<br>
ddddd
</div>
</div>

View file

@ -0,0 +1,82 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.blueborders {
position: absolute;
top: 0;
left: 194px; /* 188px first column + (16px gap - 4px rule) / 2 */
width: 200px; /* 188px second column + (16px gap - 4px rule) */
height: 100px;
border-right: blue solid 4px;
border-left: blue solid 4px;
}
.innerbg {
height: 100px;
width: 188px;
background: rgba(255, 0, 255, 0.3);
position: absolute;
top: 0;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="blueborders"></div>
<div class="innerbg" style="left: 0"></div>
<div class="inner lefthalf" style="left: 0">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE
</div>
<div class="inner righthalf" style="left: 95px">
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ
</div>
<div class="innerbg" style="left: 204px"></div>
<div class="inner lefthalf" style="left: 204px">
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO
</div>
<div class="inner righthalf" style="left: 299px">
PPPPP<br>
QQQQQ
</div>
<div class="innerbg" style="left: 408px"></div>
</div>

View file

@ -0,0 +1,51 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-003-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-rule: 4px solid blue;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
background: rgba(255, 0, 255, 0.3);
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px; column-fill: auto">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ<br>
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO<br>
PPPPP<br>
QQQQQ
</div>
</div>

View file

@ -0,0 +1,44 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="inner lefthalf" style="left: 0; height: 60px">
AAAAA<br>
BBBBB<br>
CCCCC
</div>
<div class="inner righthalf" style="left: 95px">
DDDDD<br>
EEEEE
</div>
</div>

View file

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-nobackground-000-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
</div>
</div>

View file

@ -0,0 +1,60 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="inner lefthalf" style="left: 0">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE
</div>
<div class="inner righthalf" style="left: 95px">
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ
</div>
<div class="inner lefthalf" style="left: 204px; height: 80px">
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN
</div>
<div class="inner righthalf" style="left: 299px">
OOOOO<br>
PPPPP<br>
QQQQQ<br>
</div>
</div>

View file

@ -0,0 +1,49 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-nobackground-001-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ<br>
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO<br>
PPPPP<br>
QQQQQ
</div>
</div>

View file

@ -0,0 +1,77 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="inner lefthalf" style="left: 0">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE
</div>
<div class="inner righthalf" style="left: 95px">
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ
</div>
<div class="inner lefthalf" style="left: 204px">
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO
</div>
<div class="inner righthalf" style="left: 299px">
PPPPP<br>
QQQQQ<br>
RRRRR<br>
SSSSS<br>
TTTTT
</div>
<div class="inner lefthalf" style="left: 408px">
UUUUU<br>
VVVVV<br>
WWWWW<br>
XXXXX<br>
YYYYY
</div>
<div class="inner righthalf" style="left: 503px">
ZZZZZ<br>
aaaaa<br>
bbbbb<br>
ccccc<br>
ddddd
</div>
</div>

View file

@ -0,0 +1,62 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-nobackground-002-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ<br>
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO<br>
PPPPP<br>
QQQQQ<br>
RRRRR<br>
SSSSS<br>
TTTTT<br>
UUUUU<br>
VVVVV<br>
WWWWW<br>
XXXXX<br>
YYYYY<br>
ZZZZZ<br>
aaaaa<br>
bbbbb<br>
ccccc<br>
ddddd
</div>
</div>

View file

@ -0,0 +1,60 @@
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>
.outer {
height: 100px;
width: 800px;
background: rgba(0, 0, 255, 0.3);
position: relative;
}
.inner {
height: 100px;
width: 86px;
font: 16px/1.25 sans-serif;
position: absolute;
top: 0;
}
.lefthalf {
border-right: 2px solid fuchsia;
padding-right: 7px;
}
.righthalf {
padding-left: 7px;
}
</style>
<div class="outer">
<div class="inner lefthalf" style="left: 0">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE
</div>
<div class="inner righthalf" style="left: 95px">
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ
</div>
<div class="inner lefthalf" style="left: 204px">
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO
</div>
<div class="inner righthalf" style="left: 299px">
PPPPP<br>
QQQQQ
</div>
</div>

View file

@ -0,0 +1,49 @@
<!DOCTYPE HTML>
<title>CSS Test: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
<link rel="match" href="multicol-breaking-nobackground-003-ref.html">
<style>
.outer {
height: 100px;
column-fill: auto;
width: 800px;
column-count: 4;
column-gap: 16px;
background: rgba(0, 0, 255, 0.3);
}
.inner {
column-count: 2;
column-rule: 2px solid fuchsia;
column-gap: 16px;
font: 16px/1.25 sans-serif;
}
</style>
<div class="outer">
<div class="inner" style="height: 300px; column-fill: auto">
AAAAA<br>
BBBBB<br>
CCCCC<br>
DDDDD<br>
EEEEE<br>
FFFFF<br>
GGGGG<br>
HHHHH<br>
IIIII<br>
JJJJJ<br>
KKKKK<br>
LLLLL<br>
MMMMM<br>
NNNNN<br>
OOOOO<br>
PPPPP<br>
QQQQQ
</div>
</div>

View file

@ -0,0 +1,23 @@
<!doctype html>
<meta charset="utf-8">
<title>'vertical-align' property</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<script src="resources/testsuite.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
runPropertyTests('vertical-align', [
{ syntax: 'baseline'},
// and other keywords
{ syntax: '<length>' },
{ syntax: '<percentage>' }
]);
</script>

View file

@ -0,0 +1,22 @@
<!doctype html>
<meta charset="utf-8">
<title>'visibility' property</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<script src="resources/testsuite.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
runPropertyTests('visibility', [
{ syntax: 'visible'},
{ syntax: 'hidden' }
// and other keywords
]);
</script>

View file

@ -0,0 +1,22 @@
<!doctype html>
<meta charset="utf-8">
<title>'white-space' property</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<script src="resources/testsuite.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
runPropertyTests('white-space', [
{ syntax: 'normal'},
{ syntax: 'nowrap' }
// and other keywords
]);
</script>

View file

@ -0,0 +1,23 @@
<!doctype html>
<meta charset="utf-8">
<title>'z-index' property</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<script src="resources/testsuite.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
runPropertyTests('z-index', [
{ syntax: 'auto'},
// FIXME: This also supports <integer> but the testharness
// doesn't support that yet.
// { syntax: '<integer>' }
]);
</script>

View file

@ -0,0 +1,40 @@
<!doctype html>
<title>Empty URLs behaviour</title>
<link rel=help href=https://drafts.csswg.org/css-values/#url-empty>
<link rel=help href=https://github.com/w3c/csswg-drafts/issues/2211#issuecomment-365677844>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<style>
#inline-unquoted {
background-image: url();
}
#inline-quoted {
background-image: url("");
}
</style>
<link rel=stylesheet href=support/empty-urls.css>
<div id="inline-unquoted"></div>
<div id="inline-quoted"></div>
<div id="external-unquoted"></div>
<div id="external-quoted"></div>
<script>
const ids = [
"inline-unquoted",
"inline-quoted",
"external-unquoted",
"external-quoted"
];
const inline_url = location.href;
const external_url = new URL(document.querySelector("link[rel=stylesheet]").href, location.href).href;
for (let id of ids) {
test(function() {
const el = document.getElementById(id);
const expected = id.startsWith("inline-") ? inline_url : external_url;
const style = window.getComputedStyle(el);
assert_equals(style["background-image"], 'url("' + expected + '")');
}, "empty URL: " + id);
}
</script>

View file

@ -0,0 +1,7 @@
#external-unquoted {
background-image: url();
}
#external-quoted {
background-image: url("");
}

View file

@ -1,20 +0,0 @@
<!doctype html>
<meta charset="utf-8">
<title>CORB should not block text/css with a JSON parser breaker</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<!-- www1 is cross-origin, so the HTTP response is CORB-eligible -->
<link rel="stylesheet" type="text/css"
href="http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/css-with-json-parser-breaker.css">
<body>
<h1 id="header">Header example</h1>
<p>Paragraph body</p>
</body>
<script>
var style = getComputedStyle(document.getElementById('header'));
assert_equals(style.getPropertyValue('color'), 'rgb(255, 0, 0)');
done();
</script>

View file

@ -0,0 +1 @@
#header { color: red; }

View file

@ -0,0 +1,2 @@
Content-Type: text/html
X-Content-Type-Options: nosniff

View file

@ -0,0 +1 @@
#header { color: red; }

View file

@ -0,0 +1 @@
Content-Type: text/html

View file

@ -1,3 +1,3 @@
)]}'
{}
h1 { color: red; }
#header { color: red; }

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<!-- Test verifies that a stylesheet mislabeled as html won't execute with and
without CORB if the nosniff response header is present.
The expected behavior is covered by the Fetch spec at
https://fetch.spec.whatwg.org/#should-response-to-request-be-blocked-due-to-nosniff?
See also the following tests:
- fetch/nosniff/stylesheet.html
-->
<meta charset="utf-8">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<!-- Default style that will be applied if the external stylesheet resource
below won't load for any reason. This stylesheet will set h1's
color to green (see |default_color| below). -->
<style>
h1 { color: green; }
</style>
<!-- This stylesheet (if loaded) should set h1#header's color to red
(see |external_color| below). -->
<!-- www1 is cross-origin, so the HTTP response is CORB-eligible -->
<link rel="stylesheet" type="text/css"
href="http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/css-mislabeled-as-html-nosniff.css">
<body>
<h1 id="header">Header example</h1>
<p>Paragraph body</p>
</body>
<script>
// Verify that CSS is not applied (because of nosniff + non-text/css headers).
let style = getComputedStyle(document.getElementById('header'));
const external_color = 'rgb(255, 0, 0)'; // red
const default_color = 'rgb(0, 128, 0)'; // green
assert_equals(style.getPropertyValue('color'), default_color);
assert_not_equals(style.getPropertyValue('color'), external_color);
done();
</script>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<!-- Test verifies that CORB won't impact a cross-origin stylesheet mislabeled
as text/html (because even without CORB mislabeled CSS will be rejected).
-->
<meta charset="utf-8">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<!-- Default style that will be applied if the external stylesheet resource
below won't load for any reason. This stylesheet will set h1's
color to green (see |default_color| below). -->
<style>
h1 { color: green; }
</style>
<!-- This stylesheet (if loaded) should set h1#header's color to red
(see |external_color| below). -->
<!-- www1 is cross-origin, so the HTTP response is CORB-eligible -->
<link rel="stylesheet" type="text/css"
href="http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/css-mislabeled-as-html.css">
<body>
<h1 id="header">Header example</h1>
<p>Paragraph body</p>
</body>
<script>
// Verify that CSS is not applied (because of strict content-type enforcement
// for cross-origin stylesheets).
let style = getComputedStyle(document.getElementById('header'));
const external_color = 'rgb(255, 0, 0)'; // red
const default_color = 'rgb(0, 128, 0)'; // green
assert_equals(style.getPropertyValue('color'), default_color);
assert_not_equals(style.getPropertyValue('color'), external_color);
done();
</script>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<!-- Test verifies that CORB won't block a stylesheet that
1) is correctly labeled with text/css Content-Type and parsing fine as text/css
2) starts with a JSON parser breaker (like )]}')
-->
<meta charset="utf-8">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<!-- Default style that will be applied if the external stylesheet resource
below won't load for any reason. This stylesheet will set h1's
color to green (see |default_color| below). -->
<style>
h1 { color: green; }
</style>
<!-- This stylesheet (if loaded) should set h1#header's color to red
(see |external_color| below). -->
<!-- www1 is cross-origin, so the HTTP response is CORB-eligible -->
<link rel="stylesheet" type="text/css"
href="http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/css-with-json-parser-breaker.css">
<body>
<h1 id="header">Header example</h1>
<p>Paragraph body</p>
</body>
<script>
// Verify that CSS got applied / did not get blocked by CORB.
let style = getComputedStyle(document.getElementById('header'));
const external_color = 'rgb(255, 0, 0)'; // red
const default_color = 'rgb(0, 128, 0)'; // green
assert_equals(style.getPropertyValue('color'), external_color);
assert_not_equals(style.getPropertyValue('color'), default_color);
done();
</script>

View file

@ -0,0 +1,40 @@
<!DOCTYPE html>
<!-- Test verifies that using a HTML document as a stylesheet has no observable
differences with and without CORB:
- The cross-origin stylesheet requires a correct text/css Content-Type
and therefore won't render even without CORB. This aspect of this test
is similar to the style-css-mislabeled-as-html.sub.html test.
- Even if the Content-Type requirements were relaxed for cross-origin stylesheets,
the HTML document is unlikely to parse as a stylesheet (unless a polyglot
HTML/CSS document is crafted as part of an attack) and therefore the
observable behavior should be indistinguishable from parsing the empty,
CORB-blocked response as a stylesheet.
-->
<meta charset="utf-8">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<!-- Default style that will be applied if the external stylesheet resource
below won't load for any reason. This stylesheet will set h1's
color to green (see |default_color| below). -->
<style>
h1 { color: green; }
</style>
<!-- This is not really a stylesheet... -->
<!-- www1 is cross-origin, so the HTTP response is CORB-eligible -->
<link rel="stylesheet" type="text/css"
href="http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/html-correctly-labeled.html">
<body>
<h1 id="header">Header example</h1>
<p>Paragraph body</p>
</body>
<script>
// Verify that CSS is not applied (because of mismatched Content-Type header).
var style = getComputedStyle(document.getElementById('header'));
const default_color = 'rgb(0, 128, 0)'; // green
assert_equals(style.getPropertyValue('color'), default_color);
done();
</script>

View file

@ -2,6 +2,7 @@
<title>USVString test relate to url</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src="../../webrtc/RTCPeerConnection-helper.js"></script>
<div id=log></div>
<script>
// Unpaired surrogate codepoints present in USVString are replaced
@ -109,4 +110,20 @@ test(() => {
assert_equals(w.document.documentURI, 'about:blank#%EF%BF%BD');
}, "Document URLs: unpaired surrogate codepoint should be replaced with U+FFFD")
promise_test(t => {
const sendString = 'hello\uD999';
const receiveString = 'hello\uFFFD';
return createDataChannelPair()
.then(([channel1, channel2]) => {
channel1.send(sendString);
return awaitMessage(channel2)
}).then(message => {
assert_equals(typeof message, 'string',
'Expect message to be a string');
assert_equals(message, receiveString);
});
}, "RTCDataChannel.send: unpaired surrogate codepoint should be replaced with U+FFFD.")
</script>

View file

@ -1,20 +1,23 @@
enum LocalCoordinateSystem { "device", "screen" };
dictionary SpatialSensorOptions : SensorOptions {
LocalCoordinateSystem referenceFrame = "device";
};
[Constructor(optional SpatialSensorOptions options), SecureContext, Exposed=Window]
[Constructor(optional AccelerometerSensorOptions options), SecureContext,
Exposed=Window]
interface Accelerometer : Sensor {
readonly attribute double? x;
readonly attribute double? y;
readonly attribute double? z;
};
[Constructor(optional SpatialSensorOptions options), SecureContext, Exposed=Window]
enum LocalCoordinateSystem { "device", "screen" };
dictionary AccelerometerSensorOptions : SensorOptions {
LocalCoordinateSystem referenceFrame = "device";
};
[Constructor(optional AccelerometerSensorOptions options), SecureContext,
Exposed=Window]
interface LinearAccelerationSensor : Accelerometer {
};
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
[Constructor(optional AccelerometerSensorOptions options), SecureContext,
Exposed=Window]
interface GravitySensor : Accelerometer {
};

View file

@ -1,6 +1,12 @@
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
[Constructor(optional GyroscopeSensorOptions sensorOptions), SecureContext, Exposed=Window]
interface Gyroscope : Sensor {
readonly attribute double? x;
readonly attribute double? y;
readonly attribute double? z;
};
enum LocalCoordinateSystem { "device", "screen" };
dictionary GyroscopeSensorOptions : SensorOptions {
LocalCoordinateSystem referenceFrame = "device";
};

View file

@ -1,11 +1,19 @@
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
[Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext,
Exposed=Window]
interface Magnetometer : Sensor {
readonly attribute double? x;
readonly attribute double? y;
readonly attribute double? z;
};
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
enum LocalCoordinateSystem { "device", "screen" };
dictionary MagnetometerSensorOptions : SensorOptions {
LocalCoordinateSystem referenceFrame = "device";
};
[Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext,
Exposed=Window]
interface UncalibratedMagnetometer : Sensor {
readonly attribute double? x;
readonly attribute double? y;

View file

@ -6,10 +6,16 @@ interface OrientationSensor : Sensor {
void populateMatrix(RotationMatrixType targetMatrix);
};
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
enum LocalCoordinateSystem { "device", "screen" };
dictionary OrientationSensorOptions : SensorOptions {
LocalCoordinateSystem referenceFrame = "device";
};
[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
interface AbsoluteOrientationSensor : OrientationSensor {
};
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
interface RelativeOrientationSensor : OrientationSensor {
};

View file

@ -430,7 +430,7 @@ def check_parsed(repo_root, path, f):
for reftest_node in source_file.reftest_nodes:
href = reftest_node.attrib.get("href", "").strip(space_chars)
parts = urlsplit(href)
if parts.scheme or parts.netloc:
if (parts.scheme or parts.netloc) and parts != urlsplit("about:blank"):
errors.append(("ABSOLUTE-URL-REF",
"Reference test with a reference file specified via an absolute URL: '%s'" % href, path, None))
continue

View file

@ -0,0 +1 @@
<link rel="match" href=about:blank>

View file

@ -213,6 +213,16 @@ def test_ref_absolute_url(caplog):
assert "ref/absolute.html" in caplog.text
def test_about_blank_as_ref(caplog):
with _mock_lint("check_path") as mocked_check_path:
with _mock_lint("check_file_contents") as mocked_check_file_contents:
rv = lint(_dummy_repo, ["about_blank-ref.html"], "normal")
assert rv == 0
assert not mocked_check_path.called
assert not mocked_check_file_contents.called
assert caplog.text == ""
def test_ref_same_file_empty(caplog):
with _mock_lint("check_path") as mocked_check_path:
with _mock_lint("check_file_contents") as mocked_check_file_contents:

View file

@ -137,9 +137,9 @@ class ChromeDriverServer(WebDriverServer):
class EdgeDriverServer(WebDriverServer):
def __init__(self, logger, binary="microsoftwebdriver.exe", port=None,
base_path="", args=None):
base_path="", host="localhost", args=None):
WebDriverServer.__init__(
self, logger, binary, port=port, base_path=base_path, args=args)
self, logger, binary, host=host, port=port, args=args)
def make_command(self):
return [self.binary,

View file

@ -86,11 +86,15 @@ property to true in Firefox.
var onIceCandidateToFirst = test.step_func(function(event) {
// If event.candidate is null = no more candidates.
gSecondConnection.addIceCandidate(event.candidate);
if (event.candidate) {
gSecondConnection.addIceCandidate(event.candidate);
}
});
var onIceCandidateToSecond = test.step_func(function(event) {
gFirstConnection.addIceCandidate(event.candidate);
if (event.candidate) {
gFirstConnection.addIceCandidate(event.candidate);
}
});
var onRemoteTrack = test.step_func(function(event) {