[Webkit-unassigned] [Bug 35010] New: Mishandling of \\ in 'content' property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 16 16:38:18 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35010
Summary: Mishandling of \\ in 'content' property
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon.fraser at apple.com
From: Boris Zbarsky <bzbarsky at MIT.EDU>
Subject: Re: [css2.1] Content of a string containing a backslash
followed immediately by EOF
Date: February 16, 2010 4:29:07 PM PST
To: Zack Weinberg <zweinberg at mozilla.com>
Cc: www-style at w3.org list <www-style at w3.org>
Message-Id: <4B7B3853.6010300 at mit.edu>
Not sure about IE, but it looks like Webkit somehow messes up \\ at the end of
the before content no matter what. |content: "\\m";| shows a backslash
followed by an 'm', but |content: "whatever\\"| shows nothing.
And even more clearly, something like this:
<style>.a:before { content: "m\\"; } .a { content: "o\\" }</style>
<div>a:'<span class="a">'</span></div>
Renders as:
a:'m\"; } .a { content: '
in Webkit. So it looks like the \\ is somehow managing to escape the '"' in
Webkit's parser.
-Boris
--
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