Bug 200806 - Split tabIndex computation for DOM and the rest of WebCore
Summary: Split tabIndex computation for DOM and the rest of WebCore
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks: 199606
  Show dependency treegraph
 
Reported: 2019-08-15 20:42 PDT by Ryosuke Niwa
Modified: 2019-08-16 12:44 PDT (History)
7 users (show)

See Also:


Attachments
Cleanup (19.38 KB, patch)
2019-08-15 21:06 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Fixed GTK+ build (21.15 KB, patch)
2019-08-15 23:13 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2019-08-15 20:42:46 PDT
Right now, a bunch of WebCore's internal functions make use of Element::tabIndex.

This is problematic in order to resolve the bug 199606, in which we're trying to make
tabIndex IDL attribute simply reflect tabIndex content attribute instead of
it being dependent on focusability of the element.

So split the code so that we have one function for computing the bindings value,
and another for internal use of WebCore.
Comment 1 Ryosuke Niwa 2019-08-15 21:06:23 PDT
Created attachment 376471 [details]
Cleanup
Comment 2 EWS Watchlist 2019-08-15 21:07:50 PDT
Attachment 376471 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:17:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 18 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Ryosuke Niwa 2019-08-15 23:13:29 PDT
Created attachment 376473 [details]
Fixed GTK+ build
Comment 4 Chris Dumez 2019-08-16 12:35:42 PDT
Comment on attachment 376473 [details]
Fixed GTK+ build

r=me
Comment 5 Ryosuke Niwa 2019-08-16 12:40:28 PDT
Thanks for the review!
Comment 6 Ryosuke Niwa 2019-08-16 12:43:35 PDT
Comment on attachment 376473 [details]
Fixed GTK+ build

Clearing flags on attachment: 376473

Committed r248784: <https://trac.webkit.org/changeset/248784>
Comment 7 Ryosuke Niwa 2019-08-16 12:43:37 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2019-08-16 12:44:16 PDT
<rdar://problem/54403126>