From: <rb...@us...> - 2018-04-22 09:26:16
|
Revision: 15249 http://sourceforge.net/p/htmlunit/code/15249 Author: rbri Date: 2018-04-22 09:24:21 +0000 (Sun, 22 Apr 2018) Log Message: ----------- latest chrome (wip) Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java 2018-04-22 09:03:42 UTC (rev 15248) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes.java 2018-04-22 09:24:21 UTC (rev 15249) @@ -983,6 +983,9 @@ GLYPH_ORIENTATION_VERTICAL("glyphOrientationVertical", "glyph-orientation-vertical", ie("auto")), + /** The style property {@code gap}. */ + GAP("gap", "gap", chrome("normal normal")), + /** The style property {@code grid}. */ GRID("grid", "grid", chrome("none / none / none / row / auto / auto"), ff52up("")), @@ -1024,7 +1027,7 @@ GRID_COLUMN_END_("grid-column-end", "grid-column-end", ff52up("auto")), /** The style property {@code gridColumnGap}. */ - GRID_COLUMN_GAP("gridColumnGap", "grid-column-gap", chrome("0px"), ff52up("0px")), + GRID_COLUMN_GAP("gridColumnGap", "grid-column-gap", chrome("normal"), ff52up("0px")), /** The style property {@code grid-column-gap}. */ GRID_COLUMN_GAP_("grid-column-gap", "grid-column-gap", ff52up("0px")), @@ -1036,7 +1039,7 @@ GRID_COLUMN_START_("grid-column-start", "grid-column-start", ff52up("auto")), /** The style property {@code gridGap}. */ - GRID_GAP("gridGap", "grid-gap", chrome("0px 0px"), ff52up("")), + GRID_GAP("gridGap", "grid-gap", chrome("normal normal"), ff52up("")), /** The style property {@code grid-gap}. */ GRID_GAP_("grid-gap", "grid-gap", ff52up("")), @@ -1054,7 +1057,7 @@ GRID_ROW_END_("grid-row-end", "grid-row-end", ff52up("auto")), /** The style property {@code gridRowGap}. */ - GRID_ROW_GAP("gridRowGap", "grid-row-gap", chrome("0px"), ff52up("0px")), + GRID_ROW_GAP("gridRowGap", "grid-row-gap", chrome("normal"), ff52up("0px")), /** The style property {@code grid-row-gap}. */ GRID_ROW_GAP_("grid-row-gap", "grid-row-gap", ff52up("0px")), @@ -2467,6 +2470,9 @@ /** The style property {@code right}. */ RIGHT("right", "right", chrome("auto"), ff(""), ie("")), + /** The style property {@code rowGap}. */ + ROW_GAP("rowGap", "rowGap", chrome("normal")), + /** The style property {@code rubyAlign}. */ RUBY_ALIGN("rubyAlign", "ruby-align", ff("space-around"), ie("")), Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java 2018-04-22 09:03:42 UTC (rev 15248) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java 2018-04-22 09:24:21 UTC (rev 15249) @@ -1914,6 +1914,7 @@ */ @Test @Alerts(DEFAULT = {"0", "24"}, + CHROME = {"0", "23"}, FF = {"0", "26"}) @NotYetImplemented public void offsetHeightTable() throws Exception { Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt 2018-04-22 09:03:42 UTC (rev 15248) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt 2018-04-22 09:24:21 UTC (rev 15249) @@ -132,6 +132,7 @@ fontVariantNumeric fontVariationSettings fontWeight +gap grid gridArea gridAutoColumns @@ -234,6 +235,7 @@ r resize right +rowGap rx ry scrollBehavior Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt 2018-04-22 09:03:42 UTC (rev 15248) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt 2018-04-22 09:24:21 UTC (rev 15249) @@ -132,6 +132,7 @@ fontVariantNumeric fontVariationSettings fontWeight +gap grid gridArea gridAutoColumns @@ -233,6 +234,7 @@ r resize right +rowGap rx ry scrollBehavior Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt 2018-04-22 09:03:42 UTC (rev 15248) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.Chrome.txt 2018-04-22 09:24:21 UTC (rev 15249) @@ -132,6 +132,7 @@ fontVariantNumeric=:normal fontVariationSettings=:normal fontWeight=:400 +gap=:normal normal grid=:none / none / none / row / auto / auto gridArea=:auto / auto / auto / auto gridAutoColumns=:auto @@ -139,12 +140,12 @@ gridAutoRows=:auto gridColumn=:auto / auto gridColumnEnd=:auto -gridColumnGap=:0px +gridColumnGap=:normal gridColumnStart=:auto -gridGap=:0px 0px +gridGap=:normal normal gridRow=:auto / auto gridRowEnd=:auto -gridRowGap=:0px +gridRowGap=:normal gridRowStart=:auto gridTemplate=:none / none / none gridTemplateAreas=:none @@ -233,6 +234,7 @@ r=:0px resize=:none right=:auto +rowGap=:normal rx=:auto ry=:auto scrollBehavior=:auto Modified: trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt =================================================================== --- trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt 2018-04-22 09:03:42 UTC (rev 15248) +++ trunk/htmlunit/src/test/resources/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.properties.notAttached.Chrome.txt 2018-04-22 09:24:21 UTC (rev 15249) @@ -132,6 +132,7 @@ fontVariantNumeric=: fontVariationSettings=: fontWeight=: +gap=: grid=: gridArea=: gridAutoColumns=: @@ -233,6 +234,7 @@ r=: resize=: right=: +rowGap=: rx=: ry=: scrollBehavior=: |