Skip to content

Support [LegacyNullToEmptyString] #870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2020
Merged
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
@@ -18516,7 +18516,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
/** @deprecated */
releaseEvents(): void;
resizeBy(x: number, y: number): void;
resizeTo(x: number, y: number): void;
resizeTo(width: number, height: number): void;
scroll(options?: ScrollToOptions): void;
scroll(x: number, y: number): void;
scrollBy(options?: ScrollToOptions): void;
@@ -19545,7 +19545,7 @@ declare function prompt(message?: string, _default?: string): string | null;
/** @deprecated */
declare function releaseEvents(): void;
declare function resizeBy(x: number, y: number): void;
declare function resizeTo(x: number, y: number): void;
declare function resizeTo(width: number, height: number): void;
declare function scroll(options?: ScrollToOptions): void;
declare function scroll(x: number, y: number): void;
declare function scrollBy(options?: ScrollToOptions): void;
18 changes: 9 additions & 9 deletions inputfiles/idl/CSS Animations.widl
Original file line number Diff line number Diff line change
@@ -40,13 +40,13 @@ partial interface mixin GlobalEventHandlers {
};

partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationName;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationDuration;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationTimingFunction;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationIterationCount;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationDirection;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationPlayState;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationDelay;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animationFillMode;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString animation;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationName;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationDuration;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationTimingFunction;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationIterationCount;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationDirection;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationPlayState;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationDelay;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animationFillMode;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString animation;
};
40 changes: 20 additions & 20 deletions inputfiles/idl/CSS Backgrounds and Borders Level 4.widl
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPosition;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionX;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionY;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionInline;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionBlock;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundClip;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString cornerShape;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString corners;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLimit;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClip;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipTop;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipRight;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipBottom;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipLeft;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundPosition;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundPositionX;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundPositionY;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundPositionInline;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundPositionBlock;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundClip;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderTopColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderRightColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderBottomColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderLeftColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderRadius;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString cornerShape;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString corners;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderLimit;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderClip;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderClipTop;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderClipRight;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderClipBottom;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderClipLeft;
};
82 changes: 41 additions & 41 deletions inputfiles/idl/CSS Backgrounds and Borders.widl
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundImage;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundRepeat;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundAttachment;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPosition;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundClip;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundOrigin;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString background;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTop;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRight;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottom;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeft;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString border;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopLeftRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopRightRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomRightRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomLeftRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageSource;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageSlice;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageOutset;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageRepeat;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImage;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString boxShadow;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundImage;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundRepeat;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundAttachment;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundPosition;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundClip;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundOrigin;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString backgroundSize;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString background;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderTopColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderRightColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderBottomColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderLeftColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderTopStyle;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderRightStyle;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderBottomStyle;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderLeftStyle;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderStyle;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderTopWidth;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderRightWidth;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderBottomWidth;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderLeftWidth;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderWidth;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderTop;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderRight;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderBottom;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderLeft;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString border;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderTopLeftRadius;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderTopRightRadius;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderBottomRightRadius;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderBottomLeftRadius;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderRadius;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderImageSource;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderImageSlice;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderImageWidth;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderImageOutset;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderImageRepeat;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString borderImage;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString boxShadow;
};
20 changes: 10 additions & 10 deletions inputfiles/idl/CSS Basic User Interface.widl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString boxSizing;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString outline;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString outlineWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString outlineStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString outlineColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString outlineOffset;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString resize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textOverflow;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString cursor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString caretColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString boxSizing;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString outline;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString outlineWidth;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString outlineStyle;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString outlineColor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString outlineOffset;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString resize;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString textOverflow;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString cursor;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString caretColor;
};
30 changes: 15 additions & 15 deletions inputfiles/idl/CSS Box Alignment.widl
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString alignContent;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString justifyContent;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString placeContent;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString justifySelf;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString alignSelf;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString placeSelf;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString justifyItems;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString alignItems;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString placeItems;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString rowGap;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString columnGap;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString gap;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString gridRowGap;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString gridColumnGap;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString gridGap;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString alignContent;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString justifyContent;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString placeContent;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString justifySelf;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString alignSelf;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString placeSelf;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString justifyItems;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString alignItems;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString placeItems;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString rowGap;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString columnGap;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString gap;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString gridRowGap;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString gridColumnGap;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString gridGap;
};
2 changes: 1 addition & 1 deletion inputfiles/idl/CSS Cascading and Inheritance.widl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString all;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString all;
};
4 changes: 2 additions & 2 deletions inputfiles/idl/CSS Color.widl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString color;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString opacity;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString color;
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString opacity;
};
Loading