Changeset 151565 in webkit


Ignore:
Timestamp:
Jun 13, 2013 11:24:21 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Updating the -webkit-background-blend-mode property dynamically does not trigger a redraw of the element.

Source/WebCore:

Adding krit's fix: actual blending values should be compared, not the sets.
https://bugs.webkit.org/show_bug.cgi?id=117223

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-13
Reviewed by Dirk Schulze.

Test: css3/compositing/background-blend-mode-image-color-dynamic.html

  • rendering/style/FillLayer.cpp:

(WebCore::FillLayer::operator==):

LayoutTests:

Adding test that sets background blend modes from script, after the page is loaded.
https://bugs.webkit.org/show_bug.cgi?id=117223

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-13
Reviewed by Dirk Schulze.

  • fast/repaint/background-blend-mode-image-color-dynamic-expected.html: Added.
  • fast/repaint/background-blend-mode-image-color-dynamic.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r151563 r151565  
     12013-06-13  Mihai Tica  <mitica@adobe.com>
     2
     3        Updating the -webkit-background-blend-mode property dynamically does not trigger a redraw of the element.
     4
     5        Adding test that sets background blend modes from script, after the page is loaded.
     6        https://bugs.webkit.org/show_bug.cgi?id=117223
     7
     8        Reviewed by Dirk Schulze.
     9
     10        * fast/repaint/background-blend-mode-image-color-dynamic-expected.html: Added.
     11        * fast/repaint/background-blend-mode-image-color-dynamic.html: Added.
     12
    1132013-06-13  Christophe Dumez  <ch.dumez@sisa.samsung.com>
    214
  • trunk/Source/WebCore/ChangeLog

    r151564 r151565  
     12013-06-13  Mihai Tica  <mitica@adobe.com>
     2
     3        Updating the -webkit-background-blend-mode property dynamically does not trigger a redraw of the element.
     4
     5        Adding krit's fix: actual blending values should be compared, not the sets.
     6        https://bugs.webkit.org/show_bug.cgi?id=117223
     7
     8        Reviewed by Dirk Schulze.
     9
     10        Test: css3/compositing/background-blend-mode-image-color-dynamic.html
     11
     12        * rendering/style/FillLayer.cpp:
     13        (WebCore::FillLayer::operator==):
     14
    1152013-06-13  Beth Dakin  <bdakin@apple.com>
    216
  • trunk/Source/WebCore/rendering/style/FillLayer.cpp

    r147303 r151565  
    154154            && m_backgroundXOrigin == o.m_backgroundXOrigin && m_backgroundYOrigin == o.m_backgroundYOrigin
    155155            && m_attachment == o.m_attachment && m_clip == o.m_clip && m_composite == o.m_composite
    156             && m_blendModeSet == o.m_blendModeSet && m_origin == o.m_origin && m_repeatX == o.m_repeatX
     156            && m_blendMode == o.m_blendMode && m_origin == o.m_origin && m_repeatX == o.m_repeatX
    157157            && m_repeatY == o.m_repeatY && m_sizeType == o.m_sizeType && m_sizeLength == o.m_sizeLength
    158158            && m_type == o.m_type && ((m_next && o.m_next) ? *m_next == *o.m_next : m_next == o.m_next);
Note: See TracChangeset for help on using the changeset viewer.