Skip to content

Commit d008a96

Browse files
committed
add Images types
1 parent b08845e commit d008a96

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

baselines/dom.generated.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2603,6 +2603,8 @@ interface CSSStyleDeclaration {
26032603
gridTemplateColumns: string | null;
26042604
gridTemplateRows: string | null;
26052605
height: string | null;
2606+
imageOrientation: string;
2607+
imageRendering: string;
26062608
imeMode: string | null;
26072609
justifyContent: string | null;
26082610
justifyItems: string | null;
@@ -2685,8 +2687,8 @@ interface CSSStyleDeclaration {
26852687
msWrapFlow: string;
26862688
msWrapMargin: any;
26872689
msWrapThrough: string;
2688-
objectFit: string | null;
2689-
objectPosition: string | null;
2690+
objectFit: string;
2691+
objectPosition: string;
26902692
opacity: string | null;
26912693
order: string | null;
26922694
orphans: string | null;

inputfiles/idl/CSS Images.widl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
partial interface CSSStyleDeclaration {
2+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString objectFit;
3+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString objectPosition;
4+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString imageOrientation;
5+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString imageRendering;
6+
};

inputfiles/idlSources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"url": "https://www.w3.org/TR/css-animations-1/",
1313
"title": "CSS Animations"
1414
},
15+
{
16+
"url": "https://drafts.csswg.org/css-images-3/",
17+
"title": "CSS Images"
18+
},
1519
{
1620
"url": "https://drafts.csswg.org/cssom-view/",
1721
"title": "CSSOM View"

0 commit comments

Comments
 (0)