Changeset 243923 in webkit


Ignore:
Timestamp:
Apr 4, 2019 6:09:44 PM (5 years ago)
Author:
rniwa@webkit.org
Message:

Element::isFocusable() debug asserts too frequently
https://bugs.webkit.org/show_bug.cgi?id=196634

Reviewed by Geoffrey Garen.

Remove the debug assertion for now.

  • dom/Element.cpp:

(WebCore::Element::isFocusable const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r243919 r243923  
     12019-04-04  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Element::isFocusable() debug asserts too frequently
     4        https://bugs.webkit.org/show_bug.cgi?id=196634
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Remove the debug assertion for now.
     9
     10        * dom/Element.cpp:
     11        (WebCore::Element::isFocusable const):
     12
    1132019-04-04  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebCore/dom/Element.cpp

    r243905 r243923  
    554554        // If the node is in a display:none tree it might say it needs style recalc but
    555555        // the whole document is actually up to date.
    556         ASSERT(!needsStyleRecalc() || !document().childNeedsStyleRecalc());
     556        // FIXME: We should be able to assert !needsStyleRecalc() || !document().childNeedsStyleRecalc()
     557        // but it hits too frequently on websites like Gmail and Microsoft Exchange.
    557558
    558559        // Elements in canvas fallback content are not rendered, but they are allowed to be
Note: See TracChangeset for help on using the changeset viewer.