fune/testing/web-platform/tests/web-animations/responsive
L. David Baron 145473f8c9 Bug 1888510 [wpt PR 45411] - Fix conversion test in CSSLengthInterpolationType::MaybeConvertInherit., a=testonly
Automatic update from web-platform-tests
Fix conversion test in CSSLengthInterpolationType::MaybeConvertInherit.

This check for IsAuto was really checking whether the GetLength
succeeded; it is now possible for GetLength to succeed while setting the
length to auto.

The web-animations/responsive/width.html is only tangentially related,
since it was written when I thought this was really testing for 'auto'.
The existing failure in that test matches existing failures in other
tests in the same directory, on which it was modeled.

The change to
external/wpt/css/css-values/calc-size/animation/calc-size-width-interpolation.tentative.html
does test the fix.

I added tracking of the boolean in the InheritedLengthChecker despite
that I can't think of a case where it matters today.  I think it's the
right thing given the function semantics, and not doing so could lead to
subtle bugs given future changes to LengthPropertyFunctions::GetLength.

(This was part of auditing uses of Length::IsAuto() to convert the
necessary ones to HasAuto().)

Bug: 313072
Change-Id: I5f7e5efe0d6f1b6ca598130ba50b06c65f3c721d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5405916
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1279929}

--

wpt-commits: 99147c82cf22dafa8a765f1f2b038767932890f9
wpt-pr: 45411
2024-04-10 09:24:36 +00:00
..
resources
assorted-lengths.html
background-position-responsive.html
backgroundPosition.html
backgroundSize.html
baselineShift.html
borderImageWidth.html
borderRadius.html
borderWidth.html
box-shadow-responsive.html
boxShadow.html
clip.html
columnCount.html
columnGap.html
d.html
font-size-adjust.html
fontSize.html
fontWeight.html
lineHeight.html
minHeight.html
neutral-keyframe-ref.html
neutral-keyframe.html
offset-path.html
offsetDistance.html
offsetRotate.html
opacity.html
perspective.html
responsive-test.js
rotate.html
rowGap.html
shapeMargin.html
shapeOutside.html
strokeDasharray.html
text-size-adjust.html
textIndent.html
to-color-change.html
to-inherited-change.html
to-style-change.html
toggle-animated-iframe-visibility-ref.html
toggle-animated-iframe-visibility.html
transform.html
translate.html
verticalAlign.html
width.html