[Webkit-unassigned] [Bug 222376] [css-grid] Replace the use of -1 with WTF::nullopt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 15 10:46:10 PDT 2021


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

Javier Fernandez <jfernandez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #423033|review?, commit-queue-      |review+
              Flags|                            |

--- Comment #19 from Javier Fernandez <jfernandez at igalia.com> ---
Comment on attachment 423033
  --> https://bugs.webkit.org/attachment.cgi?id=423033
Patch

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

r=me

> Source/WebCore/ChangeLog:8
> +        This change replaces -1 with nullopt in grid to indicate indefinite for funtions that

s/funtions/functions

> Source/WebCore/ChangeLog:9
> +        returns an Optional type. This change has exposed an issue when resolving replaced elemnt

s/elemnt/element

> Source/WebCore/rendering/RenderReplaced.cpp:357
>          if (hasAutoHeightOrContainingBlockWithAutoHeight())

Nit: Maybe we can change this as well, something like this:

return !hasAutoHeightOrContainingBlockWithAutoHeight()

-- 
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/20210315/c38e3fa0/attachment.htm>


More information about the webkit-unassigned mailing list