Bug 25851

Summary: Not attr() inside other functional notation
Product: WebKit Reporter: Tim Tepaße <tim.tepasse>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: eoconnor, mihnea, syoichi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on: 26609    
Bug Blocks:    

Tim Tepaße
Reported 2009-05-18 02:58:33 PDT
Source code, extremely reduced: <img src="foo.svg" alt="45" style="-webkit-transform: rotate( attr(alt, angle) )"> Expected result: the image, rotated. Actual result: the image, not turning a degree.
Attachments
Mihnea Ovidenie
Comment 1 2011-05-09 07:57:59 PDT
(In reply to comment #0) > Source code, extremely reduced: > > <img src="foo.svg" alt="45" style="-webkit-transform: rotate( attr(alt, angle) )"> > > Expected result: the image, rotated. > > Actual result: the image, not turning a degree. Hi, Does your construction work in other browsers? attr() functional notation is used in conjunction with the content property for :before|:after pseudo-elements. Regards,
Note You need to log in before you can comment on or make changes to this bug.