Bug 25851 - Not attr() inside other functional notation
Summary: Not attr() inside other functional notation
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 26609
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-18 02:58 PDT by Tim Tepaße
Modified: 2014-05-13 18:04 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Tepaße 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.
Comment 1 Mihnea Ovidenie 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,