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

Unified Diff: third_party/WebKit/LayoutTests/csspaint/registerPaint.html

Issue 2077413005: Add "alpha" option to PaintWorklet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 4 years, 6 months 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/csspaint/registerPaint.html
diff --git a/third_party/WebKit/LayoutTests/csspaint/registerPaint.html b/third_party/WebKit/LayoutTests/csspaint/registerPaint.html
index 6dfda05e27e2866554e17a4e25ca6524baa8aa7b..ef8da844d08f6b0eda677798c79098aa696071b8 100644
--- a/third_party/WebKit/LayoutTests/csspaint/registerPaint.html
+++ b/third_party/WebKit/LayoutTests/csspaint/registerPaint.html
@@ -59,6 +59,9 @@ function runTest() {
}, {
expectedMessage: "-webkit-border-radius is a prefixed property which is not supported.",
script: "registerPaint('foo11', class { static get inputProperties() { return ['-webkit-border-radius']; } paint() { } });"
+ }, {
+ expectedError: "The 'alpha' property on the class is not a boolean.",
+ script: "registerPaint('foo12', class { static get alpha() { return 42; } });",
ikilpatrick 2016/06/22 16:00:24 can you also add a registerPaint that should pass
Gleb Lanbin 2016/06/22 21:23:45 Done.
}]);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698