Bug 668819 - HTMLTableColElement span should be unsigned long try: -b do -p linux,linux64,win32 -u all -t all

This commit is contained in:
Atul Aggarwal 2011-09-03 12:15:03 +05:30
parent ee10afb48a
commit 3e8da45a36
4 changed files with 32 additions and 3 deletions

View File

@ -114,7 +114,7 @@ NS_IMPL_ELEMENT_CLONE(nsHTMLTableColElement)
NS_IMPL_STRING_ATTR(nsHTMLTableColElement, Align, align)
NS_IMPL_STRING_ATTR(nsHTMLTableColElement, Ch, _char)
NS_IMPL_STRING_ATTR(nsHTMLTableColElement, ChOff, charoff)
NS_IMPL_INT_ATTR_DEFAULT_VALUE(nsHTMLTableColElement, Span, span, 1)
NS_IMPL_UINT_ATTR_NON_ZERO_DEFAULT_VALUE(nsHTMLTableColElement, Span, span, 1)
NS_IMPL_STRING_ATTR(nsHTMLTableColElement, VAlign, valign)
NS_IMPL_STRING_ATTR(nsHTMLTableColElement, Width, width)

View File

@ -277,6 +277,7 @@ _TEST_FILES = \
test_checked.html \
test_bug677658.html \
test_bug677463.html \
test_bug668819.html \
$(NULL)
libs:: $(_TEST_FILES)

View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=668819
-->
<head>
<title>Test for Bug 668819</title>
<script type="application/javascript" src="/MochiKit/packed.js"></script>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="application/javascript" src="reflect.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=668819">Mozilla Bug 668819</a>
<p id="display"></p>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 668819 **/
var textarea = document.createElement('colgroup');
reflectUnsignedInt(textarea, "span", true, 1);
</script>
</pre>
</body>
</html>

View File

@ -50,13 +50,13 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(b0c8daa0-6b74-4436-b1ca-2de5d6d3fe33)]
[scriptable, uuid(d61a4bf0-2ed9-41e9-b308-2ac575e24036)]
interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement
{
attribute DOMString align;
attribute DOMString ch;
attribute DOMString chOff;
attribute long span;
attribute unsigned long span;
attribute DOMString vAlign;
attribute DOMString width;
};