Bug 25851
| Summary: | Not attr() inside other functional notation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Tepaße <tim.tepasse> |
| Component: | CSS | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mihnea Ovidenie
(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,