From b5b634438ecf2c90b59f690553d2076c5745b128 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Thu, 6 Feb 2025 18:55:23 +0100 Subject: [PATCH] working on chrome 133 --- .../htmlunit/general/ElementOwnPropertiesTest.java | 3 +++ .../org/htmlunit/general/ElementPropertiesTest.java | 12 ++++++++---- src/test/java/org/htmlunit/html/HtmlForm2Test.java | 3 +-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java index e82a234060..e6a8541c98 100644 --- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java @@ -15698,6 +15698,9 @@ public void range() throws Exception { FF_ESR = "append(),childElementCount[GCE],children[GCE],constructor(),firstElementChild[GCE]," + "getElementById(),lastElementChild[GCE],prepend(),querySelector(),querySelectorAll()," + "replaceChildren()") + @HtmlUnitNYI(CHROME = "append(),childElementCount[GCE],children[GCE],constructor(),firstElementChild[GCE]," + + "getElementById(),lastElementChild[GCE],prepend(),querySelector(),querySelectorAll()," + + "replaceChildren()") public void documentFragment() throws Exception { testString("", "document.createDocumentFragment()"); } diff --git a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java index c17f706ca2..03b7040d9c 100644 --- a/src/test/java/org/htmlunit/general/ElementPropertiesTest.java +++ b/src/test/java/org/htmlunit/general/ElementPropertiesTest.java @@ -6955,7 +6955,8 @@ public void nodeListButtonLabels() throws Exception { + "positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility," + "prefix,quotes,r,range,removeProperty(),resize,right," + "rotate,rowGap,rubyAlign,rubyPosition,rx,ry," - + "scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock," + + "scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollInitialTarget," + + "scrollMargin,scrollMarginBlock," + "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline," + "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop," + "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart," @@ -6965,7 +6966,8 @@ public void nodeListButtonLabels() throws Exception { + "setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size," + "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset," + "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax," - + "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration," + + "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor," + + "textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration," + "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle," + "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle," + "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim," @@ -7085,7 +7087,8 @@ public void nodeListButtonLabels() throws Exception { + "positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility," + "prefix,quotes,r,range,removeProperty(),resize,right," + "rotate,rowGap,rubyAlign,rubyPosition,rx,ry," - + "scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock," + + "scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollInitialTarget," + + "scrollMargin,scrollMarginBlock," + "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline," + "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop," + "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart," @@ -7095,7 +7098,8 @@ public void nodeListButtonLabels() throws Exception { + "setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size," + "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset," + "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax," - + "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration," + + "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor," + + "textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration," + "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle," + "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle," + "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim," diff --git a/src/test/java/org/htmlunit/html/HtmlForm2Test.java b/src/test/java/org/htmlunit/html/HtmlForm2Test.java index e168223ef2..71b1415861 100644 --- a/src/test/java/org/htmlunit/html/HtmlForm2Test.java +++ b/src/test/java/org/htmlunit/html/HtmlForm2Test.java @@ -397,8 +397,7 @@ public void originRefererHeaderPost() throws Exception { @Alerts(DEFAULT = "text/html,application/xhtml+xml,application/xml;q=0.9," + "image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", FF = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", - FF_ESR = "text/html,application/xhtml+xml,application/xml;q=0.9," - + "image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8") + FF_ESR = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8") public void acceptHeader() throws Exception { final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_