Changeset 139203 in webkit


Ignore:
Timestamp:
Jan 9, 2013 10:10:34 AM (11 years ago)
Author:
ojan@chromium.org
Message:

Source/WebCore: marquee special-case in RenderBlock is not needed
https://bugs.webkit.org/show_bug.cgi?id=106396

Reviewed by Simon Fraser.

This was added in http://trac.webkit.org/changeset/105772. The layout test
in that patch (which is disabled) works and the original site that was broken
also still works.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::computePreferredLogicalWidths):

LayoutTests: Implement CSS computed style value for transition shorthand
https://bugs.webkit.org/show_bug.cgi?id=105035

Patch by Alexis Menard <alexis@webkit.org> on 2013-01-09
Reviewed by Dean Jackson.

Uncomment existing tests to cover the new feature.

  • transitions/transitions-parsing-expected.txt:
  • transitions/transitions-parsing.html:
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r139202 r139203  
     12013-01-09  Alexis Menard  <alexis@webkit.org>
     2
     3        Implement CSS computed style value for transition shorthand
     4        https://bugs.webkit.org/show_bug.cgi?id=105035
     5
     6        Reviewed by Dean Jackson.
     7
     8        Uncomment existing tests to cover the new feature.
     9
     10        * transitions/transitions-parsing-expected.txt:
     11        * transitions/transitions-parsing.html:
     12
    1132013-01-09  Tony Chang  <tony@chromium.org>
    214
  • trunk/Source/WebCore/ChangeLog

    r139202 r139203  
     12013-01-09  Ojan Vafai  <ojan@chromium.org>
     2
     3        marquee special-case in RenderBlock is not needed
     4        https://bugs.webkit.org/show_bug.cgi?id=106396
     5
     6        Reviewed by Simon Fraser.
     7
     8        This was added in http://trac.webkit.org/changeset/105772. The layout test
     9        in that patch (which is disabled) works and the original site that was broken
     10        also still works.
     11
     12        * rendering/RenderBlock.cpp:
     13        (WebCore::RenderBlock::computePreferredLogicalWidths):
     14
     152013-01-09  Alexis Menard  <alexis@webkit.org>
     16
     17        Implement CSS computed style value for transition shorthand
     18        https://bugs.webkit.org/show_bug.cgi?id=105035
     19
     20        Reviewed by Dean Jackson.
     21
     22        Implement support for query the transition and webkit-transition
     23        shorthand from the computed style.
     24
     25        Test: transitions/transitions-parsing.html
     26
     27        * css/CSSComputedStyleDeclaration.cpp:
     28        (WebCore::createTransitionPropertyValue): Factor the code to create the
     29        correct value into a function to reuse it for the shorthand.
     30        (WebCore::getTransitionPropertyValue):
     31        (WebCore::createTimingFunctionValue): Little refactor, the intermediate
     32        local variables are not needed.
     33        (WebCore::getTimingFunctionValue):
     34        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
     35
    1362013-01-09  Tony Chang  <tony@chromium.org>
    237
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r139135 r139203  
    55845584    RenderStyle* styleToUse = style();
    55855585    if (!isTableCell() && styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0
    5586        && style()->marqueeBehavior() != MALTERNATE && !(isDeprecatedFlexItem() && !styleToUse->logicalWidth().intValue()))
     5586        && !(isDeprecatedFlexItem() && !styleToUse->logicalWidth().intValue()))
    55875587        m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
    55885588    else {
Note: See TracChangeset for help on using the changeset viewer.