Skip to content

Commit b36f485

Browse files
committed
Chrome/Edge 149
1 parent 7704abc commit b36f485

15 files changed

Lines changed: 650 additions & 0 deletions

src/main/java/org/htmlunit/css/StyleAttributes.java

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,19 +925,55 @@ public enum Definition {
925925
COLUMN_RULE_("column-rule", "column-rule",
926926
ffEsr("0px none rgb(0, 0, 0)"), ffLatest("3px none rgb(0, 0, 0)")),
927927

928+
/** The style property {@code columnRuleBreak}. */
929+
COLUMN_RULE_BREAK("columnRuleBreak", "column-rule-break", chromeAndEdgeNormal()),
930+
928931
/** The style property {@code columnRuleColor}. */
929932
COLUMN_RULE_COLOR("columnRuleColor", "column-rule-color",
930933
chromeAndEdge("rgb(0, 0, 0)"), ff("rgb(0, 0, 0)")),
931934

932935
/** The style property {@code column-rule-color}. */
933936
COLUMN_RULE_COLOR_("column-rule-color", "column-rule-color", ff("rgb(0, 0, 0)")),
934937

938+
/** The style property {@code columnRuleInset}. */
939+
COLUMN_RULE_INSET("columnRuleInset", "column-rule-inset", chromeAndEdge("0px")),
940+
941+
/** The style property {@code columnRuleInsetCap}. */
942+
COLUMN_RULE_INSET_CAP("columnRuleInsetCap", "column-rule-inset-cap", chromeAndEdge("0px")),
943+
944+
/** The style property {@code columnRuleInsetCapEnd}. */
945+
COLUMN_RULE_INSET_CAP_END("columnRuleInsetCapEnd", "column-rule-inset-cap-end", chromeAndEdge("0px")),
946+
947+
/** The style property {@code columnRuleInsetCapStart}. */
948+
COLUMN_RULE_INSET_CAP_START("columnRuleInsetCapStart", "column-rule-inset-cap-start", chromeAndEdge("0px")),
949+
950+
/** The style property {@code columnRuleInsetEnd}. */
951+
COLUMN_RULE_INSET_END("columnRuleInsetEnd", "column-rule-inset-end", chromeAndEdge("0px")),
952+
953+
/** The style property {@code columnRuleInsetJunction}. */
954+
COLUMN_RULE_INSET_JUNCTION("columnRuleInsetJunction", "column-rule-inset-junction", chromeAndEdge("0px")),
955+
956+
/** The style property {@code columnRuleInsetJunctionEnd}. */
957+
COLUMN_RULE_INSET_JUNCTION_END("columnRuleInsetJunctionEnd", "column-rule-inset-junction-end",
958+
chromeAndEdge("0px")),
959+
960+
/** The style property {@code columnRuleInsetJunctionStart}. */
961+
COLUMN_RULE_INSET_JUNCTION_START("columnRuleInsetJunctionStart", "column-rule-inset-junction-start",
962+
chromeAndEdge("0px")),
963+
964+
/** The style property {@code columnRuleInsetStart}. */
965+
COLUMN_RULE_INSET_START("columnRuleInsetStart", "column-rule-inset-start", chromeAndEdge("0px")),
966+
935967
/** The style property {@code columnRuleStyle}. */
936968
COLUMN_RULE_STYLE("columnRuleStyle", "column-rule-style", chromeAndEdgeNone(), ffNone()),
937969

938970
/** The style property {@code column-rule-style}. */
939971
COLUMN_RULE_STYLE_("column-rule-style", "column-rule-style", ffNone()),
940972

973+
/** The style property {@code columnRuleVisibilityItems}. */
974+
COLUMN_RULE_VisibilityItems("columnRuleVisibilityItems", "column-rule-visibility-items",
975+
chromeAndEdgeNormal()),
976+
941977
/** The style property {@code columnRuleWidth}. */
942978
COLUMN_RULE_WIDTH("columnRuleWidth", "column-rule-width", chromeAndEdge("3px"),
943979
ffEsr("0px"), ffLatest("3px")),
@@ -2681,6 +2717,52 @@ public enum Definition {
26812717
/** The style property {@code row-gap}. */
26822718
ROW_GAP_("row-gap", "row-gap", ffNormal()),
26832719

2720+
/** The style property {@code rowRule}. */
2721+
ROW_RULE("rowRule", "row-rule", chromeAndEdge("3px rgb(0, 0, 0)")),
2722+
2723+
/** The style property {@code rowRuleBreak}. */
2724+
ROW_RULE_BREAK("rowRuleBreak", "row-rule-break", chromeAndEdgeNormal()),
2725+
2726+
/** The style property {@code rowRuleColor}. */
2727+
ROW_RULE_COLOR("rowRuleColor", "row-rule-color", chromeAndEdge("rgb(0, 0, 0)")),
2728+
2729+
/** The style property {@code rowRuleInset}. */
2730+
ROW_RULE_INSET("rowRuleInset", "row-rule-inset", chromeAndEdge("0px")),
2731+
2732+
/** The style property {@code rowRuleInsetCap}. */
2733+
ROW_RULE_INSET_CAP("rowRuleInsetCap", "row-rule-inset-cap", chromeAndEdge("0px")),
2734+
2735+
/** The style property {@code rowRuleInsetCapEnd}. */
2736+
ROW_RULE_INSET_CAP_END("rowRuleInsetCapEnd", "row-rule-inset-cap-end", chromeAndEdge("0px")),
2737+
2738+
/** The style property {@code rowRuleInsetCapStart}. */
2739+
ROW_RULE_INSET_CAP_START("rowRuleInsetCapStart", "row-rule-inset-cap-start", chromeAndEdge("0px")),
2740+
2741+
/** The style property {@code rowRuleInsetEnd}. */
2742+
ROW_RULE_INSET_END("rowRuleInsetEnd", "row-rule-inset-end", chromeAndEdge("0px")),
2743+
2744+
/** The style property {@code rowRuleInsetJunction}. */
2745+
ROW_RULE_INSET_JUNCTION("rowRuleInsetJunction", "row-rule-inset-junction", chromeAndEdge("0px")),
2746+
2747+
/** The style property {@code rowRuleInsetJunctionEnd}. */
2748+
ROW_RULE_INSET_JUNCTION_END("rowRuleInsetJunctionEnd", "row-rule-inset-junction-end", chromeAndEdge("0px")),
2749+
2750+
/** The style property {@code rowRuleInsetJunctionStart}. */
2751+
ROW_RULE_INSET_JUNCTION_START("rowRuleInsetJunctionStart", "row-rule-inset-junction-start",
2752+
chromeAndEdge("0px")),
2753+
2754+
/** The style property {@code rowRuleInsetStart}. */
2755+
ROW_RULE_INSET_START("rowRuleInsetStart", "row-rule-inset-start", chromeAndEdge("0px")),
2756+
2757+
/** The style property {@code rowRuleInsetStyle}. */
2758+
ROW_RULE_STYLE("rowRuleStyle", "row-rule-style", chromeAndEdgeNone()),
2759+
2760+
/** The style property {@code rowRuleInsetVisibilityItems}. */
2761+
ROW_RULE_VISIBILITY_ITEMS("rowRuleVisibilityItems", "row-rule-visibility-items", chromeAndEdgeNormal()),
2762+
2763+
/** The style property {@code rowRuleWidth}. */
2764+
ROW_RULE_WIDTH("rowRuleWidth", "row-rule-width", chromeAndEdge("3px")),
2765+
26842766
/** The style property {@code rubyAlign}. */
26852767
RUBY_ALIGN("rubyAlign", "ruby-align", chromeAndEdge("space-around"), ff("space-around")),
26862768

@@ -2694,6 +2776,42 @@ public enum Definition {
26942776
/** The style property {@code ruby-position}. */
26952777
RUBY_POSITION_("ruby-position", "ruby-position", ff("alternate")),
26962778

2779+
/** The style property {@code rule}. */
2780+
RULE("rule", "rule", chromeAndEdge("3px rgb(0, 0, 0)")),
2781+
2782+
/** The style property {@code ruleBreak}. */
2783+
RULE_BREAK("ruleBreak", "rule-break", chromeAndEdgeNormal()),
2784+
2785+
/** The style property {@code ruleColor}. */
2786+
RULE_COLOR("ruleColor", "rule-color", chromeAndEdge("rgb(0, 0, 0)")),
2787+
2788+
/** The style property {@code ruleInset}. */
2789+
RULE_INSET("ruleInset", "rule-inset", chromeAndEdge("0px")),
2790+
2791+
/** The style property {@code ruleInsetCap}. */
2792+
RULE_INSET_CAP("ruleInsetCap", "rule-inset-cap", chromeAndEdge("0px")),
2793+
2794+
/** The style property {@code ruleInsetEnd}. */
2795+
RULE_INSET_END("ruleInsetEnd", "rule-inset-end", chromeAndEdge("0px")),
2796+
2797+
/** The style property {@code ruleInsetJunction}. */
2798+
RULE_INSET_JUNCTION("ruleInsetJunction", "rule-inset-junction", chromeAndEdge("0px")),
2799+
2800+
/** The style property {@code ruleInsetStart}. */
2801+
RULE_INSET_START("ruleInsetStart", "rule-inset-start", chromeAndEdge("0px")),
2802+
2803+
/** The style property {@code ruleOverlap}. */
2804+
RULE_OVERLAP("ruleOverlap", "rule-overlap", chromeAndEdge("row-over-column")),
2805+
2806+
/** The style property {@code ruleStyle}. */
2807+
RULE_STYLE("ruleStyle", "rule-style", chromeAndEdgeNone()),
2808+
2809+
/** The style property {@code ruleVisibilityItems}. */
2810+
RULE_VIISIBILITY_ITEMS("ruleVisibilityItems", "rule-visibility-items", chromeAndEdgeNormal()),
2811+
2812+
/** The style property {@code ruleWidth}. */
2813+
RULE_WIDTH("ruleWidth", "rule-width", chromeAndEdge("3px")),
2814+
26972815
/** The style property {@code rx}. */
26982816
RX("rx", "rx", chromeAndEdgeAuto(), ffAuto()),
26992817

src/test/resources/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Chrome.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,19 @@ columnFill
132132
columnGap
133133
columnHeight
134134
columnRule
135+
columnRuleBreak
135136
columnRuleColor
137+
columnRuleInset
138+
columnRuleInsetCap
139+
columnRuleInsetCapEnd
140+
columnRuleInsetCapStart
141+
columnRuleInsetEnd
142+
columnRuleInsetJunction
143+
columnRuleInsetJunctionEnd
144+
columnRuleInsetJunctionStart
145+
columnRuleInsetStart
136146
columnRuleStyle
147+
columnRuleVisibilityItems
137148
columnRuleWidth
138149
columnSpan
139150
columnWidth
@@ -395,8 +406,35 @@ result
395406
right
396407
rotate
397408
rowGap
409+
rowRule
410+
rowRuleBreak
411+
rowRuleColor
412+
rowRuleInset
413+
rowRuleInsetCap
414+
rowRuleInsetCapEnd
415+
rowRuleInsetCapStart
416+
rowRuleInsetEnd
417+
rowRuleInsetJunction
418+
rowRuleInsetJunctionEnd
419+
rowRuleInsetJunctionStart
420+
rowRuleInsetStart
421+
rowRuleStyle
422+
rowRuleVisibilityItems
423+
rowRuleWidth
398424
rubyAlign
399425
rubyPosition
426+
rule
427+
ruleBreak
428+
ruleColor
429+
ruleInset
430+
ruleInsetCap
431+
ruleInsetEnd
432+
ruleInsetJunction
433+
ruleInsetStart
434+
ruleOverlap
435+
ruleStyle
436+
ruleVisibilityItems
437+
ruleWidth
400438
rx
401439
ry
402440
scale

src/test/resources/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties.Edge.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,19 @@ columnFill
132132
columnGap
133133
columnHeight
134134
columnRule
135+
columnRuleBreak
135136
columnRuleColor
137+
columnRuleInset
138+
columnRuleInsetCap
139+
columnRuleInsetCapEnd
140+
columnRuleInsetCapStart
141+
columnRuleInsetEnd
142+
columnRuleInsetJunction
143+
columnRuleInsetJunctionEnd
144+
columnRuleInsetJunctionStart
145+
columnRuleInsetStart
136146
columnRuleStyle
147+
columnRuleVisibilityItems
137148
columnRuleWidth
138149
columnSpan
139150
columnWidth
@@ -395,8 +406,35 @@ result
395406
right
396407
rotate
397408
rowGap
409+
rowRule
410+
rowRuleBreak
411+
rowRuleColor
412+
rowRuleInset
413+
rowRuleInsetCap
414+
rowRuleInsetCapEnd
415+
rowRuleInsetCapStart
416+
rowRuleInsetEnd
417+
rowRuleInsetJunction
418+
rowRuleInsetJunctionEnd
419+
rowRuleInsetJunctionStart
420+
rowRuleInsetStart
421+
rowRuleStyle
422+
rowRuleVisibilityItems
423+
rowRuleWidth
398424
rubyAlign
399425
rubyPosition
426+
rule
427+
ruleBreak
428+
ruleColor
429+
ruleInset
430+
ruleInsetCap
431+
ruleInsetEnd
432+
ruleInsetJunction
433+
ruleInsetStart
434+
ruleOverlap
435+
ruleStyle
436+
ruleVisibilityItems
437+
ruleWidth
400438
rx
401439
ry
402440
scale

src/test/resources/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Chrome.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,19 @@ columnFill
132132
columnGap
133133
columnHeight
134134
columnRule
135+
columnRuleBreak
135136
columnRuleColor
137+
columnRuleInset
138+
columnRuleInsetCap
139+
columnRuleInsetCapEnd
140+
columnRuleInsetCapStart
141+
columnRuleInsetEnd
142+
columnRuleInsetJunction
143+
columnRuleInsetJunctionEnd
144+
columnRuleInsetJunctionStart
145+
columnRuleInsetStart
136146
columnRuleStyle
147+
columnRuleVisibilityItems
137148
columnRuleWidth
138149
columnSpan
139150
columnWidth
@@ -394,8 +405,35 @@ result
394405
right
395406
rotate
396407
rowGap
408+
rowRule
409+
rowRuleBreak
410+
rowRuleColor
411+
rowRuleInset
412+
rowRuleInsetCap
413+
rowRuleInsetCapEnd
414+
rowRuleInsetCapStart
415+
rowRuleInsetEnd
416+
rowRuleInsetJunction
417+
rowRuleInsetJunctionEnd
418+
rowRuleInsetJunctionStart
419+
rowRuleInsetStart
420+
rowRuleStyle
421+
rowRuleVisibilityItems
422+
rowRuleWidth
397423
rubyAlign
398424
rubyPosition
425+
rule
426+
ruleBreak
427+
ruleColor
428+
ruleInset
429+
ruleInsetCap
430+
ruleInsetEnd
431+
ruleInsetJunction
432+
ruleInsetStart
433+
ruleOverlap
434+
ruleStyle
435+
ruleVisibilityItems
436+
ruleWidth
399437
rx
400438
ry
401439
scale

src/test/resources/org/htmlunit/javascript/host/css/CSSStyleDeclaration2Test.properties2.Edge.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,19 @@ columnFill
132132
columnGap
133133
columnHeight
134134
columnRule
135+
columnRuleBreak
135136
columnRuleColor
137+
columnRuleInset
138+
columnRuleInsetCap
139+
columnRuleInsetCapEnd
140+
columnRuleInsetCapStart
141+
columnRuleInsetEnd
142+
columnRuleInsetJunction
143+
columnRuleInsetJunctionEnd
144+
columnRuleInsetJunctionStart
145+
columnRuleInsetStart
136146
columnRuleStyle
147+
columnRuleVisibilityItems
137148
columnRuleWidth
138149
columnSpan
139150
columnWidth
@@ -394,8 +405,35 @@ result
394405
right
395406
rotate
396407
rowGap
408+
rowRule
409+
rowRuleBreak
410+
rowRuleColor
411+
rowRuleInset
412+
rowRuleInsetCap
413+
rowRuleInsetCapEnd
414+
rowRuleInsetCapStart
415+
rowRuleInsetEnd
416+
rowRuleInsetJunction
417+
rowRuleInsetJunctionEnd
418+
rowRuleInsetJunctionStart
419+
rowRuleInsetStart
420+
rowRuleStyle
421+
rowRuleVisibilityItems
422+
rowRuleWidth
397423
rubyAlign
398424
rubyPosition
425+
rule
426+
ruleBreak
427+
ruleColor
428+
ruleInset
429+
ruleInsetCap
430+
ruleInsetEnd
431+
ruleInsetJunction
432+
ruleInsetStart
433+
ruleOverlap
434+
ruleStyle
435+
ruleVisibilityItems
436+
ruleWidth
399437
rx
400438
ry
401439
scale

0 commit comments

Comments
 (0)