[Webkit-unassigned] [Bug 86404] New: first-letter not updated when :before content is inserted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 14 14:30:46 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86404
Summary: first-letter not updated when :before content is
inserted
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: inferno at chromium.org
CC: hyatt at apple.com, mitz at webkit.org,
jchaffraix at webkit.org, kenrb at chromium.org
<!DOCTYPE html>
<!-- You should see only one green box for letter 'A'. 'B' should be black. -->
<html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;">
<style>
div:first-letter { color: green; }
.test:before { content: 'A'; }
</style>
<body>
<div id="div1">BCD</div>
<script>
document.body.offsetTop;
document.getElementById('div1').setAttribute('class', 'test');
</script>
</body>
</html>
Right now, you will see 'A' and 'B' both green.
--
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