getComputedStyle for HTMLUnkownElement?

114 views
Skip to first unread message

mlimper

unread,
Dec 11, 2013, 10:46:27 AM12/11/13
to chromiu...@chromium.org
Hi all,

we're trying to apply CSS 3D transforms to our X3D elements, which are, however, instances of HTMLUnkownElement.
Here's an example:


In Firefox it works, we are able to get the transformation matrix for such an element:

document.defaultView.getComputedStyle(myElement, null).getPropertyValue('-moz-transform')


But this doesn't work in the current Chrome version 31.0.1650.63 m, and also not in Canary version 33.0.1735.0:

document.defaultView.getComputedStyle(myElement, null).getPropertyValue(-webkit-transform')


Am I doing something wrong, and, if not, is this behavior intended? I can see that it works for known HTML elements like <div>.

Thanks a lot in advance!

Best Regards,
Max

mlimper

unread,
Dec 11, 2013, 10:50:00 AM12/11/13
to chromiu...@chromium.org
EDIT:

document.defaultView.getComputedStyle(myElement, null).getPropertyValue(-webkit-transform')

this should of course be

document.defaultView.getComputedStyle(myElement, null).getPropertyValue('-webkit-transform')

PhistucK

unread,
Dec 11, 2013, 10:59:14 AM12/11/13
to mlimper, Chromium HTML5
Sounds like a bug.
You can search crbug.com for an existing issue and star it. If you cannot find one, file a new issue using the "New issue" link on the same page.
Please, do not add a "+1" or "Me too" or "Confirmed" (or similar) comment. It just wastes the time of Chrome engineers and sends unnecessary e-mails to all of the people who starred the issue.

Thank you!


PhistucK


--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-html...@chromium.org.
To post to this group, send email to chromiu...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.

mlimper

unread,
Dec 12, 2013, 7:29:13 AM12/12/13
to chromiu...@chromium.org, mlimper
Message has been deleted

Business Tentacles

unread,
Mar 15, 2016, 6:37:37 PM3/15/16
to Chromium HTML5, max.l...@igd.fraunhofer.de


On Friday, September 25, 2015 at 2:31:29 PM UTC+1, Business Tentacles wrote:

HTML and CSS is for  page layout design, build web page with HTML, style pages with CSS, domain name registration, optimize sites for search engines, publishing completed website to the hosting server and submit sites to the search engines.
for more details:
http://www.londoninformaticsacademy.com/training/web-design-html5-css3-course
Reply all
Reply to author
Forward
0 new messages