Bug Tracker

Opened 14 years ago

Closed 13 years ago

#5960 closed enhancement (invalid)

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

Change History (2)

comment:1 Changed 14 years ago by wholcomb

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...

comment:2 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.