Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d269928e2774681dd44c8738b1018ae6f67145f
      
https://github.com/WebKit/WebKit/commit/8d269928e2774681dd44c8738b1018ae6f67145f
  Author: Jer Noble <[email protected]>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/media/sound-state-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/media/sound-state.html

  Log Message:
  -----------
  [WPT] Fix css/selectors/media/sound-state.html
rdar://184148295
https://bugs.webkit.org/show_bug.cgi?id=321113

Reviewed by Jean-Yves Avenard.

The "Test :muted matches .muted for content attribute" sub-test tries to 
validate that setting
the "muted" content attribute correctly reflects to the .muted DOM property as 
well as the :muted
pseudo selector. However, the behavior of the "muted" content attribute is such 
that it does not
universally reflect to the DOM and CSS; specifically, all three UAs will 
collapse the "default"
mute state to an explicit value at different points. There is a proposal in 
whatwg/html/pull/12473
to make this collapse point explicit: either during the load algorithm or 
during the post connection
steps.

Modify the sound-state.html test to validate that the :muted CSS pseudo 
selector matches the .muted
IDL attribute by splitting the existing content attribute test into three 
separate tests. This-
ensures that the desired functionality (that the IDL and CSS match) is equally 
well tested both before
the proposed post-connection change is merged and after.

* 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/media/sound-state-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/media/sound-state.html:

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



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

Reply via email to