[webkit-changes] [WebKit/WebKit] a57723: [LBSE] Not all 'outermost' <svg> elements enforce ...

Nikolas Zimmermann noreply at github.com
Fri Sep 9 11:29:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a57723e637107f43ea2bd1c5284dffe714da13da
      https://github.com/WebKit/WebKit/commit/a57723e637107f43ea2bd1c5284dffe714da13da
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/css/text-shadow-multiple-expected.txt
    M LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/custom/image-parent-translation-expected.txt
    M LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/custom/second-inline-text-expected.txt
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  [LBSE] Not all 'outermost' <svg> elements enforce a stacking context
https://bugs.webkit.org/show_bug.cgi?id=244965

Reviewed by Rob Buis.

Add missing condition in Style::Adjuster::adjustSVGElementStyle() to enforce
a stacking context if the element that receives the style is an outermost
<svg> element (or acts as such). It is mentioned in the SVG2 spec note just
a few lines above, but not implemented yet.

* LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/css/text-shadow-multiple-expected.txt:
* LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/custom/image-parent-translation-expected.txt:
* LayoutTests/platform/mac-monterey-wk2-lbse-text/svg/custom/second-inline-text-expected.txt:
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustSVGElementStyle):

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




More information about the webkit-changes mailing list