From eb2a7b5b5c1bace6798362395d03067cb6f8c144 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 25 May 2024 11:59:10 +0100 Subject: [PATCH] tests: select: Add test that calc is being dropped in the cascade --- test/data/select/tests1.dat | 141 ++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat index 9240ed6..766974e 100644 --- a/test/data/select/tests1.dat +++ b/test/data/select/tests1.dat @@ -14652,3 +14652,144 @@ word-spacing: normal writing-mode: horizontal-tb z-index: auto #reset + +#tree screen +| div* +#ua +div { + width: 123px; width: calc(20px + 2em); + + border-left-width: calc(20px + 2em); + bottom: calc(20px + 2em); + column-count: calc(1 + 2 + 3); + column-gap: calc(20px + 2em); + column-width: calc(20px + 2em); + flex-basis: calc(20px + 2em); + flex-grow: calc(0.9 - 0.5); + flex-shrink: calc(2 - 0.5); + font-size: calc(2pt + 10vh); + height: calc(20px + 2em); + letter-spacing: calc(2px + 0.1em); + line-height: calc(1em + 10px); + margin-left-width: calc(20px + 2em); + max-height: calc(20px + 2em); + max-width: calc(20px + 2em); + min-height: calc(20px + 2em); + min-width: calc(20px + 2em); + order: calc(1 + 2); + orphans: calc(1 + 2); + padding-left: calc(20px + 2em); + speech-rate: calc(3+5); + text-indent: calc(20px + 2em); + vertical-align: calc(20px + 2em); + volume: calc(0.1 + 0.1); + widows: calc(1 + 2); + word-spacing: calc(20px + 2em); + z-index: calc(1 + 2); +} +#errors +#expected +align-content: stretch +align-items: stretch +align-self: auto +background-attachment: scroll +background-color: #00000000 +background-image: none +background-position: 0% 0% +background-repeat: repeat +border-collapse: separate +border-spacing: 0px 0px +border-top-color: #ff000000 +border-right-color: #ff000000 +border-bottom-color: #ff000000 +border-left-color: #ff000000 +border-top-style: none +border-right-style: none +border-bottom-style: none +border-left-style: none +border-top-width: 2px +border-right-width: 2px +border-bottom-width: 2px +border-left-width: 2px +bottom: auto +box-sizing: content-box +break-after: auto +break-before: auto +break-inside: auto +caption-side: top +clear: none +clip: auto +color: #ff000000 +column-count: auto +column-fill: balance +column-gap: normal +column-rule-color: #ff000000 +column-rule-style: none +column-rule-width: 2px +column-span: none +column-width: auto +content: normal +counter-increment: none +counter-reset: none +cursor: auto +direction: ltr +display: inline +empty-cells: show +fill-opacity: 1.000 +flex-basis: auto +flex-direction: row +flex-grow: 0.000 +flex-shrink: 1.000 +flex-wrap: nowrap +float: none +font-family: sans-serif +font-size: 16px +font-style: normal +font-variant: normal +font-weight: normal +height: auto +justify-content: flex-start +left: auto +letter-spacing: normal +line-height: normal +list-style-image: none +list-style-position: outside +list-style-type: disc +margin-top: 0px +margin-right: 0px +margin-bottom: 0px +margin-left: 0px +max-height: none +max-width: none +min-height: 0px +min-width: 0px +opacity: 1.000 +order: 0 +outline-color: invert +outline-style: none +outline-width: 2px +overflow-x: visible +overflow-y: visible +padding-top: 0px +padding-right: 0px +padding-bottom: 0px +padding-left: 0px +position: static +quotes: none +right: auto +stroke-opacity: 1.000 +table-layout: auto +text-align: default +text-decoration: none +text-indent: 0px +text-transform: none +top: auto +unicode-bidi: normal +vertical-align: baseline +visibility: visible +white-space: normal +width: 123px +word-spacing: normal +writing-mode: horizontal-tb +z-index: auto +#reset