Changeset 167659 in webkit


Ignore:
Timestamp:
Apr 22, 2014 7:17:43 AM (10 years ago)
Author:
Alan Bujtas
Message:

border-style: double rendered as solid when combined with border-radius
https://bugs.webkit.org/show_bug.cgi?id=131927

Reviewed by Simon Fraser.

BorderEdge::getDoubleBorderStripeWidths() should return the calculated inner, outer border widths.

Source/WebCore:
Test: fast/borders/hidpi-double-border-with-border-radius-always-produce-solid-line.html

  • rendering/BorderEdge.cpp:

(WebCore::BorderEdge::getDoubleBorderStripeWidths):

  • rendering/BorderEdge.h:

LayoutTests:

  • fast/borders/hidpi-double-border-with-border-radius-always-produce-solid-line-expected.html: Added.
  • fast/borders/hidpi-double-border-with-border-radius-always-produce-solid-line.html: Added.
Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r167655 r167659  
     12014-04-22  Zalan Bujtas  <zalan@apple.com>
     2
     3        border-style: double rendered as solid when combined with border-radius
     4        https://bugs.webkit.org/show_bug.cgi?id=131927
     5
     6        Reviewed by Simon Fraser.
     7
     8        BorderEdge::getDoubleBorderStripeWidths() should return the calculated inner, outer border widths.
     9
     10        * fast/borders/hidpi-double-border-with-border-radius-always-produce-solid-line-expected.html: Added.
     11        * fast/borders/hidpi-double-border-with-border-radius-always-produce-solid-line.html: Added.
     12
    1132014-04-22  Manuel Rego Casasnovas  <rego@igalia.com>
    214
  • trunk/Source/WebCore/ChangeLog

    r167658 r167659  
     12014-04-22  Zalan Bujtas  <zalan@apple.com>
     2
     3        border-style: double rendered as solid when combined with border-radius
     4        https://bugs.webkit.org/show_bug.cgi?id=131927
     5
     6        Reviewed by Simon Fraser.
     7
     8        BorderEdge::getDoubleBorderStripeWidths() should return the calculated inner, outer border widths.
     9
     10        Test: fast/borders/hidpi-double-border-with-border-radius-always-produce-solid-line.html
     11
     12        * rendering/BorderEdge.cpp:
     13        (WebCore::BorderEdge::getDoubleBorderStripeWidths):
     14        * rendering/BorderEdge.h:
     15
    1162014-04-22  Eric Carlson  <eric.carlson@apple.com>
    217
  • trunk/Source/WebCore/rendering/BorderEdge.cpp

    r165689 r167659  
    9696}
    9797
    98 void BorderEdge::getDoubleBorderStripeWidths(LayoutUnit outerWidth, LayoutUnit innerWidth) const
     98void BorderEdge::getDoubleBorderStripeWidths(LayoutUnit& outerWidth, LayoutUnit& innerWidth) const
    9999{
    100100    LayoutUnit fullWidth = widthForPainting();
  • trunk/Source/WebCore/rendering/BorderEdge.h

    r165689 r167659  
    6060    inline bool presentButInvisible() const { return widthForPainting() && !hasVisibleColorAndStyle(); }
    6161    inline float widthForPainting() const { return m_isPresent ?  m_flooredToDevicePixelWidth : 0; }
    62     void getDoubleBorderStripeWidths(LayoutUnit outerWidth, LayoutUnit innerWidth) const;
     62    void getDoubleBorderStripeWidths(LayoutUnit& outerWidth, LayoutUnit& innerWidth) const;
    6363    bool obscuresBackgroundEdge(float scale) const;
    6464    bool obscuresBackground() const;
Note: See TracChangeset for help on using the changeset viewer.