Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
e2ba081
Run one chunk of tests in firefox on push
jgraham Jan 16, 2018
74134e1
Fixup taskcluster
jgraham Jan 16, 2018
46cb5e8
Force python2
jgraham Jan 16, 2018
8e3d51b
fixup! Force python2
jgraham Jan 16, 2018
439e78b
Increase logging
jgraham Jan 17, 2018
a154d54
Increase logging
jgraham Jan 17, 2018
2a9df57
Don't allow fallback alignment in place-content shorthand.
emilio Jan 16, 2018
2041b3b
Accept null for body param in constructor of Response.
upsuper Jan 17, 2018
104e3e0
Don't prompt for install
jgraham Jan 17, 2018
3582712
Increase logging
jgraham Jan 17, 2018
11f40d3
More logging
jgraham Jan 17, 2018
3bd70ad
Use sys.executable for virtualenv
jgraham Jan 17, 2018
280b22b
Install browser in TC
jgraham Jan 17, 2018
853387e
Install dependencies
jgraham Jan 17, 2018
4953343
fixup! Install dependencies
jgraham Jan 17, 2018
5f036d1
apt udpate
jgraham Jan 17, 2018
dddaf14
Use apt-get with --yes
jgraham Jan 17, 2018
33dceb9
Ttry using a taskcluster/desktop-test image
jgraham Jan 17, 2018
e1209a0
Specify image version
jgraham Jan 17, 2018
0ca79a8
Use more modern image
jgraham Jan 17, 2018
08864cb
Don't update
jgraham Jan 17, 2018
51db1b7
USe custom dockerfile with taskcluster
jgraham Jan 22, 2018
468818b
Update start script
jgraham Jan 22, 2018
0a06906
Fix syntax error in start script, use a shallow clone by default
jgraham Jan 22, 2018
9f5761b
Bump image version
jgraham Jan 22, 2018
faeb7b7
Remove ENTRYPOINT
jgraham Jan 22, 2018
1d25f71
Update docker image
jgraham Jan 22, 2018
765ea66
Update path
jgraham Jan 22, 2018
484fe22
Ensure we have commits from the correct repo
jgraham Jan 22, 2018
7bc0a99
Fix slotted invalidation.
emilio Jan 22, 2018
d99985d
Fix attributeChangedCallback isn't fired with correct newValue when t…
EdgarChen Jan 22, 2018
53a1aed
Tests for calc() on font-size on various situations.
emilio Jan 22, 2018
16cab56
Add WPT test for the attributeChangedCallback which is triggered from…
EdgarChen Jan 16, 2018
27d2857
Introduce assert_time_equals_literal and use it.
Jan 23, 2018
04cfc8e
Double epsilon value for assert_times_equal.
Jan 23, 2018
18b20d1
Use assert_times_equal for comparing timing values.
Jan 23, 2018
ef92ae5
update docker image
jgraham Jan 24, 2018
6c3dcca
Remove attempt to upload artifacts
jgraham Jan 24, 2018
cd1ed8e
Upload artifacts and change wpt run exit code
jgraham Jan 24, 2018
01b2539
Add code for generating a complete static taskgraph for Chrome and Fo…
jgraham Jan 25, 2018
d2eb4e5
Fix reftest type name
jgraham Jan 25, 2018
6bf22ec
Fix lint error in taskgraph and increase task timeout
jgraham Jan 26, 2018
015776d
Resource timing entries Workers - part 8 - WPT,
bakulf Jan 24, 2018
472ced1
Avoid surrogate math in HasRTLChars().
hsivonen Jan 24, 2018
76c0e9a
P2 Add local-url-inherit-controller.https.html wpt test.
wanderview Jan 24, 2018
5f0c05d
Look at the snapshots when invalidating due to stylesheet changes.
emilio Jan 29, 2018
06ac7e2
Test that dynamic changes properly affect hit-testing for elements th…
emilio Jan 29, 2018
18ea11d
Update tests.
emilio Jan 29, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
687 changes: 687 additions & 0 deletions .taskcluster.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<script src="../resources/alignment-parsing-utils.js"></script>
<div id="log"></div>
<script>
var values = ["normal"].concat(contentPositionValues, distributionValues, baselineValues);
values.forEach(function(alignValue) {
values.forEach(function(justifyValue) {
var values = ["normal"].concat(contentPositionValues, distributionValues);
baselineValues.concat(values).forEach(function(alignValue) {
["left", "right"].concat(values).forEach(function(justifyValue) {
test(function() {
checkPlaceShorhandLonghands("place-content", "align-content", "justify-content", alignValue, justifyValue);
}, "Checking place-content: " + alignValue + " " + justifyValue);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<style>
div {
width: 400px;
height: 400px;
background: blue;
position: relative;
}
span {
background: green;
width: 200px;
height: 200px;
position: absolute;
bottom: 0;
left: 100px;
}
</style>
Should see a green square centered and at the bottom of the blue square.
<div><span></span></div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Box Alignment: place-content shorthand with fallback</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="help" href="https://drafts.csswg.org/css-align/#propdef-place-content">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1430622">
<link rel="match" href="place-content-shorthand-007-ref.html">
<style>
div {
display: grid;
grid: 200px / 200px;
width: 400px;
height: 400px;
background: blue;
place-content: end space-evenly;
}
span {
background: green;
}
</style>
Should see a green square centered and at the bottom of the blue square.
<div><span></span></div>
8 changes: 6 additions & 2 deletions css/css-align/resources/alignment-parsing-utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var selfPositionValues = [ "start", "end", "self-start", "self-end", "left", "right", "center", "flex-start", "flex-end"];
var contentPositionValues = [ "start", "end", "left", "right", "center", "flex-start", "flex-end"];
var selfPositionValues = [ "start", "end", "self-start", "self-end", "center", "flex-start", "flex-end"];
var contentPositionValues = [ "start", "end", "center", "flex-start", "flex-end"];
var distributionValues = [ "stretch", "space-around", "space-between", "space-evenly"];
var baselineValues = [ "baseline", "first baseline", "last baseline"];

Expand Down Expand Up @@ -33,6 +33,10 @@ function checkPlaceShorhandLonghands(shorthand, alignLonghand, justifyLonghand,
var div = document.createElement("div");
div.setAttribute("style", shorthand + ": " + alignValue + " " + justifyValue);
document.body.appendChild(div);
if (alignValue === "first baseline")
alignValue = "baseline";
if (justifyValue === "first baseline")
justifyValue = "baseline";
if (justifyValue === "")
justifyValue = alignValue;
assert_equals(div.style[alignLonghand],
Expand Down
6 changes: 3 additions & 3 deletions css/css-align/self-alignment/place-self-shorthand-002.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<script src="../resources/alignment-parsing-utils.js"></script>
<div id="log"></div>
<script>
var values = ["auto", "normal", "stretch"].concat(selfPositionValues, baselineValues);
values.forEach(function(alignValue) {
values.forEach(function(justifyValue) {
var values = ["auto", "normal", "stretch"].concat(selfPositionValues);
baselineValues.concat(values).forEach(function(alignValue) {
values.concat(["left", "right"]).forEach(function(justifyValue) {
test(function() {
checkPlaceShorhandLonghands("place-self", "align-self", "justify-self", alignValue, justifyValue);
}, "Checking place-self: " + alignValue + " " + justifyValue);
Expand Down
6 changes: 3 additions & 3 deletions css/css-align/self-alignment/place-self-shorthand-006.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<script src="../resources/alignment-parsing-utils.js"></script>
<div id="log"></div>
<script>
var values = ["auto", "normal", "stretch"].concat(selfPositionValues, baselineValues);
values.forEach(function(alignValue) {
[""].concat(values).forEach(function(justifyValue) {
var values = ["auto", "normal", "stretch"].concat(selfPositionValues);
values.concat(baselineValues).forEach(function(alignValue) {
["left", "right"].concat(values).forEach(function(justifyValue) {
var value = (alignValue + " " + justifyValue).trim();
test(function() {
checkPlaceShorhand("place-self", alignValue, justifyValue)
Expand Down
35 changes: 35 additions & 0 deletions css/css-scoping/slotted-invalidation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!doctype html>
<title>CSS Test: Style invalidation for ::slotted()</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="help" href="https://drafts.csswg.org/css-scoping/#slotted-pseudo">
<div id="host">
<div>
<span></span>
<span></span>
</div>
<div id="slotted">
<span></span>
<span></span>
</div>
<div>
<span></span>
<span></span>
</div>
</div>
<script>
test(function() {
var root = host.attachShadow({"mode":"open"});
root.innerHTML = '<style>.outer ::slotted(#slotted) { background-color: red } .outer .inner::slotted(#slotted) { background-color: green }</style><div id="outer"><slot id="inner"></slot></div>';

assert_equals(window.getComputedStyle(slotted).backgroundColor, "rgba(0, 0, 0, 0)");

root.querySelector("#outer").className = "outer";
assert_equals(window.getComputedStyle(slotted).backgroundColor, "rgb(255, 0, 0)");

root.querySelector("#inner").className = "inner";
assert_equals(window.getComputedStyle(slotted).backgroundColor, "rgb(0, 128, 0)");
})
</script>
13 changes: 13 additions & 0 deletions css/css-text/astral-bidi/adlam-anti-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Adlam</title>
<link href="support/adlam.css" rel="stylesheet">
<link href="adlam.html" rel="mismatch">
</head>
<body>
<p><bdo dir="ltr">𞤀𞤁𞤂𞤁𞤄</bdo></p>
<p>U+1E900 U+1E901 U+1E902 U+1E901 U+1E904</p>
</body>
</html>
12 changes: 12 additions & 0 deletions css/css-text/astral-bidi/adlam-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Adlam</title>
<link href="support/adlam.css" rel="stylesheet">
</head>
<body>
<p><bdo dir="rtl">𞤀𞤁𞤂𞤁𞤄</bdo></p>
<p>U+1E900 U+1E901 U+1E902 U+1E901 U+1E904</p>
</body>
</html>
15 changes: 15 additions & 0 deletions css/css-text/astral-bidi/adlam.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Adlam</title>
<link href="support/adlam.css" rel="stylesheet">
<link href="adlam-ref.html" rel="match">
<link href="https://www.unicode.org/roadmaps/smp/" rel="help">
<meta name="assert" content="Upper astral RTL range is treated as RTL.">
</head>
<body>
<p>𞤀𞤁𞤂𞤁𞤄</p>
<p>U+1E900 U+1E901 U+1E902 U+1E901 U+1E904</p>
</body>
</html>
13 changes: 13 additions & 0 deletions css/css-text/astral-bidi/cypriot-anti-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cypriot</title>
<link href="support/cypriot.css" rel="stylesheet">
<link href="cypriot.html" rel="mismatch">
</head>
<body>
<p><bdo dir="ltr">𐠀𐠰𐠦𐠡𐠩</bdo></p>
<p>U+10800 U+10830 U+10826 U+10821 U+10829</p>
</body>
</html>
12 changes: 12 additions & 0 deletions css/css-text/astral-bidi/cypriot-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cypriot</title>
<link href="support/cypriot.css" rel="stylesheet">
</head>
<body>
<p><bdo dir="rtl">𐠀𐠰𐠦𐠡𐠩</bdo></p>
<p>U+10800 U+10830 U+10826 U+10821 U+10829</p>
</body>
</html>
15 changes: 15 additions & 0 deletions css/css-text/astral-bidi/cypriot.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cypriot</title>
<link href="support/cypriot.css" rel="stylesheet">
<link href="cypriot-ref.html" rel="match">
<link href="https://www.unicode.org/roadmaps/smp/" rel="help">
<meta name="assert" content="Lower astral RTL range is treated as RTL.">
</head>
<body>
<p>𐠀𐠰𐠦𐠡𐠩</p>
<p>U+10800 U+10830 U+10826 U+10821 U+10829</p>
</body>
</html>
9 changes: 9 additions & 0 deletions css/css-text/astral-bidi/support/adlam.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@font-face {
font-family: "Noto Sans Adlam";
font-weight: normal;
font-style: normal;
src: url("../../../fonts/noto/NotoSansAdlam-hinted/NotoSansAdlam-Regular.ttf") format("truetype");
}
p {
font-family: "Noto Sans Adlam";
}
9 changes: 9 additions & 0 deletions css/css-text/astral-bidi/support/cypriot.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@font-face {
font-family: "Noto Sans Cypriot";
font-weight: normal;
font-style: normal;
src: url("../../../fonts/noto/NotoSansCypriot-hinted/NotoSansCypriot-Regular.ttf") format("truetype");
}
p {
font-family: "Noto Sans Cypriot";
}
12 changes: 12 additions & 0 deletions css/css-values/calc-ch-ex-lang-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<style>
div {
width: calc(1ex + 1ch + 1em);
height: calc(1ex + 1ch + 1em);
background: green;
}
</style>
<div></div>
16 changes: 16 additions & 0 deletions css/css-values/calc-ch-ex-lang.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test: Calc in font-size with ch / ex units across lang changes</title>
<link rel="help" href="https://drafts.csswg.org/css-values/#ch">
<link rel="help" href="https://drafts.csswg.org/css-values/#ex">
<link rel="help" href="https://drafts.csswg.org/css-values/#funcdef-calc">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1431031">
<link rel="match" href="calc-ch-ex-lang-ref.html">
<style>
div[lang] {
font-size: calc(1ex + 1ch + 1em);
}
</style>
<div lang="en">
<div style="width: 1em; height: 1em; background: green;"></div>
</div>
6 changes: 6 additions & 0 deletions css/css-values/calc-rem-lang-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<p>You should see a green box twice-the-initial-font-size wide.</p>
<div style="width: 2em; height: 2em; background: green;"></div>
17 changes: 17 additions & 0 deletions css/css-values/calc-rem-lang.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html lang="en"><!-- The lang is important! -->
<meta charset="utf-8">
<title>CSS Test: Calc with rem and relative units on the root element</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="help" href="https://drafts.csswg.org/css-values/#rem">
<link rel="help" href="https://drafts.csswg.org/css-values/#funcdef-calc">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1431031">
<link rel="match" href="calc-rem-lang-ref.html">
<style>
html {
font-size: calc(1rem + 1em);
}
</style>
<p style="font-size: initial">You should see a green box twice-the-initial-font-size wide.</p>
<div style="width: 1em; height: 1em; background: green;"></div>
</html>
44 changes: 44 additions & 0 deletions css/cssom-view/elementFromPoint-dynamic-anon-box.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test: Hit testing on element previously hidden by an anonymous scroll box</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1433591">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
html, body {
margin: 0;
padding: 0;
}
/*
Create a hidden scrollbox that occupies the whole viewport, then give it
visibility: hidden dynamically. The link previously under the scrollbox
should be clickable.
*/
.scrollable {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: scroll;
}

.scrollable .inner {
display: table-cell;
width: 100vw;
height: 100vh;
}
</style>
<div class="scrollable">
<div class="inner"></div>
</div>
<a href="#">Should be clickable</a>
<script>
test(function() {
assert_equals(document.elementFromPoint(10, 10).tagName, "DIV",
"Should hit the scrollbox contents");
document.querySelector('div').style.visibility = "hidden";
assert_equals(document.elementFromPoint(10, 10), document.querySelector('a'));
}, "Link should be clickable after hiding a scrollbox with an anonymous table inside");
</script>
Loading