[Webkit-unassigned] [Bug 194749] Relative font size values (em) within CSS animations compound

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 12 06:11:22 PDT 2020


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

Antoine Quint <graouts at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #401721|review?                     |review+
              Flags|                            |

--- Comment #13 from Antoine Quint <graouts at webkit.org> ---
Comment on attachment 401721
  --> https://bugs.webkit.org/attachment.cgi?id=401721
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=401721&action=review

> LayoutTests/animations/keyframe-em-unit.html:5
> +div {
> +  font-size: 2em;
> +  animation: div 3s infinite alternate;
> +}

You can make the duration any value and add `freeze` to ensure the animated style will override the base style. You can remove `alternate` for sure.

> Source/WebCore/style/StyleTreeResolver.cpp:324
> +                // FIXME: Remove this hack and pass the parent style via updateCSSAnimationsForElement.

Can you file a bug and assign it to me to do this refactor?

-- 
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/20200612/c8fb5071/attachment-0001.htm>


More information about the webkit-unassigned mailing list