Changeset 95242 in webkit
- Timestamp:
- Sep 15, 2011 4:45:25 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r95241 r95242 1 2011-09-15 David Hyatt <hyatt@apple.com> 2 3 https://bugs.webkit.org/show_bug.cgi?id=27579 4 5 Make sure that the border shorthand also resets border-image. 6 7 Reviewed by Beth Dakin. 8 9 * fast/borders/border-image-reset-by-border-shorthand-expected.txt: Added. 10 * fast/borders/border-image-reset-by-border-shorthand.html: Added. 11 * fast/borders/border-image-scaled-gradient.html: 12 1 13 2011-09-15 David Levin <levin@chromium.org> 2 14 -
trunk/LayoutTests/fast/borders/border-image-scaled-gradient.html
r95129 r95242 7 7 width: 300px; 8 8 height: 300px; 9 -webkit-border-image: -webkit-linear-gradient(30deg, black, white) 1 repeat;9 border: 2px solid red; 10 10 border-image: -webkit-linear-gradient(30deg, black, white) 1 fill repeat; 11 border: 2px solid red;12 11 } 13 12 -
trunk/Source/WebCore/ChangeLog
r95239 r95242 1 2011-09-15 David Hyatt <hyatt@apple.com> 2 3 https://bugs.webkit.org/show_bug.cgi?id=27579 4 5 Make sure that the border shorthand also resets border-image. 6 7 Reviewed by Beth Dakin. 8 9 Added fast/borders/border-image-reset-by-border-shorthand.html. 10 11 * css/CSSParser.cpp: 12 (WebCore::CSSParser::parseValue): 13 1 14 2011-09-15 David Hyatt <hyatt@apple.com> 2 15 -
trunk/Source/WebCore/css/CSSParser.cpp
r95099 r95242 1966 1966 const int properties[3] = { CSSPropertyBorderWidth, CSSPropertyBorderStyle, 1967 1967 CSSPropertyBorderColor }; 1968 return parseShorthand(propId, properties, 3, important); 1968 if (parseShorthand(propId, properties, 3, important)) { 1969 // The CSS3 Borders and Backgrounds specification says that border also resets border-image. It's as 1970 // though a value of none was specified for the image. 1971 addProperty(CSSPropertyBorderImage, CSSInitialValue::createImplicit(), important); 1972 return true; 1973 } 1974 return false; 1969 1975 } 1970 1976 case CSSPropertyBorderTop:
Note: See TracChangeset
for help on using the changeset viewer.