Changeset 163262 in webkit
- Timestamp:
- Feb 2, 2014 8:15:20 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r163244 r163262 1 2014-02-02 Zalan Bujtas <zalan@apple.com> 2 3 Subpixel rendering: Make BorderEdge/RoundedRect::Radii LayoutUnit aware. 4 https://bugs.webkit.org/show_bug.cgi?id=128036 5 6 Reviewed by Darin Adler. 7 8 Bug 128061: Subpixel rendering: borders are reporting float values. 9 10 * platform/efl/TestExpectations: 11 * platform/gtk/TestExpectations: 12 * platform/mac/TestExpectations: 13 * platform/win/TestExpectations: 14 1 15 2014-02-01 Alexey Proskuryakov <ap@apple.com> 2 16 -
trunk/LayoutTests/platform/efl/TestExpectations
r163016 r163262 1807 1807 1808 1808 webkit.org/b/127731 plugins/embed-prefers-plugins-for-images.html [ Failure ] 1809 1810 # Subpixel rendering: borders are reporting float values. 1811 webkit.org/b/128061 css1/units/length_units.html [ Failure ] 1812 webkit.org/b/128061 fast/css/bidi-override-in-anonymous-block.html [ Failure ] 1813 webkit.org/b/128061 fast/multicol/span/anonymous-style-inheritance.html [ Failure ] 1814 webkit.org/b/128061 fast/repaint/repaint-during-scroll-with-zoom.html [ Failure ] 1815 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001.htm [ Failure ] 1816 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-001.htm [ Failure ] 1817 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-002.htm [ Failure ] 1818 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-004.htm [ Failure ] 1819 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001.htm [ Failure ] 1820 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001.htm [ Failure ] 1821 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003.htm [ Failure ] 1822 webkit.org/b/128061 media/video-zoom.html [ Failure ] 1823 webkit.org/b/128061 svg/custom/svg-fonts-in-html.html [ Failure ] 1824 webkit.org/b/128061 svg/zoom/page/zoom-background-image-tiled.html [ Failure ] 1825 webkit.org/b/128061 svg/zoom/page/zoom-background-images.html [ Failure ] 1826 webkit.org/b/128061 svg/zoom/page/zoom-img-preserveAspectRatio-support-1.html [ Failure ] 1827 webkit.org/b/128061 svg/zoom/page/zoom-svg-float-border-padding.xml [ Failure ] 1828 webkit.org/b/128061 svg/zoom/page/zoom-svg-through-object-with-auto-size.html [ Failure ] 1829 webkit.org/b/128061 tables/mozilla_expected_failures/bugs/bug1055-2.html [ Failure ] 1830 # End of subpixel failures. -
trunk/LayoutTests/platform/gtk/TestExpectations
r163014 r163262 1536 1536 webkit.org/b/127740 accessibility/range-alter-by-percent.html [ Failure ] 1537 1537 1538 # Subpixel rendering: borders are reporting float values. 1539 webkit.org/b/128061 css1/units/length_units.html [ Failure ] 1540 webkit.org/b/128061 fast/css/bidi-override-in-anonymous-block.html [ Failure ] 1541 webkit.org/b/128061 fast/multicol/span/anonymous-style-inheritance.html [ Failure ] 1542 webkit.org/b/128061 fast/repaint/repaint-during-scroll-with-zoom.html [ Failure ] 1543 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001.htm [ Failure ] 1544 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-001.htm [ Failure ] 1545 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-002.htm [ Failure ] 1546 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-004.htm [ Failure ] 1547 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001.htm [ Failure ] 1548 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001.htm [ Failure ] 1549 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003.htm [ Failure ] 1550 webkit.org/b/128061 media/video-zoom.html [ Failure ] 1551 webkit.org/b/128061 svg/custom/svg-fonts-in-html.html [ Failure ] 1552 webkit.org/b/128061 svg/zoom/page/zoom-background-image-tiled.html [ Failure ] 1553 webkit.org/b/128061 svg/zoom/page/zoom-background-images.html [ Failure ] 1554 webkit.org/b/128061 svg/zoom/page/zoom-img-preserveAspectRatio-support-1.html [ Failure ] 1555 webkit.org/b/128061 svg/zoom/page/zoom-svg-float-border-padding.xml [ Failure ] 1556 webkit.org/b/128061 svg/zoom/page/zoom-svg-through-object-with-auto-size.html [ Failure ] 1557 webkit.org/b/128061 tables/mozilla_expected_failures/bugs/bug1055-2.html [ Failure ] 1558 # End of subpixel failures. 1559 1538 1560 #//////////////////////////////////////////////////////////////////////////////////////// 1539 1561 # End of Tests failing -
trunk/LayoutTests/platform/mac/TestExpectations
r163019 r163262 1321 1321 webkit.org/b/126900 svg/zoom/page/zoom-zoom-coords.xhtml [ Failure ] 1322 1322 1323 # Subpixel rendering: borders are reporting float values. 1324 webkit.org/b/128061 css1/units/length_units.html [ Failure ] 1325 webkit.org/b/128061 fast/css/bidi-override-in-anonymous-block.html [ Failure ] 1326 webkit.org/b/128061 fast/multicol/span/anonymous-style-inheritance.html [ Failure ] 1327 webkit.org/b/128061 fast/repaint/repaint-during-scroll-with-zoom.html [ Failure ] 1328 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001.htm [ Failure ] 1329 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-001.htm [ Failure ] 1330 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-002.htm [ Failure ] 1331 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-004.htm [ Failure ] 1332 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001.htm [ Failure ] 1333 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001.htm [ Failure ] 1334 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003.htm [ Failure ] 1335 webkit.org/b/128061 media/video-zoom.html [ Failure ] 1336 webkit.org/b/128061 svg/custom/svg-fonts-in-html.html [ Failure ] 1337 webkit.org/b/128061 svg/zoom/page/zoom-background-image-tiled.html [ Failure ] 1338 webkit.org/b/128061 svg/zoom/page/zoom-background-images.html [ Failure ] 1339 webkit.org/b/128061 svg/zoom/page/zoom-img-preserveAspectRatio-support-1.html [ Failure ] 1340 webkit.org/b/128061 svg/zoom/page/zoom-svg-float-border-padding.xml [ Failure ] 1341 webkit.org/b/128061 svg/zoom/page/zoom-svg-through-object-with-auto-size.html [ Failure ] 1342 webkit.org/b/128061 tables/mozilla_expected_failures/bugs/bug1055-2.html [ Failure ] 1343 # End of subpixel failures. 1344 1323 1345 webkit.org/b/35297 media/video-display-aspect-ratio.html [ Pass Failure ] 1324 1346 -
trunk/LayoutTests/platform/win/TestExpectations
r162644 r163262 2881 2881 # REGRESSION (r159892): Failing JavaScript test 2882 2882 webkit.org/b/127492 js/dom/date-big-constructor.html [ Failure ] 2883 2884 # Subpixel rendering: borders are reporting float values. 2885 webkit.org/b/128061 css1/units/length_units.html [ Failure ] 2886 webkit.org/b/128061 fast/css/bidi-override-in-anonymous-block.html [ Failure ] 2887 webkit.org/b/128061 fast/multicol/span/anonymous-style-inheritance.html [ Failure ] 2888 webkit.org/b/128061 fast/repaint/repaint-during-scroll-with-zoom.html [ Failure ] 2889 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001.htm [ Failure ] 2890 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-001.htm [ Failure ] 2891 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-002.htm [ Failure ] 2892 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-style-004.htm [ Failure ] 2893 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001.htm [ Failure ] 2894 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001.htm [ Failure ] 2895 webkit.org/b/128061 ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003.htm [ Failure ] 2896 webkit.org/b/128061 media/video-zoom.html [ Failure ] 2897 webkit.org/b/128061 svg/custom/svg-fonts-in-html.html [ Failure ] 2898 webkit.org/b/128061 svg/zoom/page/zoom-background-image-tiled.html [ Failure ] 2899 webkit.org/b/128061 svg/zoom/page/zoom-background-images.html [ Failure ] 2900 webkit.org/b/128061 svg/zoom/page/zoom-img-preserveAspectRatio-support-1.html [ Failure ] 2901 webkit.org/b/128061 svg/zoom/page/zoom-svg-float-border-padding.xml [ Failure ] 2902 webkit.org/b/128061 svg/zoom/page/zoom-svg-through-object-with-auto-size.html [ Failure ] 2903 webkit.org/b/128061 tables/mozilla_expected_failures/bugs/bug1055-2.html [ Failure ] 2904 # End of subpixel failures. -
trunk/Source/WebCore/ChangeLog
r163261 r163262 1 2014-02-02 Zalan Bujtas <zalan@apple.com> 2 3 Subpixel rendering: Make BorderEdge/RoundedRect::Radii LayoutUnit aware. 4 https://bugs.webkit.org/show_bug.cgi?id=128036 5 6 Reviewed by Darin Adler. 7 8 Covered by existing tests. 9 10 * platform/LayoutUnit.h: 11 (WebCore::LayoutUnit::operator++): 12 * rendering/RenderBoxModelObject.cpp: 13 (WebCore::BorderEdge::BorderEdge): 14 (WebCore::BorderEdge::usedWidth): 15 (WebCore::BorderEdge::getDoubleBorderStripeWidths): 16 (WebCore::RenderBoxModelObject::paintOneBorderSide): 17 (WebCore::RenderBoxModelObject::paintBorder): 18 (WebCore::RenderBoxModelObject::drawBoxSideFromPath): 19 (WebCore::calculateSideRectIncludingInner): 20 * rendering/RenderObject.cpp: 21 (WebCore::RenderObject::drawLineForBoxSide): 22 * rendering/RenderObject.h: 23 * rendering/style/BorderData.h: 24 (WebCore::BorderData::borderLeftWidth): 25 (WebCore::BorderData::borderRightWidth): 26 (WebCore::BorderData::borderTopWidth): 27 (WebCore::BorderData::borderBottomWidth): 28 * rendering/style/RenderStyle.cpp: 29 (WebCore::calcRadiiFor): 30 (WebCore::calcConstraintScaleFor): 31 (WebCore::RenderStyle::getRoundedInnerBorderFor): 32 * rendering/style/RenderStyle.h: 33 1 34 2014-02-01 Hunseop Jeong <hs85.jeong@samsung.com> 2 35 -
trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp
r163190 r163262 1397 1397 class BorderEdge { 1398 1398 public: 1399 BorderEdge( int edgeWidth, const Color& edgeColor, EBorderStyle edgeStyle, bool edgeIsTransparent, bool edgeIsPresent = true)1399 BorderEdge(LayoutUnit edgeWidth, const Color& edgeColor, EBorderStyle edgeStyle, bool edgeIsTransparent, bool edgeIsPresent = true) 1400 1400 : width(edgeWidth) 1401 1401 , color(edgeColor) … … 1443 1443 } 1444 1444 1445 int usedWidth() const { return isPresent ? width : 0; }1445 LayoutUnit usedWidth() const { return isPresent ? width : LayoutUnit::fromPixel(0); } 1446 1446 1447 void getDoubleBorderStripeWidths( int& outerWidth, int& innerWidth) const1447 void getDoubleBorderStripeWidths(LayoutUnit& outerWidth, LayoutUnit& innerWidth) const 1448 1448 { 1449 1449 int fullWidth = usedWidth(); … … 1459 1459 } 1460 1460 1461 int width;1461 LayoutUnit width; 1462 1462 Color color; 1463 1463 EBorderStyle style; … … 1693 1693 1694 1694 drawLineForBoxSide(graphicsContext, sideRect.x(), sideRect.y(), sideRect.maxX(), sideRect.maxY(), side, colorToPaint, edgeToRender.style, 1695 mitreAdjacentSide1 ? adjacentEdge1.width : 0, mitreAdjacentSide2 ? adjacentEdge2.width : 0, antialias);1695 mitreAdjacentSide1 ? adjacentEdge1.width : LayoutUnit::fromPixel(0), mitreAdjacentSide2 ? adjacentEdge2.width : LayoutUnit::fromPixel(0), antialias); 1696 1696 } 1697 1697 } … … 1882 1882 LayoutRect outerThirdRect = outerBorder.rect(); 1883 1883 for (int side = BSTop; side <= BSLeft; ++side) { 1884 int outerWidth;1885 int innerWidth;1884 LayoutUnit outerWidth; 1885 LayoutUnit innerWidth; 1886 1886 edges[side].getDoubleBorderStripeWidths(outerWidth, innerWidth); 1887 1887 … … 2025 2025 case DOUBLE: { 2026 2026 // Get the inner border rects for both the outer border line and the inner border line 2027 int outerBorderTopWidth;2028 int innerBorderTopWidth;2027 LayoutUnit outerBorderTopWidth; 2028 LayoutUnit innerBorderTopWidth; 2029 2029 edges[BSTop].getDoubleBorderStripeWidths(outerBorderTopWidth, innerBorderTopWidth); 2030 2030 2031 int outerBorderRightWidth;2032 int innerBorderRightWidth;2031 LayoutUnit outerBorderRightWidth; 2032 LayoutUnit innerBorderRightWidth; 2033 2033 edges[BSRight].getDoubleBorderStripeWidths(outerBorderRightWidth, innerBorderRightWidth); 2034 2034 2035 int outerBorderBottomWidth;2036 int innerBorderBottomWidth;2035 LayoutUnit outerBorderBottomWidth; 2036 LayoutUnit innerBorderBottomWidth; 2037 2037 edges[BSBottom].getDoubleBorderStripeWidths(outerBorderBottomWidth, innerBorderBottomWidth); 2038 2038 2039 int outerBorderLeftWidth;2040 int innerBorderLeftWidth;2039 LayoutUnit outerBorderLeftWidth; 2040 LayoutUnit innerBorderLeftWidth; 2041 2041 edges[BSLeft].getDoubleBorderStripeWidths(outerBorderLeftWidth, innerBorderLeftWidth); 2042 2042 … … 2240 2240 { 2241 2241 LayoutRect sideRect = outerBorder.rect(); 2242 int width;2242 LayoutUnit width; 2243 2243 2244 2244 switch (side) { -
trunk/Source/WebCore/rendering/RenderObject.cpp
r163079 r163262 737 737 } 738 738 739 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2,739 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, LayoutUnit x1, LayoutUnit y1, LayoutUnit x2, LayoutUnit y2, 740 740 BoxSide side, Color color, EBorderStyle borderStyle, int adjacentWidth1, int adjacentWidth2, bool antialias) 741 741 { 742 int thickness;743 int length;742 float thickness; 743 float length; 744 744 if (side == BSTop || side == BSBottom) { 745 745 thickness = y2 - y1; -
trunk/Source/WebCore/rendering/RenderObject.h
r162795 r163262 883 883 RespectImageOrientationEnum shouldRespectImageOrientation() const; 884 884 885 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, BoxSide,885 void drawLineForBoxSide(GraphicsContext*, LayoutUnit x1, LayoutUnit y1, LayoutUnit x2, LayoutUnit y2, BoxSide, 886 886 Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false); 887 887 protected: -
trunk/Source/WebCore/rendering/style/BorderData.h
r105403 r163262 61 61 } 62 62 63 unsignedborderLeftWidth() const63 float borderLeftWidth() const 64 64 { 65 65 if (!m_image.hasImage() && (m_left.style() == BNONE || m_left.style() == BHIDDEN)) … … 68 68 } 69 69 70 unsignedborderRightWidth() const70 float borderRightWidth() const 71 71 { 72 72 if (!m_image.hasImage() && (m_right.style() == BNONE || m_right.style() == BHIDDEN)) … … 75 75 } 76 76 77 unsignedborderTopWidth() const77 float borderTopWidth() const 78 78 { 79 79 if (!m_image.hasImage() && (m_top.style() == BNONE || m_top.style() == BHIDDEN)) … … 82 82 } 83 83 84 unsignedborderBottomWidth() const84 float borderBottomWidth() const 85 85 { 86 86 if (!m_image.hasImage() && (m_bottom.style() == BNONE || m_bottom.style() == BHIDDEN)) -
trunk/Source/WebCore/rendering/style/RenderStyle.cpp
r163152 r163262 1069 1069 } 1070 1070 1071 static RoundedRect::Radii calcRadiiFor(const BorderData& border, IntSizesize, RenderView* renderView)1071 static RoundedRect::Radii calcRadiiFor(const BorderData& border, const LayoutSize& size, RenderView* renderView) 1072 1072 { 1073 1073 return RoundedRect::Radii( 1074 IntSize(valueForLength(border.topLeft().width(), size.width(), renderView),1075 1076 IntSize(valueForLength(border.topRight().width(), size.width(), renderView),1077 1078 IntSize(valueForLength(border.bottomLeft().width(), size.width(), renderView),1079 1080 IntSize(valueForLength(border.bottomRight().width(), size.width(), renderView),1081 1082 } 1083 1084 static float calcConstraintScaleFor(const IntRect& rect, const RoundedRect::Radii& radii)1074 LayoutSize(valueForLength(border.topLeft().width(), size.width(), renderView), 1075 valueForLength(border.topLeft().height(), size.height(), renderView)), 1076 LayoutSize(valueForLength(border.topRight().width(), size.width(), renderView), 1077 valueForLength(border.topRight().height(), size.height(), renderView)), 1078 LayoutSize(valueForLength(border.bottomLeft().width(), size.width(), renderView), 1079 valueForLength(border.bottomLeft().height(), size.height(), renderView)), 1080 LayoutSize(valueForLength(border.bottomRight().width(), size.width(), renderView), 1081 valueForLength(border.bottomRight().height(), size.height(), renderView))); 1082 } 1083 1084 static float calcConstraintScaleFor(const LayoutRect& rect, const RoundedRect::Radii& radii) 1085 1085 { 1086 1086 // Constrain corner radii using CSS3 rules: … … 1088 1088 1089 1089 float factor = 1; 1090 unsignedradiiSum;1090 float radiiSum; 1091 1091 1092 1092 // top 1093 radiiSum = static_cast<unsigned>(radii.topLeft().width()) + static_cast<unsigned>(radii.topRight().width()); // Casts to avoid integer overflow.1094 if (radiiSum > static_cast<unsigned>(rect.width()))1095 factor = std::min( static_cast<float>(rect.width()) / radiiSum, factor);1093 radiiSum = radii.topLeft().width() + radii.topRight().width(); // Casts to avoid integer overflow. 1094 if (radiiSum > rect.width()) 1095 factor = std::min(rect.width() / radiiSum, factor); 1096 1096 1097 1097 // bottom 1098 radiiSum = static_cast<unsigned>(radii.bottomLeft().width()) + static_cast<unsigned>(radii.bottomRight().width());1099 if (radiiSum > static_cast<unsigned>(rect.width()))1100 factor = std::min( static_cast<float>(rect.width()) / radiiSum, factor);1098 radiiSum = radii.bottomLeft().width() + radii.bottomRight().width(); 1099 if (radiiSum > rect.width()) 1100 factor = std::min(rect.width() / radiiSum, factor); 1101 1101 1102 1102 // left 1103 radiiSum = static_cast<unsigned>(radii.topLeft().height()) + static_cast<unsigned>(radii.bottomLeft().height());1104 if (radiiSum > static_cast<unsigned>(rect.height()))1105 factor = std::min( static_cast<float>(rect.height()) / radiiSum, factor);1103 radiiSum = radii.topLeft().height() + radii.bottomLeft().height(); 1104 if (radiiSum > rect.height()) 1105 factor = std::min(rect.height() / radiiSum, factor); 1106 1106 1107 1107 // right 1108 radiiSum = static_cast<unsigned>(radii.topRight().height()) + static_cast<unsigned>(radii.bottomRight().height());1109 if (radiiSum > static_cast<unsigned>(rect.height()))1110 factor = std::min( static_cast<float>(rect.height()) / radiiSum, factor);1108 radiiSum = radii.topRight().height() + radii.bottomRight().height(); 1109 if (radiiSum > rect.height()) 1110 factor = std::min(rect.height() / radiiSum, factor); 1111 1111 1112 1112 ASSERT(factor <= 1); … … 1147 1147 bool horizontal = isHorizontalWritingMode(); 1148 1148 1149 int leftWidth = (!horizontal || includeLogicalLeftEdge) ? borderLeftWidth() : 0;1150 int rightWidth = (!horizontal || includeLogicalRightEdge) ? borderRightWidth() : 0;1151 int topWidth = (horizontal || includeLogicalLeftEdge) ? borderTopWidth() : 0;1152 int bottomWidth = (horizontal || includeLogicalRightEdge) ? borderBottomWidth() : 0;1149 LayoutUnit leftWidth = (!horizontal || includeLogicalLeftEdge) ? borderLeftWidth() : 0; 1150 LayoutUnit rightWidth = (!horizontal || includeLogicalRightEdge) ? borderRightWidth() : 0; 1151 LayoutUnit topWidth = (horizontal || includeLogicalLeftEdge) ? borderTopWidth() : 0; 1152 LayoutUnit bottomWidth = (horizontal || includeLogicalRightEdge) ? borderBottomWidth() : 0; 1153 1153 1154 1154 return getRoundedInnerBorderFor(borderRect, topWidth, bottomWidth, leftWidth, rightWidth, includeLogicalLeftEdge, includeLogicalRightEdge); 1155 1155 } 1156 1156 1157 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, 1158 int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const1157 RoundedRect RenderStyle::getRoundedInnerBorderFor(const LayoutRect& borderRect, LayoutUnit topWidth, LayoutUnit bottomWidth, 1158 LayoutUnit leftWidth, LayoutUnit rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const 1159 1159 { 1160 1160 LayoutRect innerRect(borderRect.x() + leftWidth, -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r163152 r163262 1089 1089 RoundedRect getRoundedInnerBorderFor(const LayoutRect& borderRect, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true) const; 1090 1090 1091 RoundedRect getRoundedInnerBorderFor(const LayoutRect& borderRect, 1092 int topWidth, int bottomWidth, int leftWidth, int rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const;1091 RoundedRect getRoundedInnerBorderFor(const LayoutRect& borderRect, LayoutUnit topWidth, LayoutUnit bottomWidth, 1092 LayoutUnit leftWidth, LayoutUnit rightWidth, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; 1093 1093 1094 1094 void setBorderLeftWidth(float v) { SET_VAR(surround, border.m_left.m_width, v); }
Note: See TracChangeset
for help on using the changeset viewer.