From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLTableElement.idl | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'Source/WebCore/html/HTMLTableElement.idl') diff --git a/Source/WebCore/html/HTMLTableElement.idl b/Source/WebCore/html/HTMLTableElement.idl index 1881de3ea..9891fecfd 100644 --- a/Source/WebCore/html/HTMLTableElement.idl +++ b/Source/WebCore/html/HTMLTableElement.idl @@ -19,17 +19,17 @@ */ interface HTMLTableElement : HTMLElement { - [SetterRaisesException] attribute HTMLTableCaptionElement caption; - [SetterRaisesException] attribute HTMLTableSectionElement tHead; - [SetterRaisesException] attribute HTMLTableSectionElement tFoot; + [CEReactions, SetterMayThrowException] attribute HTMLTableCaptionElement? caption; + [CEReactions, SetterMayThrowException] attribute HTMLTableSectionElement? tHead; + [CEReactions, SetterMayThrowException] attribute HTMLTableSectionElement? tFoot; readonly attribute HTMLCollection rows; readonly attribute HTMLCollection tBodies; [Reflect] attribute DOMString align; - [Reflect] attribute DOMString bgColor; + [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor; [Reflect] attribute DOMString border; - [Reflect] attribute DOMString cellPadding; - [Reflect] attribute DOMString cellSpacing; + [Reflect, TreatNullAs=EmptyString] attribute DOMString cellPadding; + [Reflect, TreatNullAs=EmptyString] attribute DOMString cellSpacing; [Reflect] attribute DOMString frame; @@ -38,14 +38,13 @@ interface HTMLTableElement : HTMLElement { [Reflect] attribute DOMString width; HTMLElement createTHead(); - void deleteTHead(); + [CEReactions] void deleteTHead(); HTMLElement createTFoot(); - void deleteTFoot(); + [CEReactions] void deleteTFoot(); HTMLElement createTBody(); HTMLElement createCaption(); - void deleteCaption(); + [CEReactions] void deleteCaption(); - [RaisesException] HTMLElement insertRow([Default=Undefined] optional long index); - [RaisesException] void deleteRow([Default=Undefined] optional long index); + [MayThrowException] HTMLElement insertRow(optional long index = -1); + [CEReactions, MayThrowException] void deleteRow(long index); }; - -- cgit v1.2.1