Skip to content

Commit b49dd5e

Browse files
committed
1 parent 4e021b4 commit b49dd5e

28 files changed

Lines changed: 724 additions & 724 deletions

org/w3c/css/properties/CSS3Properties.properties

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,17 @@ scroll-padding-left: org.w3c.css.properties.css3.CssScrollPad
7171
scroll-padding-right: org.w3c.css.properties.css3.CssScrollPaddingRight
7272
scroll-padding-top: org.w3c.css.properties.css3.CssScrollPaddingTop
7373
scroll-snap-align: org.w3c.css.properties.css3.CssScrollSnapAlign
74-
scroll-snap-margin: org.w3c.css.properties.css3.CssScrollSnapMargin
75-
scroll-snap-margin-block: org.w3c.css.properties.css3.CssScrollSnapMarginBlock
76-
scroll-snap-margin-block-end: org.w3c.css.properties.css3.CssScrollSnapMarginBlockEnd
77-
scroll-snap-margin-block-start: org.w3c.css.properties.css3.CssScrollSnapMarginBlockStart
78-
scroll-snap-margin-bottom: org.w3c.css.properties.css3.CssScrollSnapMarginBottom
79-
scroll-snap-margin-inline: org.w3c.css.properties.css3.CssScrollSnapMarginInline
80-
scroll-snap-margin-inline-end: org.w3c.css.properties.css3.CssScrollSnapMarginInlineEnd
81-
scroll-snap-margin-inline-start: org.w3c.css.properties.css3.CssScrollSnapMarginInlineStart
82-
scroll-snap-margin-left: org.w3c.css.properties.css3.CssScrollSnapMarginLeft
83-
scroll-snap-margin-right: org.w3c.css.properties.css3.CssScrollSnapMarginRight
84-
scroll-snap-margin-top: org.w3c.css.properties.css3.CssScrollSnapMarginTop
74+
scroll-margin: org.w3c.css.properties.css3.CssScrollMargin
75+
scroll-margin-block: org.w3c.css.properties.css3.CssScrollMarginBlock
76+
scroll-margin-block-end: org.w3c.css.properties.css3.CssScrollMarginBlockEnd
77+
scroll-margin-block-start: org.w3c.css.properties.css3.CssScrollMarginBlockStart
78+
scroll-margin-bottom: org.w3c.css.properties.css3.CssScrollMarginBottom
79+
scroll-margin-inline: org.w3c.css.properties.css3.CssScrollMarginInline
80+
scroll-margin-inline-end: org.w3c.css.properties.css3.CssScrollMarginInlineEnd
81+
scroll-margin-inline-start: org.w3c.css.properties.css3.CssScrollMarginInlineStart
82+
scroll-margin-left: org.w3c.css.properties.css3.CssScrollMarginLeft
83+
scroll-margin-right: org.w3c.css.properties.css3.CssScrollMarginRight
84+
scroll-margin-top: org.w3c.css.properties.css3.CssScrollMarginTop
8585
scroll-snap-stop: org.w3c.css.properties.css3.CssScrollSnapStop
8686
scroll-snap-type: org.w3c.css.properties.css3.CssScrollSnapType
8787

