[webkit-changes] [WebKit/WebKit] e85d08: Treat display: -webkit-box as block type (RenderSt...

Alan Baradlay noreply at github.com
Sat Oct 15 13:23:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e85d08488e436a3a6299fc10e91624ef30d563c1
      https://github.com/WebKit/WebKit/commit/e85d08488e436a3a6299fc10e91624ef30d563c1
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-10-15 (Sat, 15 Oct 2022)

  Changed paths:
    M Source/WebCore/rendering/style/RenderStyle.h

  Log Message:
  -----------
  Treat display: -webkit-box as block type (RenderStyle::isDisplayBlockType)
https://bugs.webkit.org/show_bug.cgi?id=246577

Reviewed by Antti Koivisto.

"display: -webkit-box" is the deprecated version of "display: flex". From the "is is a display block type" point of view they need to be treated the same.

* Source/WebCore/rendering/style/RenderStyle.h:
(WebCore::RenderStyle::isDisplayBlockType):

Canonical link: https://commits.webkit.org/255590@main




More information about the webkit-changes mailing list