[webkit-changes] [WebKit/WebKit] 40f3c6: Setting white-space to non-default value dynamical...

Alan Baradlay noreply at github.com
Mon Mar 18 09:45:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 40f3c61c1d9db38322926691028b6ec5be87793f
      https://github.com/WebKit/WebKit/commit/40f3c61c1d9db38322926691028b6ec5be87793f
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    A LayoutTests/fast/text/text-node-needs-renderer-after-style-change-expected.html
    A LayoutTests/fast/text/text-node-needs-renderer-after-style-change.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-variables/css-variable-change-style-001-expected.txt
    M Source/WebCore/style/StyleTreeResolver.cpp

  Log Message:
  -----------
  Setting white-space to non-default value dynamically on a blank (whitespace/new line) does not work correctly
https://bugs.webkit.org/show_bug.cgi?id=239689
<rdar://problem/92559818>

Reviewed by Antti Koivisto.

Let's consider constructing a renderer for whitespace only content when we need to preserve whitespace as the result of a style change.

css/css-variables/css-variable-change-style-001: progression.

* LayoutTests/fast/text/text-node-needs-renderer-after-style-change-expected.html: Added.
* LayoutTests/fast/text/text-node-needs-renderer-after-style-change.html: Added.
* Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::updateRenderTree):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list