Changeset 56171 in webkit


Ignore:
Timestamp:
Mar 18, 2010 11:03:44 AM (14 years ago)
Author:
hyatt@apple.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=36283

Reviewed by Simon Fraser.

The wrong constants were being used for the code that attempted to compact the background-repeat shorthand to
a single value.

Added fast/backgrounds/background-repeat-computed-style.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::fillRepeatToCSSValue):

Location:
trunk
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r56170 r56171  
     12010-03-18  David Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by Simon Fraser.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=36283
     6       
     7        The wrong constants were being used for the code that attempted to compact the background-repeat shorthand to
     8        a single value.
     9
     10        Added fast/backgrounds/background-repeat-computed-style.html
     11
     12        * css/CSSComputedStyleDeclaration.cpp:
     13        (WebCore::fillRepeatToCSSValue):
     14
    1152010-03-18  Simon Fraser  <simon.fraser@apple.com>
    216
  • trunk/WebCore/css/CSSComputedStyleDeclaration.cpp

    r55601 r56171  
    631631    if (xRepeat == yRepeat)
    632632        return CSSPrimitiveValue::create(xRepeat);
    633     if (xRepeat == CSSValueRepeat && yRepeat == CSSValueNoRepeat)
     633    if (xRepeat == RepeatFill && yRepeat == NoRepeatFill)
    634634        return CSSPrimitiveValue::createIdentifier(CSSValueRepeatX);
    635     if (xRepeat == CSSValueNoRepeat && yRepeat == CSSValueRepeat)
     635    if (xRepeat == NoRepeatFill && yRepeat == RepeatFill)
    636636        return CSSPrimitiveValue::createIdentifier(CSSValueRepeatY);
    637637
Note: See TracChangeset for help on using the changeset viewer.