| Summary: | sectionRowIndex must return -1 when its parent is not a table, tbody, thead, or tfoot | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
| Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cdumez, commit-queue, esprehn+autocc, gyuyoung.kim, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | https://html.spec.whatwg.org/multipage/tables.html#dom-tr-sectionrowindex | ||||||
| Attachments: |
|
||||||
|
Description
Ryosuke Niwa
2015-09-04 16:13:48 PDT
Created attachment 262135 [details]
Patch
Comment on attachment 262135 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262135&action=review > Source/WebCore/html/HTMLTableRowElement.cpp:88 > + RefPtr<HTMLCollection> rows; It's horrible that we have to create a HTML collection here :( Comment on attachment 262135 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262135&action=review >> Source/WebCore/html/HTMLTableRowElement.cpp:88 >> + RefPtr<HTMLCollection> rows; > > It's horrible that we have to create a HTML collection here :( If we see this being hot then we can optimize. But the new implementation is at least correct. Comment on attachment 262135 [details] Patch Clearing flags on attachment: 262135 Committed r190337: <http://trac.webkit.org/changeset/190337> All reviewed patches have been landed. Closing bug. |