Commit 707870e6 authored by Eric Willigers's avatar Eric Willigers Committed by Commit Bot

CSS: WPT tests property values are supported.

test_computed_value now checks that the value is supported.

Change-Id: Ic8c38df6030b3689f4fdec30a55f230d6cc113d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866498Reviewed-by: default avatarAlison Maher <almaher@microsoft.com>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708034}
parent bfae3aa7
......@@ -2,18 +2,18 @@ This is a testharness.js-based test.
PASS Property background-position-x value 'center' computes to '50%'
PASS Property background-position-x value 'left' computes to '0%'
PASS Property background-position-x value 'right' computes to '100%'
FAIL Property background-position-x value 'x-start' computes to 'x-start' assert_equals: expected "x-start" but got "0%"
FAIL Property background-position-x value 'x-end' computes to 'x-end' assert_equals: expected "x-end" but got "0%"
FAIL Property background-position-x value 'x-start' computes to 'x-start' assert_true: 'x-start' is a supported value for background-position-x. expected true got false
FAIL Property background-position-x value 'x-end' computes to 'x-end' assert_true: 'x-end' is a supported value for background-position-x. expected true got false
PASS Property background-position-x value '-20%' computes to '-20%'
PASS Property background-position-x value '10px' computes to '10px'
PASS Property background-position-x value '0.5em' computes to '20px'
PASS Property background-position-x value 'calc(10px - 0.5em)' computes to '-10px'
FAIL Property background-position-x value 'left -20%' computes to '-20%' assert_equals: expected "-20%" but got "0%"
FAIL Property background-position-x value 'right -10px' computes to 'calc(100% + 10px)' assert_equals: expected "calc(100% + 10px)" but got "0%"
FAIL Property background-position-x value 'left -20%' computes to '-20%' assert_true: 'left -20%' is a supported value for background-position-x. expected true got false
FAIL Property background-position-x value 'right -10px' computes to 'calc(100% + 10px)' assert_true: 'right -10px' is a supported value for background-position-x. expected true got false
PASS Property background-position-x value '-20%, 10px' computes to '-20%'
PASS Property background-position-x value 'center, left, right' computes to '50%'
FAIL Property background-position-x value '0.5em, x-start, x-end' computes to '20px' assert_equals: expected "20px" but got "0%"
FAIL Property background-position-x value '0.5em, x-start, x-end' computes to '20px' assert_true: '0.5em, x-start, x-end' is a supported value for background-position-x. expected true got false
PASS Property background-position-x value 'calc(10px - 0.5em), -20%, 10px' computes to '-10px'
FAIL Property background-position-x value 'calc(10px - 0.5em), left -20%, right 10px' computes to '-10px' assert_equals: expected "-10px" but got "0%"
FAIL Property background-position-x value 'calc(10px - 0.5em), left -20%, right 10px' computes to '-10px' assert_true: 'calc(10px - 0.5em), left -20%, right 10px' is a supported value for background-position-x. expected true got false
Harness: the test ran to completion.
......@@ -2,18 +2,18 @@ This is a testharness.js-based test.
PASS Property background-position-y value 'center' computes to '50%'
PASS Property background-position-y value 'top' computes to '0%'
PASS Property background-position-y value 'bottom' computes to '100%'
FAIL Property background-position-y value 'y-start' computes to 'y-start' assert_equals: expected "y-start" but got "0%"
FAIL Property background-position-y value 'y-end' computes to 'y-end' assert_equals: expected "y-end" but got "0%"
FAIL Property background-position-y value 'y-start' computes to 'y-start' assert_true: 'y-start' is a supported value for background-position-y. expected true got false
FAIL Property background-position-y value 'y-end' computes to 'y-end' assert_true: 'y-end' is a supported value for background-position-y. expected true got false
PASS Property background-position-y value '-20%' computes to '-20%'
PASS Property background-position-y value '10px' computes to '10px'
PASS Property background-position-y value '0.5em' computes to '20px'
PASS Property background-position-y value 'calc(10px - 0.5em)' computes to '-10px'
FAIL Property background-position-y value 'top -20%' computes to '-20%' assert_equals: expected "-20%" but got "0%"
FAIL Property background-position-y value 'bottom -10px' computes to 'calc(100% + 10px)' assert_equals: expected "calc(100% + 10px)" but got "0%"
FAIL Property background-position-y value 'top -20%' computes to '-20%' assert_true: 'top -20%' is a supported value for background-position-y. expected true got false
FAIL Property background-position-y value 'bottom -10px' computes to 'calc(100% + 10px)' assert_true: 'bottom -10px' is a supported value for background-position-y. expected true got false
PASS Property background-position-y value '-20%, 10px' computes to '-20%'
PASS Property background-position-y value 'center, top, bottom' computes to '50%'
FAIL Property background-position-y value '0.5em, y-start, y-end' computes to '20px' assert_equals: expected "20px" but got "0%"
FAIL Property background-position-y value '0.5em, y-start, y-end' computes to '20px' assert_true: '0.5em, y-start, y-end' is a supported value for background-position-y. expected true got false
PASS Property background-position-y value 'calc(10px - 0.5em), -20%, 10px' computes to '-10px'
FAIL Property background-position-y value 'calc(10px - 0.5em), top -20%, bottom 10px' computes to '-10px' assert_equals: expected "-10px" but got "0%"
FAIL Property background-position-y value 'calc(10px - 0.5em), top -20%, bottom 10px' computes to '-10px' assert_true: 'calc(10px - 0.5em), top -20%, bottom 10px' is a supported value for background-position-y. expected true got false
Harness: the test ran to completion.
......@@ -9,7 +9,7 @@ PASS Property break-after value 'recto' computes to 'recto'
PASS Property break-after value 'verso' computes to 'verso'
PASS Property break-after value 'avoid-column' computes to 'avoid-column'
PASS Property break-after value 'column' computes to 'column'
FAIL Property break-after value 'avoid-region' computes to 'avoid-region' assert_equals: expected "avoid-region" but got "auto"
FAIL Property break-after value 'region' computes to 'region' assert_equals: expected "region" but got "auto"
FAIL Property break-after value 'avoid-region' computes to 'avoid-region' assert_true: 'avoid-region' is a supported value for break-after. expected true got false
FAIL Property break-after value 'region' computes to 'region' assert_true: 'region' is a supported value for break-after. expected true got false
Harness: the test ran to completion.
......@@ -9,7 +9,7 @@ PASS Property break-before value 'recto' computes to 'recto'
PASS Property break-before value 'verso' computes to 'verso'
PASS Property break-before value 'avoid-column' computes to 'avoid-column'
PASS Property break-before value 'column' computes to 'column'
FAIL Property break-before value 'avoid-region' computes to 'avoid-region' assert_equals: expected "avoid-region" but got "auto"
FAIL Property break-before value 'region' computes to 'region' assert_equals: expected "region" but got "auto"
FAIL Property break-before value 'avoid-region' computes to 'avoid-region' assert_true: 'avoid-region' is a supported value for break-before. expected true got false
FAIL Property break-before value 'region' computes to 'region' assert_true: 'region' is a supported value for break-before. expected true got false
Harness: the test ran to completion.
......@@ -3,6 +3,6 @@ PASS Property break-inside value 'auto' computes to 'auto'
PASS Property break-inside value 'avoid' computes to 'avoid'
PASS Property break-inside value 'avoid-page' computes to 'avoid-page'
PASS Property break-inside value 'avoid-column' computes to 'avoid-column'
FAIL Property break-inside value 'avoid-region' computes to 'avoid-region' assert_equals: expected "avoid-region" but got "auto"
FAIL Property break-inside value 'avoid-region' computes to 'avoid-region' assert_true: 'avoid-region' is a supported value for break-inside. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Property forced-color-adjust value '' computes to 'auto' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
FAIL Property forced-color-adjust value 'auto' computes to 'auto' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
FAIL Property forced-color-adjust value 'none' computes to 'none' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
FAIL Property forced-color-adjust value 'initial' computes to 'auto' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
FAIL Property forced-color-adjust value 'inherit' computes to 'auto' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
FAIL Property forced-color-adjust value 'unset' computes to 'auto' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
FAIL Property forced-color-adjust value 'revert' computes to 'auto' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
FAIL Property forced-color-adjust value 'default' computes to 'auto' assert_true: forced-color-adjust doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
......@@ -6,13 +6,6 @@
<script src="/css/support/computed-testcommon.js"></script>
<div id="target"></div>
<script>
test_computed_value("forced-color-adjust", "", "auto");
test_computed_value("forced-color-adjust", "auto");
test_computed_value("forced-color-adjust", "none");
// reserved and css-wide keywords.
test_computed_value("forced-color-adjust", "initial", "auto");
test_computed_value("forced-color-adjust", "inherit", "auto");
test_computed_value("forced-color-adjust", "unset", "auto");
test_computed_value("forced-color-adjust", "revert", "auto");
test_computed_value("forced-color-adjust", "default", "auto");
</script>
......@@ -10,4 +10,6 @@
test_invalid_value("forced-color-adjust", "none none");
test_invalid_value("forced-color-adjust", "none auto");
test_invalid_value("forced-color-adjust", "1");
test_invalid_value("forced-color-adjust", "revert");
test_invalid_value("forced-color-adjust", "default");
</script>
This is a testharness.js-based test.
PASS Property image-orientation value 'from-image' computes to 'from-image'
FAIL Property image-orientation value 'none' computes to 'none' assert_equals: expected "none" but got "0deg"
FAIL Property image-orientation value 'none' computes to 'none' assert_true: 'none' is a supported value for image-orientation. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property image-rendering value 'auto' computes to 'auto'
FAIL Property image-rendering value 'smooth' computes to 'smooth' assert_equals: expected "smooth" but got "auto"
FAIL Property image-rendering value 'high-quality' computes to 'high-quality' assert_equals: expected "high-quality" but got "auto"
FAIL Property image-rendering value 'crisp-edges' computes to 'crisp-edges' assert_equals: expected "crisp-edges" but got "auto"
FAIL Property image-rendering value 'smooth' computes to 'smooth' assert_true: 'smooth' is a supported value for image-rendering. expected true got false
FAIL Property image-rendering value 'high-quality' computes to 'high-quality' assert_true: 'high-quality' is a supported value for image-rendering. expected true got false
FAIL Property image-rendering value 'crisp-edges' computes to 'crisp-edges' assert_true: 'crisp-edges' is a supported value for image-rendering. expected true got false
PASS Property image-rendering value 'pixelated' computes to 'pixelated'
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property object-fit value 'contain' computes to 'contain'
PASS Property object-fit value 'cover' computes to 'cover'
FAIL Property object-fit value 'cover scale-down' computes to 'cover scale-down' assert_equals: expected "cover scale-down" but got "fill"
FAIL Property object-fit value 'cover scale-down' computes to 'cover scale-down' assert_true: 'cover scale-down' is a supported value for object-fit. expected true got false
PASS Property object-fit value 'fill' computes to 'fill'
PASS Property object-fit value 'none' computes to 'none'
PASS Property object-fit value 'scale-down' computes to 'scale-down'
......
This is a testharness.js-based test.
PASS Property alignment-baseline value 'baseline' computes to 'baseline'
FAIL Property alignment-baseline value 'text-bottom' computes to 'text-bottom' assert_equals: expected "text-bottom" but got "auto"
FAIL Property alignment-baseline value 'text-bottom' computes to 'text-bottom' assert_true: 'text-bottom' is a supported value for alignment-baseline. expected true got false
PASS Property alignment-baseline value 'alphabetic' computes to 'alphabetic'
PASS Property alignment-baseline value 'ideographic' computes to 'ideographic'
PASS Property alignment-baseline value 'middle' computes to 'middle'
PASS Property alignment-baseline value 'central' computes to 'central'
PASS Property alignment-baseline value 'mathematical' computes to 'mathematical'
FAIL Property alignment-baseline value 'text-top' computes to 'text-top' assert_equals: expected "text-top" but got "auto"
FAIL Property alignment-baseline value 'bottom' computes to 'bottom' assert_equals: expected "bottom" but got "auto"
FAIL Property alignment-baseline value 'center' computes to 'center' assert_equals: expected "center" but got "auto"
FAIL Property alignment-baseline value 'top' computes to 'top' assert_equals: expected "top" but got "auto"
FAIL Property alignment-baseline value 'text-top' computes to 'text-top' assert_true: 'text-top' is a supported value for alignment-baseline. expected true got false
FAIL Property alignment-baseline value 'bottom' computes to 'bottom' assert_true: 'bottom' is a supported value for alignment-baseline. expected true got false
FAIL Property alignment-baseline value 'center' computes to 'center' assert_true: 'center' is a supported value for alignment-baseline. expected true got false
FAIL Property alignment-baseline value 'top' computes to 'top' assert_true: 'top' is a supported value for alignment-baseline. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property dominant-baseline value 'auto' computes to 'auto'
FAIL Property dominant-baseline value 'text-bottom' computes to 'text-bottom' assert_equals: expected "text-bottom" but got "auto"
FAIL Property dominant-baseline value 'text-bottom' computes to 'text-bottom' assert_true: 'text-bottom' is a supported value for dominant-baseline. expected true got false
PASS Property dominant-baseline value 'alphabetic' computes to 'alphabetic'
PASS Property dominant-baseline value 'ideographic' computes to 'ideographic'
PASS Property dominant-baseline value 'middle' computes to 'middle'
PASS Property dominant-baseline value 'central' computes to 'central'
PASS Property dominant-baseline value 'mathematical' computes to 'mathematical'
PASS Property dominant-baseline value 'hanging' computes to 'hanging'
FAIL Property dominant-baseline value 'text-top' computes to 'text-top' assert_equals: expected "text-top" but got "auto"
FAIL Property dominant-baseline value 'text-top' computes to 'text-top' assert_true: 'text-top' is a supported value for dominant-baseline. expected true got false
Harness: the test ran to completion.
......@@ -16,13 +16,13 @@ PASS Property list-style-type value 'lower-alpha' computes to 'lower-alpha'
PASS Property list-style-type value 'upper-alpha' computes to 'upper-alpha'
PASS Property list-style-type value '"marker string"' computes to '"marker string"'
PASS Property list-style-type value '"Note: "' computes to '"Note: "'
FAIL Property list-style-type value 'counter-Style-Name' computes to 'counter-Style-Name' assert_equals: expected "counter-Style-Name" but got "disc"
FAIL Property list-style-type value 'CounterStyleName' computes to 'CounterStyleName' assert_equals: expected "CounterStyleName" but got "disc"
FAIL Property list-style-type value 'symbols(cyclic "string")' computes to 'symbols(cyclic "string")' assert_equals: expected "symbols(cyclic \"string\")" but got "disc"
FAIL Property list-style-type value 'symbols(cyclic "○" "●")' computes to 'symbols(cyclic "○" "●")' assert_equals: expected "symbols(cyclic \"○\" \"●\")" but got "disc"
FAIL Property list-style-type value 'symbols(fixed "1")' computes to 'symbols(fixed "1")' assert_equals: expected "symbols(fixed \"1\")" but got "disc"
FAIL Property list-style-type value 'symbols("string")' computes to 'symbols("string")' assert_equals: expected "symbols(\"string\")" but got "disc"
FAIL Property list-style-type value 'symbols(alphabetic "first" "second")' computes to 'symbols(alphabetic "first" "second")' assert_equals: expected "symbols(alphabetic \"first\" \"second\")" but got "disc"
FAIL Property list-style-type value 'symbols(numeric "first" "second")' computes to 'symbols(numeric "first" "second")' assert_equals: expected "symbols(numeric \"first\" \"second\")" but got "disc"
FAIL Property list-style-type value 'counter-Style-Name' computes to 'counter-Style-Name' assert_true: 'counter-Style-Name' is a supported value for list-style-type. expected true got false
FAIL Property list-style-type value 'CounterStyleName' computes to 'CounterStyleName' assert_true: 'CounterStyleName' is a supported value for list-style-type. expected true got false
FAIL Property list-style-type value 'symbols(cyclic "string")' computes to 'symbols(cyclic "string")' assert_true: 'symbols(cyclic "string")' is a supported value for list-style-type. expected true got false
FAIL Property list-style-type value 'symbols(cyclic "○" "●")' computes to 'symbols(cyclic "○" "●")' assert_true: 'symbols(cyclic "○" "●")' is a supported value for list-style-type. expected true got false
FAIL Property list-style-type value 'symbols(fixed "1")' computes to 'symbols(fixed "1")' assert_true: 'symbols(fixed "1")' is a supported value for list-style-type. expected true got false
FAIL Property list-style-type value 'symbols("string")' computes to 'symbols("string")' assert_true: 'symbols("string")' is a supported value for list-style-type. expected true got false
FAIL Property list-style-type value 'symbols(alphabetic "first" "second")' computes to 'symbols(alphabetic "first" "second")' assert_true: 'symbols(alphabetic "first" "second")' is a supported value for list-style-type. expected true got false
FAIL Property list-style-type value 'symbols(numeric "first" "second")' computes to 'symbols(numeric "first" "second")' assert_true: 'symbols(numeric "first" "second")' is a supported value for list-style-type. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property column-fill value 'auto' computes to 'auto'
PASS Property column-fill value 'balance' computes to 'balance'
FAIL Property column-fill value 'balance-all' computes to 'balance-all' assert_equals: expected "balance-all" but got "balance"
FAIL Property column-fill value 'balance-all' computes to 'balance-all' assert_true: 'balance-all' is a supported value for column-fill. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property overflow value 'visible' computes to 'visible'
PASS Property overflow value 'hidden' computes to 'hidden'
FAIL Property overflow value 'clip' computes to 'clip' assert_equals: expected "clip" but got "visible"
FAIL Property overflow value 'clip' computes to 'clip' assert_true: 'clip' is a supported value for overflow. expected true got false
PASS Property overflow value 'scroll' computes to 'scroll'
PASS Property overflow value 'auto' computes to 'auto'
PASS Property overflow value 'auto auto' computes to 'auto'
FAIL Property overflow value 'auto clip' computes to 'auto hidden' assert_equals: expected "auto hidden" but got "visible"
FAIL Property overflow value 'auto clip' computes to 'auto hidden' assert_true: 'auto clip' is a supported value for overflow. expected true got false
PASS Property overflow value 'auto visible' computes to 'auto'
FAIL Property overflow value 'clip auto' computes to 'hidden auto' assert_equals: expected "hidden auto" but got "visible"
FAIL Property overflow value 'clip clip' computes to 'clip' assert_equals: expected "clip" but got "visible"
FAIL Property overflow value 'clip hidden' computes to 'hidden' assert_equals: expected "hidden" but got "visible"
FAIL Property overflow value 'clip scroll' computes to 'hidden scroll' assert_equals: expected "hidden scroll" but got "visible"
FAIL Property overflow value 'hidden clip' computes to 'hidden' assert_equals: expected "hidden" but got "visible"
FAIL Property overflow value 'clip auto' computes to 'hidden auto' assert_true: 'clip auto' is a supported value for overflow. expected true got false
FAIL Property overflow value 'clip clip' computes to 'clip' assert_true: 'clip clip' is a supported value for overflow. expected true got false
FAIL Property overflow value 'clip hidden' computes to 'hidden' assert_true: 'clip hidden' is a supported value for overflow. expected true got false
FAIL Property overflow value 'clip scroll' computes to 'hidden scroll' assert_true: 'clip scroll' is a supported value for overflow. expected true got false
FAIL Property overflow value 'hidden clip' computes to 'hidden' assert_true: 'hidden clip' is a supported value for overflow. expected true got false
PASS Property overflow value 'hidden visible' computes to 'hidden auto'
PASS Property overflow value 'scroll auto' computes to 'scroll auto'
FAIL Property overflow value 'scroll clip' computes to 'scroll hidden' assert_equals: expected "scroll hidden" but got "visible"
FAIL Property overflow value 'scroll clip' computes to 'scroll hidden' assert_true: 'scroll clip' is a supported value for overflow. expected true got false
PASS Property overflow value 'scroll visible' computes to 'scroll auto'
PASS Property overflow value 'visible auto' computes to 'auto'
PASS Property overflow value 'visible hidden' computes to 'auto hidden'
......@@ -23,11 +23,11 @@ PASS Property overflow value 'visible visible' computes to 'visible'
PASS Property overflow-x value 'scroll' computes to 'scroll'
PASS Property overflow-x value 'hidden' computes to 'hidden'
PASS Property overflow-x value 'visible' computes to 'visible'
FAIL Property overflow-y value 'clip' computes to 'clip' assert_equals: expected "clip" but got "visible"
FAIL Property overflow-y value 'clip' computes to 'clip' assert_true: 'clip' is a supported value for overflow-y. expected true got false
PASS Property overflow-y value 'auto' computes to 'auto'
PASS Property overflow-y value 'visible' computes to 'visible'
PASS Property overflow-block value 'hidden' computes to 'hidden'
FAIL Property overflow-block value 'clip' computes to 'clip' assert_equals: expected "clip" but got "visible"
FAIL Property overflow-block value 'clip' computes to 'clip' assert_true: 'clip' is a supported value for overflow-block. expected true got false
PASS Property overflow-block value 'visible' computes to 'visible'
PASS Property overflow-inline value 'scroll' computes to 'scroll'
PASS Property overflow-inline value 'visible' computes to 'visible'
......
......@@ -5,8 +5,8 @@ PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_own_property: expected property "polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box" missing
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_own_property: expected property "polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box" missing
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_own_property: expected property "polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em))" missing
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
......@@ -7,9 +7,9 @@ PASS Property text-decoration value 'double overline underline' computes to 'und
FAIL Property text-decoration value 'underline overline line-through red' computes to 'underline overline line-through rgb(255, 0, 0)' assert_equals: expected "underline overline line-through rgb(255, 0, 0)" but got "underline overline line-through solid rgb(255, 0, 0)"
FAIL Property text-decoration value 'rgba(10, 20, 30, 0.4) dotted' computes to 'dotted rgba(10, 20, 30, 0.4)' assert_equals: expected "dotted rgba(10, 20, 30, 0.4)" but got "none dotted rgba(10, 20, 30, 0.4)"
PASS Property text-decoration value 'underline dashed rgb(0, 255, 0)' computes to 'underline dashed rgb(0, 255, 0)'
FAIL Property text-decoration value 'auto' computes to 'rgb(0, 0, 255)' assert_equals: expected "rgb(0, 0, 255)" but got "none solid rgb(0, 0, 255)"
FAIL Property text-decoration value 'from-font' computes to 'rgb(0, 0, 255) from-font' assert_equals: expected "rgb(0, 0, 255) from-font" but got "none solid rgb(0, 0, 255)"
FAIL Property text-decoration value '10px' computes to 'rgb(0, 0, 255) 10px' assert_equals: expected "rgb(0, 0, 255) 10px" but got "none solid rgb(0, 0, 255)"
FAIL Property text-decoration value 'underline red from-font' computes to 'underline rgb(255, 0, 0) from-font' assert_equals: expected "underline rgb(255, 0, 0) from-font" but got "none solid rgb(0, 0, 255)"
FAIL Property text-decoration value 'auto' computes to 'rgb(0, 0, 255)' assert_true: 'auto' is a supported value for text-decoration. expected true got false
FAIL Property text-decoration value 'from-font' computes to 'rgb(0, 0, 255) from-font' assert_true: 'from-font' is a supported value for text-decoration. expected true got false
FAIL Property text-decoration value '10px' computes to 'rgb(0, 0, 255) 10px' assert_true: '10px' is a supported value for text-decoration. expected true got false
FAIL Property text-decoration value 'underline red from-font' computes to 'underline rgb(255, 0, 0) from-font' assert_true: 'underline red from-font' is a supported value for text-decoration. expected true got false
Harness: the test ran to completion.
......@@ -15,7 +15,7 @@ FAIL Property text-decoration-line value 'underline overline blink' computes to
FAIL Property text-decoration-line value 'underline line-through blink' computes to 'underline line-through blink' assert_equals: expected "underline line-through blink" but got "underline line-through"
FAIL Property text-decoration-line value 'overline line-through blink' computes to 'overline line-through blink' assert_equals: expected "overline line-through blink" but got "overline line-through"
FAIL Property text-decoration-line value 'underline overline line-through blink' computes to 'underline overline line-through blink' assert_equals: expected "underline overline line-through blink" but got "underline overline line-through"
FAIL Property text-decoration-line value 'spelling-error' computes to 'spelling-error' assert_equals: expected "spelling-error" but got "none"
FAIL Property text-decoration-line value 'grammar-error' computes to 'grammar-error' assert_equals: expected "grammar-error" but got "none"
FAIL Property text-decoration-line value 'spelling-error' computes to 'spelling-error' assert_true: 'spelling-error' is a supported value for text-decoration-line. expected true got false
FAIL Property text-decoration-line value 'grammar-error' computes to 'grammar-error' assert_true: 'grammar-error' is a supported value for text-decoration-line. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property hyphens value 'none' computes to 'none'
PASS Property hyphens value 'manual' computes to 'manual'
FAIL Property hyphens value 'auto' computes to 'auto' assert_equals: expected "auto" but got "manual"
FAIL Property hyphens value 'auto' computes to 'auto' assert_true: 'auto' is a supported value for hyphens. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property overflow-wrap value 'normal' computes to 'normal'
PASS Property overflow-wrap value 'break-word' computes to 'break-word'
FAIL Property overflow-wrap value 'anywhere' computes to 'anywhere' assert_equals: expected "anywhere" but got "normal"
FAIL Property overflow-wrap value 'anywhere' computes to 'anywhere' assert_true: 'anywhere' is a supported value for overflow-wrap. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property text-align value 'start' computes to 'start'
PASS Property text-align value 'end' computes to 'end'
PASS Property text-align value 'left' computes to 'left'
PASS Property text-align value 'right' computes to 'right'
PASS Property text-align value 'center' computes to 'center'
PASS Property text-align value 'justify' computes to 'justify'
FAIL Property text-align value 'match-parent' computes to 'center' assert_true: 'match-parent' is a supported value for text-align. expected true got false
Harness: the test ran to completion.
......@@ -6,6 +6,6 @@ PASS Property text-align-last value 'left' computes to 'left'
PASS Property text-align-last value 'right' computes to 'right'
PASS Property text-align-last value 'center' computes to 'center'
PASS Property text-align-last value 'justify' computes to 'justify'
FAIL Property text-align-last value 'match-parent' computes to 'match-parent' assert_equals: expected "match-parent" but got "auto"
FAIL Property text-align-last value 'match-parent' computes to 'match-parent' assert_true: 'match-parent' is a supported value for text-align-last. expected true got false
Harness: the test ran to completion.
......@@ -2,6 +2,6 @@ This is a testharness.js-based test.
PASS Property text-justify value 'auto' computes to 'auto'
PASS Property text-justify value 'none' computes to 'none'
PASS Property text-justify value 'inter-word' computes to 'inter-word'
FAIL Property text-justify value 'inter-character' computes to 'inter-character' assert_equals: expected "inter-character" but got "auto"
FAIL Property text-justify value 'inter-character' computes to 'inter-character' assert_true: 'inter-character' is a supported value for text-justify. expected true got false
Harness: the test ran to completion.
......@@ -3,10 +3,10 @@ PASS Property text-transform value 'none' computes to 'none'
PASS Property text-transform value 'capitalize' computes to 'capitalize'
PASS Property text-transform value 'uppercase' computes to 'uppercase'
PASS Property text-transform value 'lowercase' computes to 'lowercase'
FAIL Property text-transform value 'full-width' computes to 'full-width' assert_equals: expected "full-width" but got "none"
FAIL Property text-transform value 'full-size-kana' computes to 'full-size-kana' assert_equals: expected "full-size-kana" but got "none"
FAIL Property text-transform value 'capitalize full-width' computes to 'capitalize full-width' assert_equals: expected "capitalize full-width" but got "none"
FAIL Property text-transform value 'full-width full-size-kana' computes to 'full-width full-size-kana' assert_equals: expected "full-width full-size-kana" but got "none"
FAIL Property text-transform value 'uppercase full-width full-size-kana' computes to 'uppercase full-width full-size-kana' assert_equals: expected "uppercase full-width full-size-kana" but got "none"
FAIL Property text-transform value 'full-width' computes to 'full-width' assert_true: 'full-width' is a supported value for text-transform. expected true got false
FAIL Property text-transform value 'full-size-kana' computes to 'full-size-kana' assert_true: 'full-size-kana' is a supported value for text-transform. expected true got false
FAIL Property text-transform value 'capitalize full-width' computes to 'capitalize full-width' assert_true: 'capitalize full-width' is a supported value for text-transform. expected true got false
FAIL Property text-transform value 'full-width full-size-kana' computes to 'full-width full-size-kana' assert_true: 'full-width full-size-kana' is a supported value for text-transform. expected true got false
FAIL Property text-transform value 'uppercase full-width full-size-kana' computes to 'uppercase full-width full-size-kana' assert_true: 'uppercase full-width full-size-kana' is a supported value for text-transform. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property word-wrap value 'normal' computes to 'normal'
PASS Property word-wrap value 'break-word' computes to 'break-word'
FAIL Property word-wrap value 'anywhere' computes to 'anywhere' assert_equals: expected "anywhere" but got "normal"
FAIL Property word-wrap value 'anywhere' computes to 'anywhere' assert_true: 'anywhere' is a supported value for word-wrap. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Property transform-box value 'content-box' computes to 'content-box' assert_equals: expected "content-box" but got "view-box"
FAIL Property transform-box value 'border-box' computes to 'border-box' assert_equals: expected "border-box" but got "view-box"
FAIL Property transform-box value 'content-box' computes to 'content-box' assert_true: 'content-box' is a supported value for transform-box. expected true got false
FAIL Property transform-box value 'border-box' computes to 'border-box' assert_true: 'border-box' is a supported value for transform-box. expected true got false
PASS Property transform-box value 'fill-box' computes to 'fill-box'
FAIL Property transform-box value 'stroke-box' computes to 'stroke-box' assert_equals: expected "stroke-box" but got "view-box"
FAIL Property transform-box value 'stroke-box' computes to 'stroke-box' assert_true: 'stroke-box' is a supported value for transform-box. expected true got false
PASS Property transform-box value 'view-box' computes to 'view-box'
Harness: the test ran to completion.
......@@ -13,8 +13,6 @@
<div id="target"></div>
<script>
test_computed_value("transition-timing-function", "linear");
test_computed_value("transition-timing-function", "", "ease");
test_computed_value("transition-timing-function", "initial", "ease");
test_computed_value("transition-timing-function", "ease");
test_computed_value("transition-timing-function", "ease-in");
......
......@@ -2,7 +2,7 @@ This is a testharness.js-based test.
PASS Property user-select value 'auto' computes to 'auto'
PASS Property user-select value 'text' computes to 'text'
PASS Property user-select value 'none' computes to 'none'
FAIL Property user-select value 'contain' computes to 'contain' assert_equals: expected "contain" but got "auto"
FAIL Property user-select value 'contain' computes to 'contain' assert_true: 'contain' is a supported value for user-select. expected true got false
PASS Property user-select value 'all' computes to 'all'
Harness: the test ran to completion.
......@@ -21,6 +21,7 @@ function test_computed_value(property, specified, computed) {
test(() => {
const target = document.getElementById('target');
assert_true(property in getComputedStyle(target), property + " doesn't seem to be supported in the computed style");
assert_true(CSS.supports(property, specified), "'" + specified + "' is a supported value for " + property + ".");
target.style[property] = '';
target.style[property] = specified;
......
This is a testharness.js-based test.
PASS Property image-rendering value 'auto' computes to 'auto'
FAIL Property image-rendering value 'optimizequality' computes to 'optimizequality' assert_equals: expected "optimizequality" but got "auto"
FAIL Property image-rendering value 'optimizespeed' computes to 'optimizespeed' assert_equals: expected "optimizespeed" but got "auto"
FAIL Property image-rendering value 'optimizequality' computes to 'optimizequality' assert_true: 'optimizequality' is a supported value for image-rendering. expected true got false
FAIL Property image-rendering value 'optimizespeed' computes to 'optimizespeed' assert_true: 'optimizespeed' is a supported value for image-rendering. expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property shape-outside value 'circle(at 10% 20%)' computes to 'circle(at 10% 20%)'
PASS Property shape-outside value 'circle(calc(10px + 0.5em) at -50% 50%) border-box' computes to 'circle(30px at -50% 50%) border-box'
PASS Property shape-outside value 'circle(calc(10px - 0.5em) at 50% -50%) border-box' computes to 'circle(0px at 50% -50%) border-box'
PASS Property shape-outside value 'ellipse(60% closest-side at 50% 50%)' computes to 'ellipse(60% closest-side at 50% 50%)'
PASS Property shape-outside value 'ellipse(calc(10px + 0.5em) calc(10px - 0.5em) at -50% 50%) padding-box' computes to 'ellipse(30px 0px at -50% 50%) padding-box'
PASS Property shape-outside value 'ellipse(calc(10px - 0.5em) calc(10px + 0.5em) at 50% -50%) border-box' computes to 'ellipse(0px 30px at 50% -50%) border-box'
FAIL Property polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box value 'undefined' computes to 'undefined' assert_true: polygon(evenodd, -10px, -20px, -30px, -40px, -50px, -60px) margin-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box value 'undefined' computes to 'undefined' assert_true: polygon(10%, 20%, 30%, 40%, 50%, 60%) content-box doesn't seem to be supported in the computed style expected true got false
FAIL Property polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) value 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' computes to 'polygon(-10px, 20%, 30%, 40%, 50%, -10px)' assert_true: polygon(calc(10px - 0.5em), 20%, 30%, 40%, 50%, calc(10px - 0.5em)) doesn't seem to be supported in the computed style expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Property forced-color-adjust value '' computes to 'auto'
PASS Property forced-color-adjust value 'auto' computes to 'auto'
PASS Property forced-color-adjust value 'none' computes to 'none'
PASS Property forced-color-adjust value 'initial' computes to 'auto'
PASS Property forced-color-adjust value 'inherit' computes to 'auto'
PASS Property forced-color-adjust value 'unset' computes to 'auto'
PASS Property forced-color-adjust value 'revert' computes to 'auto'
PASS Property forced-color-adjust value 'default' computes to 'auto'
Harness: the test ran to completion.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment