 Chromium Code Reviews
 Chromium Code Reviews Issue 
            14248006:
    A focused element should lose focus when it becomes unfocusable.  (Closed)
    
  
    Issue 
            14248006:
    A focused element should lose focus when it becomes unfocusable.  (Closed) 
  | DescriptionA focused element should lose focus when it becomes unfocusable.
According to the specification, we should remove focus when a focused element
becomes unforcusable, and Internet Explorer follows it.
We check focusable state after layout asynchronously because setFocusedNode(0)
dispatches synchronous events and callers of Document::updateLayout don't expect
DOM state changes. Also, we introduce m_didPostCheckFocusedNodeTask flag to avoid
duplicated tasks in the pending task queue.
BUG=178146
TEST=automated; This patch adds a layout test.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150870
   Patch Set 1 #
      Total comments: 4
      
     Patch Set 2 : style nits #Patch Set 3 : add a FIXME comment #
 Messages
    Total messages: 14 (0 generated)
     | ||||||||||||||||||||||||||||||||||||||||||||||