Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 400ecbca3bfcffab4c80f2278dbdf2c73825eda4
      
https://github.com/WebKit/WebKit/commit/400ecbca3bfcffab4c80f2278dbdf2c73825eda4
  Author: Sam Weinig <[email protected]>
  Date:   2026-08-21 (Fri, 21 Aug 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/lh-unit-005-expected.txt
    M Source/WebCore/style/values/primitives/StyleLengthResolution.cpp

  Log Message:
  -----------
  Fix false style sharing seen in WPT test css/css-values/lh-unit-005.html
https://bugs.webkit.org/show_bug.cgi?id=322194

Reviewed by Antti Koivisto.

Fix an issue with overly aggressive style sharing by ensuring that 
StyleLengthResolution's
equalForLengthResolution checks line-height unit related properties, 
specifiedLineHeight
and the font metric line-spacing which can be used in fallback cases.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-values/lh-unit-005-expected.txt:
* Source/WebCore/style/values/primitives/StyleLengthResolution.cpp:

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



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

Reply via email to