Bug 237956

Summary: Implement extended CSS attr function arguments
Product: WebKit Reporter: Matt Foulks <mfoulks1>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Enhancement CC: koivisto, mfoulks1, simon.fraser
Priority: P2    
Version: WebKit Local Build   
Hardware: Mac (Intel)   
OS: macOS 12   

Matt Foulks
Reported 2022-03-16 08:11:44 PDT
Implement the updated attr function arguments to allow typecasting, and fallback values as described here: MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/attr()#examples W3C Spec: https://drafts.csswg.org/css-values-5/Overview.bs#attr-notation Example Usage: width: attr(some-attribute %, 100%);
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2022-03-16 10:37:05 PDT
*** This bug has been marked as a duplicate of bug 26609 ***
Note You need to log in before you can comment on or make changes to this bug.