Changeset 172597 in webkit


Ignore:
Timestamp:
Aug 14, 2014 11:54:56 AM (10 years ago)
Author:
Antti Koivisto
Message:

[Forms] We should share RenderStyle object for optgroup and option element
https://bugs.webkit.org/show_bug.cgi?id=88405

Reviewed by Andreas Kling.

We can remove this special case now.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::canShareStyleWithElement):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r172591 r172597  
     12014-08-14  Antti Koivisto  <antti@apple.com>
     2
     3        [Forms] We should share RenderStyle object for optgroup and option element
     4        https://bugs.webkit.org/show_bug.cgi?id=88405
     5
     6        Reviewed by Andreas Kling.
     7
     8        We can remove this special case now.
     9
     10        * css/StyleResolver.cpp:
     11        (WebCore::StyleResolver::canShareStyleWithElement):
     12
    1132014-08-14  Antti Koivisto  <antti@apple.com>
    214
  • trunk/Source/WebCore/css/StyleResolver.cpp

    r172192 r172597  
    629629        return false;
    630630
    631     // FIXME: We should share style for option and optgroup whenever possible.
    632     // Before doing so, we need to resolve issues in HTMLSelectElement::recalcListItems
    633     // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cgi?id=88405
    634     if (isHTMLOptionElement(element) || isHTMLOptGroupElement(element))
    635         return false;
    636 
    637631    bool isControl = element->isFormControlElement();
    638632
Note: See TracChangeset for help on using the changeset viewer.