Skip to content

Commit

Permalink
chrome 118
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Oct 13, 2023
1 parent f62c66f commit f36eda4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/main/java/org/htmlunit/css/StyleAttributes.java
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ public enum Definition {
FONT_VARIANT_NUMERIC_("font-variant-numeric", "font-variant-numeric", ffNormal()),

/** The style property {@code fontVariantPosition}. */
FONT_VARIANT_POSITION("fontVariantPosition", "font-variant-position", ffNormal()),
FONT_VARIANT_POSITION("fontVariantPosition", "font-variant-position", ffNormal(), chrome("normal")),

/** The style property {@code font-variant-position}. */
FONT_VARIANT_POSITION_("font-variant-position", "font-variant-position", ffNormal()),
Expand Down Expand Up @@ -2700,6 +2700,9 @@ public enum Definition {
/** The style property {@code overflow-y}. */
OVERFLOW_Y_("overflow-y", "overflow-y", ff("visible")),

/** The style property {@code overlay}. */
OVERLAY("overlay", "overlay", chrome("none")),

/** The style property {@code overrideColors}. */
OVERRIDE_COLOR("overrideColors", "override-colors", chromeAndEdgeEmpty()),

Expand Down Expand Up @@ -3560,6 +3563,9 @@ public enum Definition {
TRANSITION("transition", "transition", ie(""), chromeAndEdge("all 0s ease 0s"),
ff("all 0s ease 0s")),

/** The style property {@code transitionDelay}. */
TRANSITION_BEHAVIOR("transitionBehavior", "transition-behavior", chrome("normal")),

/** The style property {@code transitionDelay}. */
TRANSITION_DELAY("transitionDelay", "transition-delay", ff("0s"), ie("0s"), chromeAndEdge("0s")),

Expand Down Expand Up @@ -3627,7 +3633,7 @@ public enum Definition {
VIEW_TIMELINE_AXIS("viewTimelineAxis", "view-timeline-axis", chromeAndEdge("block")),

/** The style property {@code viewTimelineInset}. */
VIEW_TIMELINE_INSET("viewTimelineInset", "view-timeline-inset", chromeAndEdge("0px")),
VIEW_TIMELINE_INSET("viewTimelineInset", "view-timeline-inset", chrome("auto"), edge("0px")),

/** The style property {@code viewTimelineName}. */
VIEW_TIMELINE_NAME("viewTimelineName", "view-timeline-name", chromeAndEdgeNone()),
Expand Down Expand Up @@ -4158,7 +4164,7 @@ public enum Definition {
WEBKIT_FONT_SMOOTHING("webkitFontSmoothing", "webkit-font-smoothing", chromeAndEdgeAuto()),

/** The style property {@code webkitHighlight}. */
WEBKIT_HIGHLIGHT("webkitHighlight", "webkit-highlight", chromeAndEdgeNone()),
WEBKIT_HIGHLIGHT("webkitHighlight", "webkit-highlight", edge("none")),

/** The style property {@code webkitHyphenateCharacter}. */
WEBKIT_HYPHENATE_CHARACTER("webkitHyphenateCharacter", "webkit-hyphenate-character", chromeAndEdgeAuto()),
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/org/htmlunit/general/HostClassNameTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5106,6 +5106,8 @@ public void isNaN() throws Exception {
@Alerts(DEFAULT = "exception",
CHROME = "function Iterator() { [native code] }",
EDGE = "function Iterator() { [native code] }")
@HtmlUnitNYI(CHROME = "exception",
EDGE = "exception")
public void iterator() throws Exception {
test("Iterator");
}
Expand Down

0 comments on commit f36eda4

Please sign in to comment.