[Webkit-unassigned] [Bug 9364] New: GMAIL bug: align=right; != align="right";
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Jun 8 11:59:18 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9364
Summary: GMAIL bug: align=right; != align="right";
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: oster at google.com
Summary:
In Google's GMail, a table cell is specified as right aligned using the
following javascript code:
return '<td align=right; height= 100% class="' + C_COMPOSEDIVRIGHT ...
the resulting DOM node has "right;" as the value of align.
Workaround:
return '<td align="right"; height= 100% class="' + C_COMPOSEDIVRIGHT ...
Note the semicolon is now not part of 'align's value. This seems to me like a
bug in the parser.
Filed as Google bug 508130.
Test case:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<script><!--
function GoLoad(){
var r1 = document.getElementById('r1');
r1.innerHTML = '<td>Cell1</td><td align=right; height= 100%>Should be right
aligned</td>';
var r2 = document.getElementById('r2');
r2.innerHTML = '<td>Cell1</td><td align="right"; height= 100%>Should be
right aligned</td>';
}
// --></script>
<title>Table Right Alignment bug</title>
</head>
<body onLoad="GoLoad()">
<h1>Table Right Alignment bug</h1>
<table id='t1' width=600px style='border:1px' >
<tr id='r1'></tr>
<tr id='r2'></tr>
</table>
</body>
</html>
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list