Skip to main content

Bug Tracker

Side navigation

#5960 closed enhancement (invalid)

Opened January 28, 2010 12:37AM UTC

Closed June 14, 2010 12:51AM UTC

CSS proeprties not set in mixed content documents

Reported by: wholcomb Owned by:
Priority: minor Milestone: 1.4.2
Component: unfiled Version: 1.4.1
Keywords: css, xml Cc:
Blocked by: Blocking:
Description

When setting css properties of mixed content documents (specifically SVG) embedded in HTML, only the HTML properties are available in the style object. This patch adds a call to the standard setProperty method if available to guarantee setting across document types.

http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-setProperty

Patch uploaded and pull requested at:

http://github.com/wholcomb/jquery/commit/1860fedb97149ccb6b67e5a1af851fcd62d4e04c

Attachments (0)
Change History (2)

Changed February 05, 2010 04:39PM UTC by wholcomb comment:1

In retrospect, I'm unconvinced this is the proper way to handle this problem and will revert the commit.

I don't see a way to remove the ticket...

Changed June 14, 2010 12:51AM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

I've closed the ticket, but still interested in your thoughts on the problem.