Repository navigation
Update shadow DOM and dialog element focusing to latest spec - #2828
Conversation
83412a8 to
490bb82
Compare
There was a problem hiding this comment.
I think we should call this function findFocusDelegate per WebKit's coding guideline:
https://webkit.org/code-style-guidelines/#names-verb
Also, could you add the following URL in a comment for a reference?
https://html.spec.whatwg.org/multipage/interaction.html#focus-delegate
There was a problem hiding this comment.
Why not calling this function findFocusDelegateInternal or findFocusDelegateRecursively.
There was a problem hiding this comment.
What's up with these two failures?
There was a problem hiding this comment.
I'll followup with Domenic to figure out if this test needs fixing.
rniwa
left a comment
There was a problem hiding this comment.
r=me. It's unclear whether we have a bug or the test is wrong with the failing test cases.
490bb82 to
1d6cd03
Compare
https://bugs.webkit.org/show_bug.cgi?id=233320 <rdar://85753180> Reviewed by Ryosuke Niwa. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow-double-nested-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow-expected.txt: * Source/WebCore/dom/Element.cpp: (WebCore::autoFocusDelegate): (WebCore::findFocusDelegateInternal): (WebCore::Element::findFocusDelegate): (WebCore::Element::focus): (WebCore::focusDelegateFromShadowHost): Deleted. * Source/WebCore/dom/Element.h: * Source/WebCore/html/HTMLDialogElement.cpp: (WebCore::HTMLDialogElement::runFocusingSteps): Canonical link: https://commits.webkit.org/252959@main
1d6cd03 to
696e8c1
Compare
|
Committed 252959@main (696e8c1): https://commits.webkit.org/252959@main Reviewed commits have been landed. Closing PR #2828 and removing active labels. |
696e8c1