[Webkit-unassigned] [Bug 245611] New: Align "UA" stylesheet for "audio" with Other browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 23 17:57:20 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245611

            Bug ID: 245611
           Summary: Align "UA" stylesheet for "audio" with Other browsers
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

Thanks for making Webkit awesome.

While looking into other browsers UA Style sheet, I noted both Blink and Gecko has following in their UA stylesheet, while we don't:

audio:not([controls]) {
  display: none !important;
}

--> Gecko goes even beyond and have following:

audio[controls] {
  /* This ensures that intrinsic sizing can reliably shrinkwrap our
      controls (which are also always horizontal) and produce a
      reasonable intrinsic size from them. */
  writing-mode: horizontal-tb !important;
}

______

I tried to find these references in HTML Specs but couldn't find them but was thinking to align with other browsers, I think we can safely at the first one in "html.css" and see through EWS and what happens, in case of other, appreciate input from others.

I also looked into HTML audio element tests and Safari do pass all of them similar to other browsers so I think either WPT does not have coverage or I am not familiar with related test.

Just wanted to have a bug report for any future discussion.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220924/dab1994e/attachment.htm>


More information about the webkit-unassigned mailing list