Commit 6736a31
committed
[@Property] Failing to provide intialValue in registerProperty with non-universal syntax should throw
https://bugs.webkit.org/show_bug.cgi?id=250556
<rdar://problem/104254311>
Reviewed by Simon Fraser.
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/register-property-expected.txt:
* Source/WebCore/css/DOMCSSRegisterCustomProperty.cpp:
(WebCore::DOMCSSRegisterCustomProperty::registerProperty):
Throw is needed.
Canonical link: https://commits.webkit.org/258909@main1 parent b922a9d commit 6736a31
File tree
2 files changed
+4
-1
lines changed- LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api
- Source/WebCore/css
2 files changed
+4
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments