-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not define CSSPropertyRule.initialValue as nullable
It should return empty string instead of null, when the descriptor is omitted. w3c/css-houdini-drafts#1115
- Loading branch information
Showing
3 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
|
||
// https://drafts.css-houdini.org/css-properties-values-api-1/#csspropertyrule | ||
// https://github.com/w3c/css-houdini-drafts/issues/1115 | ||
[Exposed=Window] | ||
interface CSSPropertyRule : CSSRule { | ||
readonly attribute boolean inherits; | ||
readonly attribute CSSOMString? initialValue; | ||
readonly attribute CSSOMString initialValue; | ||
readonly attribute CSSOMString name; | ||
readonly attribute CSSOMString syntax; | ||
}; |