Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-setMatrixValue.html

Issue 2516973002: [GeometryInferface] add Constructor(DOMString transformList). (Closed)
Patch Set: [GeometryInferface] add Constructor(DOMString transformList). Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-setMatrixValue.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-setMatrixValue.html b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-setMatrixValue.html
index 8aa4e182ad06a02cfdce41f8d13ab0b356d23ef4..b4f837ab6c40e8ecec1662fd473acb23ec555e3c 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-setMatrixValue.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-setMatrixValue.html
@@ -238,56 +238,56 @@ test(() => {
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("initial");
- }, "CSS-wide keywords are disallowed.");
+ }, "CSS-wide keywords are disallowed");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("notExistFunction()");
- }, "can't parse not exist function.");
+ }, "can't parse not exist function");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateY(50%)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(1.2em)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(10ex)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(10ch)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(10rem)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(10vw)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(10vh)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(10vmin)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(10vmax)");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
assert_throws(new SyntaxError(), () => {
actualMatrix.setMatrixValue("translateX(calc(10px + 1em))");
- }, "Can't parse without absolute unit.");
+ }, "using relative units should throw a SyntaxError");
//actualMatrix should be not changed.
assert_true(actualMatrix.is2D);
assert_matrix_almost_equals(actualMatrix, expectedMatrix);
-}, "DOMMatrix.setMatrix(): Exception test.");
+}, "DOMMatrix.setMatrix(): Exception test");
</script>

Powered by Google App Engine
This is Rietveld 408576698