Bug 245581
Summary: | Align HTMLTableElement.idl and HTMLTableSelection.idl with Spec | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | cdumez, karlcow, rniwa, webkit-bug-importer |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ahmad Saleem
Hi Team,
Thanks for doing good work to make Webkit better.
Current specs are as follow: https://html.spec.whatwg.org/multipage/tables.html#the-table-element
___
Just few examples..
Webkit is referring:
>> HTMLElement insertRow(optional long index = -1);
while other browsers:
Firefox same as Webkit while Chrome is matching specs and using "HTMLTableRowElement".
Further - Chrome does not have 'undefined' for deleteRow and removed it as part of: https://src.chromium.org/viewvc/blink?view=revision&revision=198208
____
Chromium / Blink - https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_table_element.idl & https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_table_section_element.h
Firefox / Gecko - https://searchfox.org/mozilla-central/source/dom/webidl/HTMLTableElement.webidl & https://searchfox.org/mozilla-central/source/dom/webidl/HTMLTableSectionElement.webidl
Appreciate if we align with web-specs and make it better. Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/100626107>
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/4971
EWS
Committed 255188@main (e1aa1cec3e23): <https://commits.webkit.org/255188@main>
Reviewed commits have been landed. Closing PR #4971 and removing active labels.