Changeset 202382 in webkit


Ignore:
Timestamp:
Jun 23, 2016 11:43:43 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

CSSComputedStyleDeclaration::length should recalculate styles if needed to provide the correct value
https://bugs.webkit.org/show_bug.cgi?id=159053
<rdar://problem/26638119>

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-06-23
Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/css/variables/custom-property-computed-style-length-update.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::CSSComputedStyleDeclaration::length):

LayoutTests:

  • fast/css/variables/custom-property-computed-style-length-update-expected.txt: Added.
  • fast/css/variables/custom-property-computed-style-length-update.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202376 r202382  
     12016-06-23  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        CSSComputedStyleDeclaration::length should recalculate styles if needed to provide the correct value
     4        https://bugs.webkit.org/show_bug.cgi?id=159053
     5        <rdar://problem/26638119>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * fast/css/variables/custom-property-computed-style-length-update-expected.txt: Added.
     10        * fast/css/variables/custom-property-computed-style-length-update.html: Added.
     11
    1122016-06-23  Adam Bergkvist  <adam.bergkvist@ericsson.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r202380 r202382  
     12016-06-23  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        CSSComputedStyleDeclaration::length should recalculate styles if needed to provide the correct value
     4        https://bugs.webkit.org/show_bug.cgi?id=159053
     5        <rdar://problem/26638119>
     6
     7        Reviewed by Simon Fraser.
     8
     9        Test: fast/css/variables/custom-property-computed-style-length-update.html
     10
     11        * css/CSSComputedStyleDeclaration.cpp:
     12        (WebCore::CSSComputedStyleDeclaration::length):
     13
    1142016-06-23  John Wilander  <wilander@apple.com>
    215
  • trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp

    r202242 r202382  
    39493949        return 0;
    39503950
     3951    updateStyleIfNeededForNode(*node);
     3952
    39513953    auto* style = node->computedStyle(m_pseudoElementSpecifier);
    39523954    if (!style)
Note: See TracChangeset for help on using the changeset viewer.