[Webkit-unassigned] [Bug 265719] New: Add 'direction' in 'case-sensitive' attributes as per Web-Spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 2 06:40:49 PST 2023


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

            Bug ID: 265719
           Summary: Add 'direction' in 'case-sensitive' attributes as per
                    Web-Spec
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: annevk at annevk.nl

Hi Team,

While looking into Blink source and then comparing it WebKit, I noticed that we don't have 'direction' (of HTML Marquee - I know I know) as case sensitive selector. I was not able to find Web-spec reference, so I went to 'Anne' (HTML Champion), if he can help and he did.

Web-Spec: https://html.spec.whatwg.org/#case-sensitivity-of-selectors

WebKit Source: https://github.com/WebKit/WebKit/blob/b10105f3d6b7e01e12f1c141a0aebc023f2324c9/Source/WebCore/html/HTMLDocument.cpp#L184

We need to add direction (&directionAttr,) in alphabetical order.

Failing Test (again thanks to Anne) - data:text/html,<style>marquee[direction=left]{background:lime}</style><marquee%20direction=LEFT>BLAH</marquee>

^ We don't get 'lime' color but Blink does.

Just raising so we can fix it.

@Anne - Thanks for your help as always. Appreciate it.

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/20231202/582758cc/attachment.htm>


More information about the webkit-unassigned mailing list