Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f53a3d867b211373d9186e621dd20f4840f3458a
      
https://github.com/WebKit/WebKit/commit/f53a3d867b211373d9186e621dd20f4840f3458a
  Author: Alan Baradlay <[email protected]>
  Date:   2025-10-24 (Fri, 24 Oct 2025)

  Changed paths:
    A 
LayoutTests/fast/css/getComputedStyle/computed-style-percentage-top-with-position-inline-expected.txt
    A 
LayoutTests/fast/css/getComputedStyle/computed-style-percentage-top-with-position-inline.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-insets-relpos-inline-expected.txt
    M Source/WebCore/style/StyleExtractorCustom.h

  Log Message:
  -----------
  getComputedStyle("top") percentage on abspos inside inline
https://bugs.webkit.org/show_bug.cgi?id=299162
<rdar://problem/161390162>

Reviewed by Antti Koivisto.

Use the real containing block when resolving percent values (as opposed to just 
the closest RenderBlock).

Test: 
fast/css/getComputedStyle/computed-style-percentage-top-with-position-inline.html
 : credit goes to Blink.

* 
LayoutTests/fast/css/getComputedStyle/computed-style-percentage-top-with-position-inline-expected.txt:
 Added.
* 
LayoutTests/fast/css/getComputedStyle/computed-style-percentage-top-with-position-inline.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-insets-relpos-inline-expected.txt:
* Source/WebCore/style/StyleExtractorCustom.h:
(WebCore::Style::InsetEdgeSharedAdaptor::computedValue const):

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



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

Reply via email to