[Webkit-unassigned] [Bug 241570] New: WebKit doesn't re-resolve em-valued properties to account for font-size transitions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 13 14:29:01 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241570

            Bug ID: 241570
           Summary: WebKit doesn't re-resolve em-valued properties to
                    account for font-size transitions
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dholbert at mozilla.com
                CC: dino at apple.com, graouts at apple.com, heycam at apple.com

Created attachment 460214

  --> https://bugs.webkit.org/attachment.cgi?id=460214&action=review

testcase 1

STR:
1. Load attached testcase.
2. Hover the orange area.

ACTUAL RESULTS:
The orange area's width suddenly jumps to twice its original width.

EXPECTED RESULTS:
The orange area's width should grow gradually (in response to the font-size transition).


NOTES:
The element here has a width specified in `em` units, and hovering triggers a change to `font-size` which triggers a CSS transition.  That should add a value for `font-size` to the cascade, per https://www.w3.org/TR/css-transitions-1/#application , which should in turn influence the resolution of `em`-valued properties.

Safari 15.5 gives ACTUAL RESULTS.
Firefox and Chrome give EXPECTED RESULTS.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220613/fbeed568/attachment-0001.htm>


More information about the webkit-unassigned mailing list