Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Issue 2532983004: Re-work <dialog>#show*() focus algorithm (Closed)

Created:
4 years ago by Dan Beam
Modified:
3 years, 11 months ago
Reviewers:
falken, esprehn, kochi
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-work <dialog>#show*() focus algorithm See the history of this change here: https://github.com/whatwg/html/issues/1929 R=kochi@chromium.org BUG=

Patch Set 1 #

Total comments: 2

Patch Set 2 : starting to mess with tests #

Messages

Total messages: 14 (9 generated)
esprehn
This seems really reasonable to me. I do think we probably want to cross shadow ...
4 years ago (2016-12-01 00:39:58 UTC) #2
Dan Beam
adding a layout test now https://codereview.chromium.org/2532983004/diff/1/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp File third_party/WebKit/Source/core/html/HTMLDialogElement.cpp (right): https://codereview.chromium.org/2532983004/diff/1/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp#newcode48 third_party/WebKit/Source/core/html/HTMLDialogElement.cpp:48: ? NodeTraversal::nextSkippingChildren(*node, dialog) On ...
4 years ago (2016-12-01 01:37:27 UTC) #5
falken
I made some comments on https://bugs.chromium.org/p/chromium/issues/detail?id=670130 At a glance it seems reasonable for dialog to ...
4 years ago (2016-12-02 03:37:21 UTC) #12
Dan Beam
btw, for those not watching https://github.com/whatwg/html/issues/1929 I'm no longer convinced that we should be changing ...
4 years ago (2016-12-15 04:34:38 UTC) #13
Dan Beam
3 years, 11 months ago (2017-01-12 01:08:25 UTC) #14
Message was sent while issue was closed.
On 2016/12/15 04:34:38, Dan Beam wrote:
> btw, for those not watching https://github.com/whatwg/html/issues/1929
> 
> I'm no longer convinced that we should be changing the default behavior of
> <dialog>.  With a simple layout and average usage, this default focus behavior
> is probably fine as it is.  (found a bunch more context to support this)

* given that there's a way to turn this off

> 
> So instead, we're now talking about adding a different form of usage for
showing
> without the default behavior (through a parameter).  I think this may be a
> better way forward.
> 
> Closing this for now, as I haven't heard anybody admit that we want to change
> the default behavior in the HTML spec.

Powered by Google App Engine
This is Rietveld 408576698