Return error when setting invalid <table> caption (#30020)

* Return error when setting invalid <table> caption

Signed-off-by: thesecretmaster <thesecretmaster@developingtechnician.com>

* Forgot to commit style changes

Signed-off-by: thesecretmaster <thesecretmaster@developingtechnician.com>

---------

Signed-off-by: thesecretmaster <thesecretmaster@developingtechnician.com>
This commit is contained in:
thesecretmaster
2023-08-08 11:30:55 -05:00
committed by GitHub
parent bce7622cde
commit c28404e9fa
2 changed files with 7 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
interface HTMLTableElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions]
[CEReactions, SetterThrows]
attribute HTMLTableCaptionElement? caption;
HTMLTableCaptionElement createCaption();
[CEReactions]