diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/border-shorthand-serialization.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/border-shorthand-serialization.txt new file mode 100644 index 00000000000..26d13bfb0b9 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/border-shorthand-serialization.txt @@ -0,0 +1,13 @@ +Summary + +Harness status: OK + +Rerun + +Found 3 tests + +3 Fail +Details +Result Test Name MessageFail Declaration with border longhands is not serialized to a border shorthand declaration. +Fail Declaration with border longhands and border-image is not serialized to a border shorthand declaration. +Fail Border shorthand is serialized correctly if all border-image-* are set to their initial specified values. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/cssom-cssText-serialize.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/cssom-cssText-serialize.txt new file mode 100644 index 00000000000..b48cff3991b --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/cssom-cssText-serialize.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass CSSStyleDeclaration cssText serializes declaration blocks. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/flex-serialization.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/flex-serialization.txt new file mode 100644 index 00000000000..249a08610cd --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/flex-serialization.txt @@ -0,0 +1,16 @@ +Summary + +Harness status: OK + +Rerun + +Found 5 tests + +1 Pass +4 Fail +Details +Result Test Name MessagePass Single value flex with CSS-wide keyword should serialize correctly. +Fail Single value flex with non-CSS-wide value should serialize correctly. +Fail Multiple values flex with CSS-wide keyword should serialize correctly. +Fail Multiple values flex with CSS-wide keywords and non-CSS-wide value should serialize correctly. +Fail Multiple values flex with CSS-wide and two non-CSS-wide-keyword values should serialize correctly. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-family-serialization-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-family-serialization-001.txt new file mode 100644 index 00000000000..dd7e3ce4b3e --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-family-serialization-001.txt @@ -0,0 +1,14 @@ +Summary + +Harness status: OK + +Rerun + +Found 4 tests + +4 Pass +Details +Result Test Name MessagePass Serialization of +Pass Serialization of quoted "" +Pass Serialization of prefixed -webkit- +Pass Serialization of NonGenericFontFamilyName,-webkit-body,-webkit-standard,-webkit-pictograph,BlinkMacSystemFont \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-shorthand-serialization.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-shorthand-serialization.txt new file mode 100644 index 00000000000..821e83e8faf --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-shorthand-serialization.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Fail +Details +Result Test Name MessageFail The font shorthand should be serialized just like any other shorthand. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-variant-shorthand-serialization.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-variant-shorthand-serialization.txt new file mode 100644 index 00000000000..5051fe4fb11 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/font-variant-shorthand-serialization.txt @@ -0,0 +1,18 @@ +Summary + +Harness status: OK + +Rerun + +Found 7 tests + +4 Pass +3 Fail +Details +Result Test Name MessagePass font-variant: normal serialization +Fail font-variant: none serialization +Pass font-variant-ligatures: none serialization with non-default value for another longhand +Pass font-variant: normal with non-default longhands +Fail CSS-wide keyword in one longhand +Pass CSS-wide keyword in shorthand +Fail font: menu serialization \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/overflow-serialization.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/overflow-serialization.txt new file mode 100644 index 00000000000..7d72c40716c --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/overflow-serialization.txt @@ -0,0 +1,21 @@ +Summary + +Harness status: OK + +Rerun + +Found 10 tests + +2 Pass +8 Fail +Details +Result Test Name MessagePass Single value overflow with CSS-wide keyword should serialize correctly. +Fail Single value overflow with non-CSS-wide keyword should serialize correctly. +Fail Overflow-x/y longhands with same CSS-wide keyword should serialize correctly. +Fail Overflow-x/y longhands with same non-CSS-wide keyword should serialize correctly. +Fail Overflow-x/y longhands with different keywords should serialize correctly. +Fail Single value overflow on element with CSS-wide keyword should serialize correctly. +Fail Single value overflow on element with non-CSS-wide keyword should serialize correctly. +Fail Overflow-x/y longhands on element with same CSS-wide keyword should serialize correctly. +Fail Overflow-x/y longhands on element with same non-CSS-wide keyword should serialize correctly. +Pass Overflow-x/y longhands on element with different keywords should serialize correctly. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/selectorSerialize.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/selectorSerialize.txt new file mode 100644 index 00000000000..e1d023fe1c8 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/selectorSerialize.txt @@ -0,0 +1,34 @@ +Summary + +Harness status: OK + +Rerun + +Found 23 tests + +19 Pass +4 Fail +Details +Result Test Name MessagePass :nth-child serialization produces canonical form +Pass single universal selector shows '*' when serialized. +Pass single type (simple) selector in the sequence of simple selectors that is not a universal selector +Pass single class (simple) selector in the sequence of simple selectors that is not a universal selector +Pass single id (simple) selector in the sequence of simple selectors that is not a universal selector +Pass single pseudo (simple) selector which does not accept arguments in the sequence of simple selectors that is not a universal selector +Fail single pseudo (simple) selector "lang" which accepts arguments in the sequence of simple selectors that is not a universal selector +Pass single pseudo (simple) selector "nth-child" which accepts arguments in the sequence of simple selectors that is not a universal selector +Pass single pseudo (simple) selector "nth-last-child" which accepts arguments in the sequence of simple selectors that is not a universal selector +Pass single pseudo (simple) selector "nth-of-child" which accepts arguments in the sequence of simple selectors that is not a universal selector +Pass single pseudo (simple) selector ":nth-last-of-type" which accepts arguments in the sequence of simple selectors that is not a universal selector +Pass single pseudo (simple) selector ":not" which accepts arguments in the sequence of simple selectors that is not a universal selector +Pass escaped character in attribute name +Fail escaped character as code point in attribute name +Pass escaped character (@) in attribute name +Fail escaped character in attribute name with any namespace +Pass escaped character in attribute prefix +Pass escaped character in both attribute prefix and name +Pass escaped character (\) in element name +Pass escaped character (\) in element name with any namespace without default +Fail escaped character (\) in element name with any namespace with default +Pass escaped character (\) in element name with no namespace +Pass escaped character (*) in element prefix \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialization-CSSDeclaration-with-important.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialization-CSSDeclaration-with-important.txt new file mode 100644 index 00000000000..22b24d348fd --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialization-CSSDeclaration-with-important.txt @@ -0,0 +1,14 @@ +Summary + +Harness status: OK + +Rerun + +Found 4 tests + +4 Pass +Details +Result Test Name MessagePass Inline style declaration without whitespace between '!' and 'important'. +Pass Inline style declaration with whitespace between '!' and 'important'. +Pass Style set dynamically via cssText without whitespace between '!' and 'important'. +Pass Style set dynamically via cssText with whitespace between '!' and 'important'. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-all-longhands.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-all-longhands.txt new file mode 100644 index 00000000000..f9316473dfe --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-all-longhands.txt @@ -0,0 +1,13 @@ +Summary + +Harness status: OK + +Rerun + +Found 2 tests + +1 Pass +1 Fail +Details +Result Test Name MessageFail Specified style +Pass Computed style \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-custom-props.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-custom-props.txt new file mode 100644 index 00000000000..784a224d05d --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-custom-props.txt @@ -0,0 +1,31 @@ +Summary + +Harness status: OK + +Rerun + +Found 20 tests + +18 Pass +2 Fail +Details +Result Test Name MessagePass z-index can take a 4-digit integer +Pass An unregistered custom prop can take a 4-digit integer +Pass An custom prop can take a 4-digit integer +Pass z-index can take a custom property set to a 4-digit integer +Pass z-index can take a 6-digit integer +Pass An unregistered custom prop can take a 6-digit integer +Pass An custom prop can take a 6-digit integer +Pass z-index can take a custom property set to a 6-digit integer +Pass z-index can take a 8-digit integer +Pass An unregistered custom prop can take a 8-digit integer +Pass An custom prop can take a 8-digit integer +Pass z-index can take a custom property set to a 8-digit integer +Pass z-index can take a 12-digit integer +Pass An unregistered custom prop can take a 12-digit integer +Pass An custom prop can take a 12-digit integer +Pass z-index can take a custom property set to a 12-digit integer +Pass z-index can take a 25-digit integer +Fail An unregistered custom prop can take a 25-digit integer +Fail An custom prop can take a 25-digit integer +Pass z-index can take a custom property set to a 25-digit integer \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-media-rule.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-media-rule.txt new file mode 100644 index 00000000000..8a3990b645e --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-media-rule.txt @@ -0,0 +1,23 @@ +Summary + +Harness status: OK + +Rerun + +Found 12 tests + +10 Pass +2 Fail +Details +Result Test Name MessagePass empty media query list +Pass type - no features +Pass type - no features - negation +Pass type - no features - character case normalization +Pass type - omission of all +Pass type - inclusion of negated all +Pass features - character case normalization +Fail features - preservation of overspecified features +Fail features - no lexicographical sorting +Pass media query list +Pass one rule +Pass many rules \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-namespaced-type-selectors.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-namespaced-type-selectors.txt new file mode 100644 index 00000000000..a63681c59f7 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-namespaced-type-selectors.txt @@ -0,0 +1,71 @@ +Summary + +Harness status: OK + +Rerun + +Found 60 tests + +36 Pass +24 Fail +Details +Result Test Name MessagePass Simple type selector +Pass Type selector without a namespace +Fail Type selector with any namespace +Pass Universal selector +Pass Universal selector without a namespace +Fail Universal selector in any namespace +Pass Type selector with namespace +Pass Universal selector with namespace +Pass Simple type selector followed by class +Pass Simple type selector followed by id +Pass Simple type selector followed by pseudo class +Pass Simple type selector followed by pseudo element +Pass Simple type selector followed by atttribute selector +Pass Type selector without a namespace followed by class +Pass Type selector without a namespace followed by id +Pass Type selector without a namespace followed by pseudo class +Pass Type selector without a namespace followed by pseudo element +Pass Type selector without a namespace followed by attribute selector +Fail Type selector with any namespace followed by class +Fail Type selector with any namespace followed by id +Fail Type selector with any namespace followed by pseudo class +Fail Type selector with any namespace followed by pseudo element +Fail Type selector with any namespace followed by attribute selector +Pass Universal selector followed by class +Pass Universal selector followed by id +Pass Universal selector followed by pseudo class +Pass Universal selector followed by pseudo element +Pass Universal selector followed by attribute selector +Pass Universal selector without a namespace followed by class +Pass Universal selector without a namespace followed by id +Pass Universal selector without a namespace followed by pseudo class +Pass Universal selector without a namespace followed by pseudo element +Pass Universal selector without a namespace followed by attribute selector +Fail Universal selector in any namespace followed by class +Fail Universal selector in any namespace followed by id +Fail Universal selector in any namespace followed by pseudo class +Fail Universal selector in any namespace followed by pseudo element +Fail Universal selector in any namespace followed by attribute selector +Pass Type selector with namespace followed by class +Pass Type selector with namespace followed by id +Pass Type selector with namespace followed by pseudo class +Pass Type selector with namespace followed by pseudo element +Pass Type selector with namespace followed by attribute selector +Pass Universal selector with namespace followed by class +Pass Universal selector with namespace followed by id +Pass Universal selector with namespace followed by pseudo class +Pass Universal selector with namespace followed by pseudo element +Pass Universal selector with namespace followed by attribute selector +Fail Type selector with namespace equal to default namespace +Fail Universal selector with namespace equal to default namespace +Fail Type selector with namespace equal to default namespace followed by class +Fail Type selector with namespace equal to default namespace followed by id +Fail Type selector with namespace equal to default namespace followed by pseudo class +Fail Type selector with namespace equal to default namespace followed by pseudo element +Fail Type selector with namespace equal to default namespace followed by attribute selector +Fail Universal selector with namespace equal to default namespace followed by class +Fail Universal selector with namespace equal to default namespace followed by id +Fail Universal selector with namespace equal to default namespace followed by pseudo class +Fail Universal selector with namespace equal to default namespace followed by pseudo element +Fail Universal selector with namespace equal to default namespace followed by attribute selector \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt new file mode 100644 index 00000000000..db245584881 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-values.txt @@ -0,0 +1,698 @@ +Summary + +Harness status: OK + +Rerun + +Found 687 tests + +458 Pass +229 Fail +Details +Result Test Name MessagePass background-attachment: scroll +Pass background-attachment: fixed +Pass background-attachment: inherit +Pass background-color: black +Pass background-color: red +Pass background-color: rgb(50, 75, 100) +Fail background-color: rgba(5, 7, 10, 0.5) +Pass background-color: transparent +Pass background-color: inherit +Pass background-image: url("http://localhost/") +Pass background-image: url(http://localhost/) +Pass background-image: none +Pass background-image: inherit +Fail background-position: 5% 5% +Fail background-position: 5% .5% +Fail background-position: 5% -5% +Fail background-position: 5% -.5% +Fail background-position: 5% 0px +Fail background-position: 5% 1px +Fail background-position: 5% .1em +Fail background-position: 5% -0px +Fail background-position: 5% -1px +Fail background-position: 5% -.1em +Fail background-position: 5% top +Fail background-position: 5% center +Fail background-position: 5% bottom +Fail background-position: .5% 5% +Fail background-position: .5% .5% +Fail background-position: .5% -5% +Fail background-position: .5% -.5% +Fail background-position: .5% 0px +Fail background-position: .5% 1px +Fail background-position: .5% .1em +Fail background-position: .5% -0px +Fail background-position: .5% -1px +Fail background-position: .5% -.1em +Fail background-position: .5% top +Fail background-position: .5% center +Fail background-position: .5% bottom +Fail background-position: -5% 5% +Fail background-position: -5% .5% +Fail background-position: -5% -5% +Fail background-position: -5% -.5% +Fail background-position: -5% 0px +Fail background-position: -5% 1px +Fail background-position: -5% .1em +Fail background-position: -5% -0px +Fail background-position: -5% -1px +Fail background-position: -5% -.1em +Fail background-position: -5% top +Fail background-position: -5% center +Fail background-position: -5% bottom +Fail background-position: -.5% 5% +Fail background-position: -.5% .5% +Fail background-position: -.5% -5% +Fail background-position: -.5% -.5% +Fail background-position: -.5% 0px +Fail background-position: -.5% 1px +Fail background-position: -.5% .1em +Fail background-position: -.5% -0px +Fail background-position: -.5% -1px +Fail background-position: -.5% -.1em +Fail background-position: -.5% top +Fail background-position: -.5% center +Fail background-position: -.5% bottom +Fail background-position: 0px 5% +Fail background-position: 0px .5% +Fail background-position: 0px -5% +Fail background-position: 0px -.5% +Fail background-position: 0px 0px +Fail background-position: 0px 1px +Fail background-position: 0px .1em +Fail background-position: 0px -0px +Fail background-position: 0px -1px +Fail background-position: 0px -.1em +Fail background-position: 0px top +Fail background-position: 0px center +Fail background-position: 0px bottom +Fail background-position: 1px 5% +Fail background-position: 1px .5% +Fail background-position: 1px -5% +Fail background-position: 1px -.5% +Fail background-position: 1px 0px +Fail background-position: 1px 1px +Fail background-position: 1px .1em +Fail background-position: 1px -0px +Fail background-position: 1px -1px +Fail background-position: 1px -.1em +Fail background-position: 1px top +Fail background-position: 1px center +Fail background-position: 1px bottom +Fail background-position: .1em 5% +Fail background-position: .1em .5% +Fail background-position: .1em -5% +Fail background-position: .1em -.5% +Fail background-position: .1em 0px +Fail background-position: .1em 1px +Fail background-position: .1em .1em +Fail background-position: .1em -0px +Fail background-position: .1em -1px +Fail background-position: .1em -.1em +Fail background-position: .1em top +Fail background-position: .1em center +Fail background-position: .1em bottom +Fail background-position: -0px 5% +Fail background-position: -0px .5% +Fail background-position: -0px -5% +Fail background-position: -0px -.5% +Fail background-position: -0px 0px +Fail background-position: -0px 1px +Fail background-position: -0px .1em +Fail background-position: -0px -0px +Fail background-position: -0px -1px +Fail background-position: -0px -.1em +Fail background-position: -0px top +Fail background-position: -0px center +Fail background-position: -0px bottom +Fail background-position: -1px 5% +Fail background-position: -1px .5% +Fail background-position: -1px -5% +Fail background-position: -1px -.5% +Fail background-position: -1px 0px +Fail background-position: -1px 1px +Fail background-position: -1px .1em +Fail background-position: -1px -0px +Fail background-position: -1px -1px +Fail background-position: -1px -.1em +Fail background-position: -1px top +Fail background-position: -1px center +Fail background-position: -1px bottom +Fail background-position: -.1em 5% +Fail background-position: -.1em .5% +Fail background-position: -.1em -5% +Fail background-position: -.1em -.5% +Fail background-position: -.1em 0px +Fail background-position: -.1em 1px +Fail background-position: -.1em .1em +Fail background-position: -.1em -0px +Fail background-position: -.1em -1px +Fail background-position: -.1em -.1em +Fail background-position: -.1em top +Fail background-position: -.1em center +Fail background-position: -.1em bottom +Fail background-position: left 5% +Fail background-position: left .5% +Fail background-position: left -5% +Fail background-position: left -.5% +Fail background-position: left 0px +Fail background-position: left 1px +Fail background-position: left .1em +Fail background-position: left -0px +Fail background-position: left -1px +Fail background-position: left -.1em +Fail background-position: left top +Fail background-position: left center +Fail background-position: left bottom +Fail background-position: center 5% +Fail background-position: center .5% +Fail background-position: center -5% +Fail background-position: center -.5% +Fail background-position: center 0px +Fail background-position: center 1px +Fail background-position: center .1em +Fail background-position: center -0px +Fail background-position: center -1px +Fail background-position: center -.1em +Fail background-position: center top +Fail background-position: center center +Fail background-position: center bottom +Fail background-position: right 5% +Fail background-position: right .5% +Fail background-position: right -5% +Fail background-position: right -.5% +Fail background-position: right 0px +Fail background-position: right 1px +Fail background-position: right .1em +Fail background-position: right -0px +Fail background-position: right -1px +Fail background-position: right -.1em +Fail background-position: right top +Fail background-position: right center +Fail background-position: right bottom +Fail background-position: inherit +Fail background-repeat: repeat +Fail background-repeat: repeat-x +Fail background-repeat: repeat-y +Fail background-repeat: no-repeat +Pass background-repeat: inherit +Pass border-collapse: collapse +Pass border-collapse: separate +Pass border-collapse: inherit +Pass border-spacing: 0px +Pass border-spacing: 1px +Pass border-spacing: .1em +Pass border-spacing: inherit +Pass border-top-color: black +Pass border-top-color: red +Pass border-top-color: rgb(50, 75, 100) +Fail border-top-color: rgba(5, 7, 10, 0.5) +Pass border-top-color: transparent +Pass border-top-color: inherit +Pass border-right-color: black +Pass border-right-color: red +Pass border-right-color: rgb(50, 75, 100) +Fail border-right-color: rgba(5, 7, 10, 0.5) +Pass border-right-color: transparent +Pass border-right-color: inherit +Pass border-bottom-color: black +Pass border-bottom-color: red +Pass border-bottom-color: rgb(50, 75, 100) +Fail border-bottom-color: rgba(5, 7, 10, 0.5) +Pass border-bottom-color: transparent +Pass border-bottom-color: inherit +Pass border-left-color: black +Pass border-left-color: red +Pass border-left-color: rgb(50, 75, 100) +Fail border-left-color: rgba(5, 7, 10, 0.5) +Pass border-left-color: transparent +Pass border-left-color: inherit +Pass border-top-style: none +Pass border-top-style: hidden +Pass border-top-style: dotted +Pass border-top-style: dashed +Pass border-top-style: solid +Pass border-top-style: double +Pass border-top-style: groove +Pass border-top-style: ridge +Pass border-top-style: inset +Pass border-top-style: outset +Pass border-top-style: inherit +Pass border-right-style: none +Pass border-right-style: hidden +Pass border-right-style: dotted +Pass border-right-style: dashed +Pass border-right-style: solid +Pass border-right-style: double +Pass border-right-style: groove +Pass border-right-style: ridge +Pass border-right-style: inset +Pass border-right-style: outset +Pass border-right-style: inherit +Pass border-bottom-style: none +Pass border-bottom-style: hidden +Pass border-bottom-style: dotted +Pass border-bottom-style: dashed +Pass border-bottom-style: solid +Pass border-bottom-style: double +Pass border-bottom-style: groove +Pass border-bottom-style: ridge +Pass border-bottom-style: inset +Pass border-bottom-style: outset +Pass border-bottom-style: inherit +Pass border-left-style: none +Pass border-left-style: hidden +Pass border-left-style: dotted +Pass border-left-style: dashed +Pass border-left-style: solid +Pass border-left-style: double +Pass border-left-style: groove +Pass border-left-style: ridge +Pass border-left-style: inset +Pass border-left-style: outset +Pass border-left-style: inherit +Pass border-top-width: thin +Pass border-top-width: medium +Pass border-top-width: thick +Pass border-top-width: 0px +Pass border-top-width: 1px +Pass border-top-width: .1em +Pass border-top-width: inherit +Pass border-right-width: thin +Pass border-right-width: medium +Pass border-right-width: thick +Pass border-right-width: 0px +Pass border-right-width: 1px +Pass border-right-width: .1em +Pass border-right-width: inherit +Pass border-bottom-width: thin +Pass border-bottom-width: medium +Pass border-bottom-width: thick +Pass border-bottom-width: 0px +Pass border-bottom-width: 1px +Pass border-bottom-width: .1em +Pass border-bottom-width: inherit +Pass border-left-width: thin +Pass border-left-width: medium +Pass border-left-width: thick +Pass border-left-width: 0px +Pass border-left-width: 1px +Pass border-left-width: .1em +Pass border-left-width: inherit +Pass bottom: 0px +Pass bottom: 1px +Pass bottom: .1em +Pass bottom: 5% +Pass bottom: .5% +Pass bottom: auto +Pass bottom: inherit +Pass caption-side: top +Pass caption-side: bottom +Pass caption-side: inherit +Pass clear: none +Pass clear: left +Pass clear: right +Pass clear: both +Pass clear: inherit +Fail clip: rect(1em, auto, 0.5px, 2000em) +Pass clip: auto +Pass clip: inherit +Pass color: black +Pass color: red +Pass color: rgb(50, 75, 100) +Fail color: rgba(5, 7, 10, 0.5) +Pass color: inherit +Pass content: normal +Pass content: none +Pass content: "string" +Pass content: 'string' +Fail content: url("http://localhost/") +Fail content: url(http://localhost/) +Fail content: counter(par-num) +Fail content: counter(par-num, decimal) +Fail content: counter(par-num, upper-roman) +Pass content: attr(foo-bar) +Pass content: attr(foo_bar) +Fail content: attr(|bar) +Fail content: attr( |bar ) +Pass content: attr(foo-bar, "fallback") +Pass content: attr(foo_bar, "fallback") +Fail content: attr(|bar, "fallback") +Fail content: attr(foo, "") +Fail content: attr( |foo , "" ) +Pass content: inherit +Pass cursor: auto +Pass cursor: crosshair +Pass cursor: default +Pass cursor: pointer +Pass cursor: move +Pass cursor: e-resize +Pass cursor: ne-resize +Pass cursor: nw-resize +Pass cursor: n-resize +Pass cursor: se-resize +Pass cursor: sw-resize +Pass cursor: s-resize +Pass cursor: w-resize +Pass cursor: text +Pass cursor: wait +Pass cursor: help +Pass cursor: progress +Pass cursor: inherit +Pass direction: ltr +Pass direction: rtl +Pass direction: inherit +Pass display: inline +Pass display: block +Pass display: list-item +Pass display: inline-block +Pass display: table +Pass display: inline-table +Pass display: table-row-group +Pass display: table-header-group +Pass display: table-footer-group +Pass display: table-row +Pass display: table-column-group +Pass display: table-column +Pass display: table-cell +Pass display: table-caption +Pass display: none +Pass display: inherit +Fail empty-cells: show +Fail empty-cells: hide +Fail empty-cells: inherit +Pass float: left +Pass float: right +Pass float: none +Pass float: inherit +Pass font-family: Arial +Pass font-family: 'Lucida Grande' +Pass font-family: serif +Pass font-family: sans-serif +Pass font-family: inherit +Pass font-size: xx-small +Pass font-size: x-small +Pass font-size: small +Pass font-size: medium +Pass font-size: large +Pass font-size: x-large +Pass font-size: xx-large +Pass font-size: larger +Pass font-size: smaller +Pass font-size: 0px +Pass font-size: 1px +Pass font-size: .1em +Pass font-size: 5% +Pass font-size: .5% +Pass font-size: inherit +Pass font-style: normal +Pass font-style: italic +Pass font-style: oblique +Pass font-style: inherit +Pass font-variant: normal +Pass font-variant: small-caps +Pass font-variant: inherit +Pass font-weight: normal +Pass font-weight: bold +Pass font-weight: bolder +Pass font-weight: lighter +Pass font-weight: 100 +Pass font-weight: 200 +Pass font-weight: 300 +Pass font-weight: 400 +Pass font-weight: 500 +Pass font-weight: 600 +Pass font-weight: 700 +Pass font-weight: 800 +Pass font-weight: 900 +Pass font-weight: inherit +Pass height: 0px +Pass height: 1px +Pass height: .1em +Pass height: 5% +Pass height: .5% +Pass height: auto +Pass height: inherit +Pass left: 0px +Pass left: 1px +Pass left: .1em +Pass left: 5% +Pass left: .5% +Pass left: auto +Pass left: inherit +Pass letter-spacing: normal +Pass letter-spacing: 0px +Pass letter-spacing: 1px +Pass letter-spacing: .1em +Pass letter-spacing: inherit +Pass line-height: normal +Pass line-height: 0 +Pass line-height: -0 +Pass line-height: 1000 +Pass line-height: 0.9 +Pass line-height: 0px +Pass line-height: 1px +Pass line-height: .1em +Pass line-height: 5% +Pass line-height: .5% +Pass line-height: inherit +Pass list-style-image: url("http://localhost/") +Pass list-style-image: url(http://localhost/) +Pass list-style-image: none +Pass list-style-image: inherit +Pass list-style-position: inside +Pass list-style-position: outside +Pass list-style-position: inherit +Pass list-style-type: disc +Pass list-style-type: circle +Pass list-style-type: square +Pass list-style-type: disclosure-open +Pass list-style-type: disclosure-closed +Pass list-style-type: decimal +Pass list-style-type: decimal-leading-zero +Pass list-style-type: lower-roman +Pass list-style-type: upper-roman +Fail list-style-type: lower-greek +Pass list-style-type: lower-latin +Pass list-style-type: upper-latin +Fail list-style-type: armenian +Fail list-style-type: georgian +Pass list-style-type: lower-alpha +Pass list-style-type: upper-alpha +Pass list-style-type: none +Pass list-style-type: inherit +Pass margin-right: 0px +Pass margin-right: 1px +Pass margin-right: .1em +Pass margin-right: 5% +Pass margin-right: .5% +Pass margin-right: auto +Pass margin-right: inherit +Pass margin-left: 0px +Pass margin-left: 1px +Pass margin-left: .1em +Pass margin-left: 5% +Pass margin-left: .5% +Pass margin-left: auto +Pass margin-left: inherit +Pass margin-top: 0px +Pass margin-top: 1px +Pass margin-top: .1em +Pass margin-top: 5% +Pass margin-top: .5% +Pass margin-top: auto +Pass margin-top: inherit +Pass margin-bottom: 0px +Pass margin-bottom: 1px +Pass margin-bottom: .1em +Pass margin-bottom: 5% +Pass margin-bottom: .5% +Pass margin-bottom: auto +Pass margin-bottom: inherit +Pass max-height: 0px +Pass max-height: 1px +Pass max-height: .1em +Pass max-height: 5% +Pass max-height: .5% +Pass max-height: none +Pass max-height: inherit +Pass max-width: 0px +Pass max-width: 1px +Pass max-width: .1em +Pass max-width: 5% +Pass max-width: .5% +Pass max-width: none +Pass max-width: inherit +Pass min-height: 0px +Pass min-height: 1px +Pass min-height: .1em +Pass min-height: 5% +Pass min-height: .5% +Pass min-height: inherit +Pass min-width: 0px +Pass min-width: 1px +Pass min-width: .1em +Pass min-width: 5% +Pass min-width: .5% +Pass min-width: inherit +Fail orphans: 101 +Fail orphans: inherit +Pass outline-color: black +Pass outline-color: red +Pass outline-color: rgb(50, 75, 100) +Fail outline-color: rgba(5, 7, 10, 0.5) +Fail outline-color: invert +Pass outline-color: inherit +Pass outline-style: none +Pass outline-style: dotted +Pass outline-style: dashed +Pass outline-style: solid +Pass outline-style: double +Pass outline-style: groove +Pass outline-style: ridge +Pass outline-style: inset +Pass outline-style: outset +Pass outline-style: inherit +Pass outline-width: thin +Pass outline-width: medium +Pass outline-width: thick +Pass outline-width: 0px +Pass outline-width: 1px +Pass outline-width: .1em +Pass outline-width: inherit +Fail overflow: visible +Fail overflow: hidden +Fail overflow: scroll +Fail overflow: auto +Fail overflow: inherit +Pass padding-top: 0px +Pass padding-top: 1px +Pass padding-top: .1em +Pass padding-top: 5% +Pass padding-top: .5% +Pass padding-top: inherit +Pass padding-right: 0px +Pass padding-right: 1px +Pass padding-right: .1em +Pass padding-right: 5% +Pass padding-right: .5% +Pass padding-right: inherit +Pass padding-bottom: 0px +Pass padding-bottom: 1px +Pass padding-bottom: .1em +Pass padding-bottom: 5% +Pass padding-bottom: .5% +Pass padding-bottom: inherit +Pass padding-left: 0px +Pass padding-left: 1px +Pass padding-left: .1em +Pass padding-left: 5% +Pass padding-left: .5% +Pass padding-left: inherit +Fail page-break-after: auto +Fail page-break-after: always +Fail page-break-after: avoid +Fail page-break-after: left +Fail page-break-after: right +Fail page-break-after: inherit +Fail page-break-before: auto +Fail page-break-before: always +Fail page-break-before: avoid +Fail page-break-before: left +Fail page-break-before: right +Fail page-break-before: inherit +Fail page-break-inside: avoid +Fail page-break-inside: auto +Fail page-break-inside: inherit +Pass position: static +Pass position: relative +Pass position: absolute +Pass position: fixed +Pass position: inherit +Pass right: 0px +Pass right: 1px +Pass right: .1em +Pass right: 5% +Pass right: .5% +Pass right: auto +Pass right: inherit +Pass table-layout: auto +Pass table-layout: fixed +Pass table-layout: inherit +Pass text-align: left +Pass text-align: right +Pass text-align: center +Pass text-align: justify +Pass text-align: inherit +Fail text-decoration: none +Fail text-decoration: underline +Fail text-decoration: overline +Fail text-decoration: line-through +Fail text-decoration: blink +Fail text-decoration: inherit +Pass text-indent: 0px +Pass text-indent: 1px +Pass text-indent: .1em +Pass text-indent: 5% +Pass text-indent: .5% +Pass text-indent: inherit +Pass text-transform: capitalize +Pass text-transform: uppercase +Pass text-transform: lowercase +Pass text-transform: none +Pass text-transform: inherit +Pass top: 0px +Pass top: 1px +Pass top: .1em +Pass top: 5% +Pass top: .5% +Pass top: auto +Pass top: inherit +Pass unicode-bidi: normal +Pass unicode-bidi: embed +Pass unicode-bidi: bidi-override +Pass unicode-bidi: inherit +Pass vertical-align: baseline +Pass vertical-align: sub +Pass vertical-align: super +Pass vertical-align: top +Pass vertical-align: text-top +Pass vertical-align: middle +Pass vertical-align: bottom +Pass vertical-align: text-bottom +Pass vertical-align: 5% +Pass vertical-align: .5% +Pass vertical-align: 0px +Pass vertical-align: 1px +Pass vertical-align: .1em +Pass vertical-align: inherit +Pass visibility: visible +Pass visibility: hidden +Pass visibility: collapse +Pass visibility: inherit +Pass white-space: normal +Pass white-space: pre +Pass white-space: nowrap +Pass white-space: pre-wrap +Pass white-space: pre-line +Pass white-space: inherit +Fail widows: 101 +Fail widows: inherit +Pass width: 0px +Pass width: 1px +Pass width: .1em +Pass width: 5% +Pass width: .5% +Pass width: auto +Pass width: inherit +Pass word-spacing: normal +Pass word-spacing: 0px +Pass word-spacing: 1px +Pass word-spacing: .1em +Pass word-spacing: inherit +Pass z-index: auto +Pass z-index: 0 +Pass z-index: 101 +Pass z-index: -51 +Pass z-index: inherit \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-variable-reference.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-variable-reference.txt new file mode 100644 index 00000000000..c9729304694 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/serialize-variable-reference.txt @@ -0,0 +1,15 @@ +Summary + +Harness status: OK + +Rerun + +Found 4 tests + +2 Pass +2 Fail +Details +Result Test Name MessagePass Longhand with variable preserves original serialization: with whitespace +Fail Shorthand with variable preserves original serialization: with whitespace +Pass Longhand with variable preserves original serialization but trims whitespace: without whitespace +Fail Shorthand with variable preserves original serialization but trims whitespace: without whitespace \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/shorthand-serialization.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/shorthand-serialization.txt new file mode 100644 index 00000000000..ffa4735fe8f --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/shorthand-serialization.txt @@ -0,0 +1,18 @@ +Summary + +Harness status: OK + +Rerun + +Found 7 tests + +3 Pass +4 Fail +Details +Result Test Name MessagePass Shorthand serialization with shorthand and longhands mixed. +Fail Shorthand serialization with just longhands. +Fail Shorthand serialization with variable and variable from other shorthand. +Fail Shorthand serialization after setting +Fail Shorthand serialization with 'initial' value. +Pass Shorthand serialization with 'initial' value, one longhand with important flag. +Pass Shorthand serialization with 'initial' value, longhands set individually, one with important flag. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom/shorthand-values.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/shorthand-values.txt new file mode 100644 index 00000000000..24a5625c8a6 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom/shorthand-values.txt @@ -0,0 +1,31 @@ +Summary + +Harness status: OK + +Rerun + +Found 20 tests + +2 Pass +18 Fail +Details +Result Test Name MessageFail The serialization of border: 1px; border-top: 1px; should be canonical. +Fail The serialization of border: 1px solid red; should be canonical. +Fail The serialization of border: 1px red; should be canonical. +Fail The serialization of border: red; should be canonical. +Fail The serialization of border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px; border-image: none; should be canonical. +Fail The serialization of border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px; should be canonical. +Fail The serialization of border-top: 1px; border-right: 2px; border-bottom: 3px; border-left: 4px; should be canonical. +Fail The serialization of border: 1px; border-top: 2px; should be canonical. +Fail The serialization of border: 1px; border-top: 1px !important; should be canonical. +Fail The serialization of border: 1px; border-top-color: red; should be canonical. +Fail The serialization of border: solid; border-style: dotted should be canonical. +Fail The serialization of border-width: 1px; should be canonical. +Fail The serialization of overflow-x: scroll; overflow-y: hidden; should be canonical. +Fail The serialization of overflow-x: scroll; overflow-y: scroll; should be canonical. +Fail The serialization of outline-width: 2px; outline-style: dotted; outline-color: blue; should be canonical. +Fail The serialization of margin-top: 1px; margin-right: 2px; margin-bottom: 3px; margin-left: 4px; should be canonical. +Fail The serialization of list-style-type: circle; list-style-position: inside; list-style-image: none; should be canonical. +Pass The serialization of list-style-type: lower-alpha; should be canonical. +Pass The serialization of font-family: sans-serif; line-height: 2em; font-size: 3em; font-style: italic; font-weight: bold; should be canonical. +Fail The serialization of padding-top: 1px; padding-right: 2px; padding-bottom: 3px; padding-left: 4px; should be canonical. \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-fonts/support/font-family-keywords.js b/Tests/LibWeb/Text/input/wpt-import/css/css-fonts/support/font-family-keywords.js new file mode 100644 index 00000000000..09bcf85c9fa --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-fonts/support/font-family-keywords.js @@ -0,0 +1,27 @@ +// keywords, as specified in +// https://drafts.csswg.org/css-fonts/#generic-family-value +var kGenericFontFamilyKeywords = [ + "serif", + "sans-serif", + "cursive", + "fantasy", + "monospace", + "system-ui", + "emoji", + "math", + "fangsong", + "ui-serif", + "ui-sans-serif", + "ui-monospace", + "ui-rounded", +]; + +// values that had/have web-exposed behavior in some browsers, but +// are not defined in the specification. +var kNonGenericFontFamilyKeywords = [ + "NonGenericFontFamilyName", + "-webkit-body", + "-webkit-standard", + "-webkit-pictograph", + "BlinkMacSystemFont", +]; diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/border-shorthand-serialization.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/border-shorthand-serialization.html new file mode 100644 index 00000000000..fefd20487ed --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/border-shorthand-serialization.html @@ -0,0 +1,42 @@ + + + + + + + +serialization of border shorthand + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/cssom-cssText-serialize.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/cssom-cssText-serialize.html new file mode 100644 index 00000000000..34217bd89b5 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/cssom-cssText-serialize.html @@ -0,0 +1,28 @@ + + + + CSSOM Parsing Test: getting cssText must return the result of serializing the CSS declaration blocks. + + + + + + + + + + + +
+
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/flex-serialization.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/flex-serialization.html new file mode 100644 index 00000000000..e8569613ce3 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/flex-serialization.html @@ -0,0 +1,36 @@ + + + + + CSSOM - Flex serialization + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-family-serialization-001.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-family-serialization-001.html new file mode 100644 index 00000000000..8fc15485d3e --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-family-serialization-001.html @@ -0,0 +1,44 @@ + + + +Serialization of font-family + + + + + +
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-shorthand-serialization.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-shorthand-serialization.html new file mode 100644 index 00000000000..6be3e873078 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-shorthand-serialization.html @@ -0,0 +1,17 @@ + + + +Serialization of font shorthand + + + + +
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-variant-shorthand-serialization.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-variant-shorthand-serialization.html new file mode 100644 index 00000000000..c29e6178a1a --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/font-variant-shorthand-serialization.html @@ -0,0 +1,131 @@ + + + +Serialization of font-variant shorthand + + + + + +
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/overflow-serialization.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/overflow-serialization.html new file mode 100644 index 00000000000..87be34da699 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/overflow-serialization.html @@ -0,0 +1,61 @@ + + + + + CSSOM - Overflow shorthand serialization + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/selectorSerialize.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/selectorSerialize.html new file mode 100644 index 00000000000..972c5085ab0 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/selectorSerialize.html @@ -0,0 +1,141 @@ + + + + CSSOM Test: test serialized selector which is only one simple selector in the sequence of simple selectors + + + + + + + + + + +
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialization-CSSDeclaration-with-important.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialization-CSSDeclaration-with-important.html new file mode 100644 index 00000000000..2a4f95730d0 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialization-CSSDeclaration-with-important.html @@ -0,0 +1,32 @@ + + +cssom - Serialization of CSS declaration with "important" flag + + + +
+
+
+ \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-all-longhands.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-all-longhands.html new file mode 100644 index 00000000000..0044eb63d78 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-all-longhands.html @@ -0,0 +1,36 @@ + + +Serialize all longhands + + + + +
+ + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-custom-props.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-custom-props.html new file mode 100644 index 00000000000..143ee48ee9a --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-custom-props.html @@ -0,0 +1,69 @@ + + + +Serializing Integers Never Uses Scinot + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-media-rule.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-media-rule.html new file mode 100644 index 00000000000..cdfd360a3c3 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-media-rule.html @@ -0,0 +1,185 @@ + + + + + CSSOM - Serialization of CSSMediaRule + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-namespaced-type-selectors.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-namespaced-type-selectors.html new file mode 100644 index 00000000000..b0ff411dfb5 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-namespaced-type-selectors.html @@ -0,0 +1,257 @@ + + + + CSSOM Test: test serialization of type selectors and namespace prefixes + + + + + + + + + +
+ + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-values.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-values.html new file mode 100644 index 00000000000..f6b05ed5c22 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-values.html @@ -0,0 +1,614 @@ + + +CSSOM serialize values + + + + + +
+
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-variable-reference.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-variable-reference.html new file mode 100644 index 00000000000..c30d97ef4a7 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/serialize-variable-reference.html @@ -0,0 +1,36 @@ + + +CSSOM - Serialization with variable preserves original serialization. + + + + +
+
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/shorthand-serialization.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/shorthand-serialization.html new file mode 100644 index 00000000000..48ff4590589 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/shorthand-serialization.html @@ -0,0 +1,86 @@ + + + + + Shorthand serialization should be done correctly. + + + + + + +
foo
+
foo
+
foo
+ +
foo
+
foo
+
foo
+ +
foo
+
+ + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom/shorthand-values.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom/shorthand-values.html new file mode 100644 index 00000000000..38c3f89c48a --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom/shorthand-values.html @@ -0,0 +1,51 @@ + + + CSS OM: CSS Values + + + + + + + + +
+ + +