NEW 47729
Provide a mechanism to get the tight bounding box of a container with 3D transformed elements
https://bugs.webkit.org/show_bug.cgi?id=47729
Summary Provide a mechanism to get the tight bounding box of a container with 3D tran...
Antoine Quint
Reported 2010-10-15 11:03:51 PDT
When dealing with 3D transformed content, the structural container may have zero-size CSS metrics. The Apple Finger Tips sample code is a good example (see URL). For instance, in that code the #ring element has 0x0 CSS metrics and getBoundingClientRect() reports width and height to be 0 and 0. It would be great to have a functionality to get the tight bounding box of such elements to hide away the complexity of dealing with 3D maths.
Attachments
Antoine Quint
Comment 1 2010-10-15 11:04:43 PDT
When dealing with 3D transformed content, the structural container may have zero-size CSS metrics. The Apple Finger Tips sample code is a good example (see URL). For instance, in that code the #ring element has 0x0 CSS metrics and getBoundingClientRect() reports width and height to be 0 and 0. It would be great to have a functionality to get the tight bounding box of such elements to hide away the complexity of dealing with 3D maths.
Antoine Quint
Comment 2 2010-10-15 11:05:13 PDT
When dealing with 3D transformed content, the structural container may have zero-size CSS metrics. The Apple Finger Tips sample code is a good example (see URL). For instance, in that code the element with ID "ring" has 0x0 CSS metrics and getBoundingClientRect() reports width and height to be 0 and 0. It would be great to have a functionality to get the tight bounding box of such elements to hide away the complexity of dealing with 3D maths.
Antoine Quint
Comment 3 2010-10-19 01:25:43 PDT
Note You need to log in before you can comment on or make changes to this bug.