org/w3c/css/properties/css/CssScrollSnapMarginTop.java renamed to org/w3c/css/properties/css/CssScrollMargin.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
/**
1616
* @since CSS3
1717
*/
18-
public class CssScrollSnapMarginTop extends CssProperty {
18+
public class CssScrollMargin extends CssProperty {
1919

2020
public CssValue value;
2121

2222
/**
23-
* Create a new CssScrollSnapMarginTop
23+
* Create a new CssScrollMargin
2424
*/
25-
public CssScrollSnapMarginTop() {
25+
public CssScrollMargin() {
2626
}
2727

2828
/**
29-
* Creates a new CssScrollSnapMarginTop
29+
* Creates a new CssScrollMargin
3030
*
3131
* @param expression The expression for this property
3232
* @throws org.w3c.css.util.InvalidParamException
3333
* Expressions are incorrect
3434
*/
35-
public CssScrollSnapMarginTop(ApplContext ac, CssExpression expression, boolean check)
35+
public CssScrollMargin(ApplContext ac, CssExpression expression, boolean check)
3636
throws InvalidParamException {
3737
throw new InvalidParamException("value",
3838
expression.getValue().toString(),
3939
getPropertyName(), ac);
4040
}
4141

42-
public CssScrollSnapMarginTop(ApplContext ac, CssExpression expression)
42+
public CssScrollMargin(ApplContext ac, CssExpression expression)
4343
throws InvalidParamException {
4444
this(ac, expression, false);
4545
}
@@ -56,7 +56,7 @@ public Object get() {
5656
* Returns the name of this property
5757
*/
5858
public final String getPropertyName() {
59-
return "scroll-snap-margin-top";
59+
return "scroll-margin";
6060
}
6161

6262
/**
@@ -81,10 +81,10 @@ public String toString() {
8181
*/
8282
public void addToStyle(ApplContext ac, CssStyle style) {
8383
Css3Style s = (Css3Style) style;
84-
if (s.cssScrollSnapMarginTop != null) {
84+
if (s.cssScrollMargin != null) {
8585
style.addRedefinitionWarning(ac, this);
8686
}
87-
s.cssScrollSnapMarginTop = this;
87+
s.cssScrollMargin = this;
8888
}
8989

9090

@@ -94,8 +94,8 @@ public void addToStyle(ApplContext ac, CssStyle style) {
9494
* @param property The other property.
9595
*/
9696
public boolean equals(CssProperty property) {
97-
return (property instanceof CssScrollSnapMarginTop &&
98-
value.equals(((CssScrollSnapMarginTop) property).value));
97+
return (property instanceof CssScrollMargin &&
98+
value.equals(((CssScrollMargin) property).value));
9999
}
100100

101101

@@ -107,9 +107,9 @@ public boolean equals(CssProperty property) {
107107
*/
108108
public CssProperty getPropertyInStyle(CssStyle style, boolean resolve) {
109109
if (resolve) {
110-
return ((Css3Style) style).getScrollSnapMarginTop();
110+
return ((Css3Style) style).getScrollMargin();
111111
} else {
112-
return ((Css3Style) style).cssScrollSnapMarginTop;
112+
return ((Css3Style) style).cssScrollMargin;
113113
}
114114
}
115115
}

org/w3c/css/properties/css/CssScrollSnapMarginRight.java renamed to org/w3c/css/properties/css/CssScrollMarginBlock.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
/**
1616
* @since CSS3
1717
*/
18-
public class CssScrollSnapMarginRight extends CssProperty {
18+
public class CssScrollMarginBlock extends CssProperty {
1919

2020
public CssValue value;
2121

2222
/**
23-
* Create a new CssScrollSnapMarginRight
23+
* Create a new CssScrollMarginBlock
2424
*/
25-
public CssScrollSnapMarginRight() {
25+
public CssScrollMarginBlock() {
2626
}
2727

2828
/**
29-
* Creates a new CssScrollSnapMarginRight
29+
* Creates a new CssScrollMarginBlock
3030
*
3131
* @param expression The expression for this property
3232
* @throws org.w3c.css.util.InvalidParamException
3333
* Expressions are incorrect
3434
*/
35-
public CssScrollSnapMarginRight(ApplContext ac, CssExpression expression, boolean check)
35+
public CssScrollMarginBlock(ApplContext ac, CssExpression expression, boolean check)
3636
throws InvalidParamException {
3737
throw new InvalidParamException("value",
3838
expression.getValue().toString(),
3939
getPropertyName(), ac);
4040
}
4141

42-
public CssScrollSnapMarginRight(ApplContext ac, CssExpression expression)
42+
public CssScrollMarginBlock(ApplContext ac, CssExpression expression)
4343
throws InvalidParamException {
4444
this(ac, expression, false);
4545
}
@@ -56,7 +56,7 @@ public Object get() {
5656
* Returns the name of this property
5757
*/
5858
public final String getPropertyName() {
59-
return "scroll-snap-margin-right";
59+
return "scroll-margin-block";
6060
}
6161

6262
/**
@@ -81,10 +81,10 @@ public String toString() {
8181
*/
8282
public void addToStyle(ApplContext ac, CssStyle style) {
8383
Css3Style s = (Css3Style) style;
84-
if (s.cssScrollSnapMarginRight != null) {
84+
if (s.cssScrollMarginBlock != null) {
8585
style.addRedefinitionWarning(ac, this);
8686
}
87-
s.cssScrollSnapMarginRight = this;
87+
s.cssScrollMarginBlock = this;
8888
}
8989

9090

@@ -94,8 +94,8 @@ public void addToStyle(ApplContext ac, CssStyle style) {
9494
* @param property The other property.
9595
*/
9696
public boolean equals(CssProperty property) {
97-
return (property instanceof CssScrollSnapMarginRight &&
98-
value.equals(((CssScrollSnapMarginRight) property).value));
97+
return (property instanceof CssScrollMarginBlock &&
98+
value.equals(((CssScrollMarginBlock) property).value));
9999
}
100100

101101

@@ -107,9 +107,9 @@ public boolean equals(CssProperty property) {
107107
*/
108108
public CssProperty getPropertyInStyle(CssStyle style, boolean resolve) {
109109
if (resolve) {
110-
return ((Css3Style) style).getScrollSnapMarginRight();
110+
return ((Css3Style) style).getScrollMarginBlock();
111111
} else {
112-
return ((Css3Style) style).cssScrollSnapMarginRight;
112+
return ((Css3Style) style).cssScrollMarginBlock;
113113
}
114114
}
115115
}

org/w3c/css/properties/css/CssScrollSnapMarginLeft.java renamed to org/w3c/css/properties/css/CssScrollMarginBlockEnd.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
/**
1616
* @since CSS3
1717
*/
18-
public class CssScrollSnapMarginLeft extends CssProperty {
18+
public class CssScrollMarginBlockEnd extends CssProperty {
1919

2020
public CssValue value;
2121

2222
/**
23-
* Create a new CssScrollSnapMarginLeft
23+
* Create a new CssScrollMarginBlockEnd
2424
*/
25-
public CssScrollSnapMarginLeft() {
25+
public CssScrollMarginBlockEnd() {
2626
}
2727

2828
/**
29-
* Creates a new CssScrollSnapMarginLeft
29+
* Creates a new CssScrollMarginBlockEnd
3030
*
3131
* @param expression The expression for this property
3232
* @throws org.w3c.css.util.InvalidParamException
3333
* Expressions are incorrect
3434
*/
35-
public CssScrollSnapMarginLeft(ApplContext ac, CssExpression expression, boolean check)
35+
public CssScrollMarginBlockEnd(ApplContext ac, CssExpression expression, boolean check)
3636
throws InvalidParamException {
3737
throw new InvalidParamException("value",
3838
expression.getValue().toString(),
3939
getPropertyName(), ac);
4040
}
4141

42-
public CssScrollSnapMarginLeft(ApplContext ac, CssExpression expression)
42+
public CssScrollMarginBlockEnd(ApplContext ac, CssExpression expression)
4343
throws InvalidParamException {
4444
this(ac, expression, false);
4545
}
@@ -56,7 +56,7 @@ public Object get() {
5656
* Returns the name of this property
5757
*/
5858
public final String getPropertyName() {
59-
return "scroll-snap-margin-left";
59+
return "scroll-margin-block-end";
6060
}
6161

6262
/**
@@ -81,10 +81,10 @@ public String toString() {
8181
*/
8282
public void addToStyle(ApplContext ac, CssStyle style) {
8383
Css3Style s = (Css3Style) style;
84-
if (s.cssScrollSnapMarginLeft != null) {
84+
if (s.cssScrollMarginBlockEnd != null) {
8585
style.addRedefinitionWarning(ac, this);
8686
}
87-
s.cssScrollSnapMarginLeft = this;
87+
s.cssScrollMarginBlockEnd = this;
8888
}
8989

9090

@@ -94,8 +94,8 @@ public void addToStyle(ApplContext ac, CssStyle style) {
9494
* @param property The other property.
9595
*/
9696
public boolean equals(CssProperty property) {
97-
return (property instanceof CssScrollSnapMarginLeft &&
98-
value.equals(((CssScrollSnapMarginLeft) property).value));
97+
return (property instanceof CssScrollMarginBlockEnd &&
98+
value.equals(((CssScrollMarginBlockEnd) property).value));
9999
}
100100

101101

@@ -107,9 +107,9 @@ public boolean equals(CssProperty property) {
107107
*/
108108
public CssProperty getPropertyInStyle(CssStyle style, boolean resolve) {
109109
if (resolve) {
110-
return ((Css3Style) style).getScrollSnapMarginLeft();
110+
return ((Css3Style) style).getScrollMarginBlockEnd();
111111
} else {
112-
return ((Css3Style) style).cssScrollSnapMarginLeft;
112+
return ((Css3Style) style).cssScrollMarginBlockEnd;
113113
}
114114
}
115115
}

org/w3c/css/properties/css/CssScrollSnapMarginInline.java renamed to org/w3c/css/properties/css/CssScrollMarginBlockStart.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
/**
1616
* @since CSS3
1717
*/
18-
public class CssScrollSnapMarginInline extends CssProperty {
18+
public class CssScrollMarginBlockStart extends CssProperty {
1919

2020
public CssValue value;
2121

2222
/**
23-
* Create a new CssScrollSnapMarginInline
23+
* Create a new CssScrollMarginBlockStart
2424
*/
25-
public CssScrollSnapMarginInline() {
25+
public CssScrollMarginBlockStart() {
2626
}
2727

2828
/**
29-
* Creates a new CssScrollSnapMarginInline
29+
* Creates a new CssScrollMarginBlockStart
3030
*
3131
* @param expression The expression for this property
3232
* @throws org.w3c.css.util.InvalidParamException
3333
* Expressions are incorrect
3434
*/
35-
public CssScrollSnapMarginInline(ApplContext ac, CssExpression expression, boolean check)
35+
public CssScrollMarginBlockStart(ApplContext ac, CssExpression expression, boolean check)
3636
throws InvalidParamException {
3737
throw new InvalidParamException("value",
3838
expression.getValue().toString(),
3939
getPropertyName(), ac);
4040
}
4141

42-
public CssScrollSnapMarginInline(ApplContext ac, CssExpression expression)
42+
public CssScrollMarginBlockStart(ApplContext ac, CssExpression expression)
4343
throws InvalidParamException {
4444
this(ac, expression, false);
4545
}
@@ -56,7 +56,7 @@ public Object get() {
5656
* Returns the name of this property
5757
*/
5858
public final String getPropertyName() {
59-
return "scroll-snap-margin-inline";
59+
return "scroll-margin-block-start";
6060
}
6161

6262
/**
@@ -81,10 +81,10 @@ public String toString() {
8181
*/
8282
public void addToStyle(ApplContext ac, CssStyle style) {
8383
Css3Style s = (Css3Style) style;
84-
if (s.cssScrollSnapMarginInline != null) {
84+
if (s.cssScrollMarginBlockStart != null) {
8585
style.addRedefinitionWarning(ac, this);
8686
}
87-
s.cssScrollSnapMarginInline = this;
87+
s.cssScrollMarginBlockStart = this;
8888
}
8989

9090

@@ -94,8 +94,8 @@ public void addToStyle(ApplContext ac, CssStyle style) {
9494
* @param property The other property.
9595
*/
9696
public boolean equals(CssProperty property) {
97-
return (property instanceof CssScrollSnapMarginInline &&
98-
value.equals(((CssScrollSnapMarginInline) property).value));
97+
return (property instanceof CssScrollMarginBlockStart &&
98+
value.equals(((CssScrollMarginBlockStart) property).value));
9999
}
100100

101101

@@ -107,9 +107,9 @@ public boolean equals(CssProperty property) {
107107
*/
108108
public CssProperty getPropertyInStyle(CssStyle style, boolean resolve) {
109109
if (resolve) {
110-
return ((Css3Style) style).getScrollSnapMarginInline();
110+
return ((Css3Style) style).getScrollMarginBlockStart();
111111
} else {
112-
return ((Css3Style) style).cssScrollSnapMarginInline;
112+
return ((Css3Style) style).cssScrollMarginBlockStart;
113113
}
114114
}
115115
}

0 commit comments

Comments
 (0)