[Webkit-unassigned] [Bug 73152] New: CSS_STRINGs aren't quoted unless they contain quotes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 25 17:46:35 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73152
Summary: CSS_STRINGs aren't quoted unless they contain quotes
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bugmail at eligrey.com
If you access a CSS_STRING primitive value through the CSSOM, and read the cssText property, the value is unquoted, unless it already contained a quote. This caused problems while I was trying to get the content property of ::before and ::after pseudo-elements using getComputedStyle().
For example, a content property with a value of "X" url(Y) "'Z'" is returned as X url(Y) '\'Z\'', which will cause problems if you try to use this value in other CSS.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list