Changeset 56673 in webkit
- Timestamp:
- Mar 27, 2010 5:59:12 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r56669 r56673 1 2010-03-27 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Updated results and one test for 6 <rdar://problem/7801598> REGRESSION (r56182): iWeb shadow drawn around image rectangle, not around opaque part of the image 7 https://bugs.webkit.org/show_bug.cgi?id=36700 8 9 * fast/css/getComputedStyle/computed-style-expected.txt: 10 * fast/css/invalid-import-rule-insertion.html: 11 * http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-and-css-extension-expected.txt: 12 * http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-expected.txt: 13 * http/tests/security/cross-origin-css-expected.txt: 14 * http/tests/security/cross-origin-css-in-xml-expected.txt: 15 * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt: 16 * platform/qt/fast/css/getComputedStyle/computed-style-expected.txt: 17 * platform/win/fast/css/getComputedStyle/computed-style-expected.txt: 18 * svg/css/getComputedStyle-basic-expected.txt: 19 1 20 2010-03-27 Mark Rowe <mrowe@apple.com> 2 21 -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
r56207 r56673 2 2 3 3 background-attachment: scroll; 4 background-color: transparent;4 background-color: rgba(0, 0, 0, 0); 5 5 background-image: none; 6 6 background-position: 0% 0%; -
trunk/LayoutTests/fast/css/invalid-import-rule-insertion.html
r56182 r56673 21 21 catch(e) 22 22 { 23 if(window.getComputedStyle(document.body, "").getPropertyValue("background-color") == " transparent" && document.styleSheets[0].cssRules.length == 2)23 if(window.getComputedStyle(document.body, "").getPropertyValue("background-color") == "rgba(0, 0, 0, 0)" && document.styleSheets[0].cssRules.length == 2) 24 24 { 25 25 document.getElementById("testresult").innerHTML = "Pass"; -
trunk/LayoutTests/http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-and-css-extension-expected.txt
r56182 r56673 1 This test passes if we do NOT apply the stylesheet (which turns the background color red.) The background color is: transparent.1 This test passes if we do NOT apply the stylesheet (which turns the background color red.) The background color is: rgba(0, 0, 0, 0). -
trunk/LayoutTests/http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-expected.txt
r56182 r56673 1 This test passes if we do NOT apply the stylesheet (which turns the background color red.) The background color is: transparent.1 This test passes if we do NOT apply the stylesheet (which turns the background color red.) The background color is: rgba(0, 0, 0, 0). -
trunk/LayoutTests/http/tests/security/cross-origin-css-expected.txt
r56182 r56673 1 1 LINK Cross-origin, HTML, valid: rgb(255, 255, 0) 2 LINK + IMPORT Cross-origin, HTML, invalid: transparent2 LINK + IMPORT Cross-origin, HTML, invalid: rgba(0, 0, 0, 0) 3 3 LINK Cross-origin, CSS, invalid: rgb(255, 255, 0) 4 4 LINK Same-origin, HTML, invalid: rgb(255, 255, 0) -
trunk/LayoutTests/http/tests/security/cross-origin-css-in-xml-expected.txt
r56182 r56673 1 XML CSS Same-origin, HTML, valid: transparent1 XML CSS Same-origin, HTML, valid: rgba(0, 0, 0, 0) -
trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-expected.txt
r56207 r56673 3 3 background-attachment: scroll; 4 4 background-clip: border-box; 5 background-color: transparent;5 background-color: rgba(0, 0, 0, 0); 6 6 background-image: none; 7 7 background-origin: padding-box; -
trunk/LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-expected.txt
r56207 r56673 3 3 background-attachment: scroll; 4 4 background-clip: border-box; 5 background-color: transparent;5 background-color: rgba(0, 0, 0, 0); 6 6 background-image: none; 7 7 background-origin: padding-box; -
trunk/LayoutTests/platform/win/fast/css/getComputedStyle/computed-style-expected.txt
r56207 r56673 3 3 background-attachment: scroll; 4 4 background-clip: border-box; 5 background-color: transparent;5 background-color: rgba(0, 0, 0, 0); 6 6 background-image: none; 7 7 background-origin: padding-box; -
trunk/WebCore/ChangeLog
r56670 r56673 1 2010-03-27 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 <rdar://problem/7801598> REGRESSION (r56182): iWeb shadow drawn around image rectangle, not around opaque part of the image 6 https://bugs.webkit.org/show_bug.cgi?id=36700 7 8 * css/CSSPrimitiveValue.cpp: 9 (WebCore::CSSPrimitiveValue::createColor): Reverted to returning an RGB color value rather than an 10 identifier for the transparent color. 11 1 12 2010-03-26 Joseph Pecoraro <joepeck@webkit.org> 2 13 -
trunk/WebCore/css/CSSPrimitiveValue.cpp
r56663 r56673 69 69 // These are the empty and deleted values of the hash table. 70 70 if (rgbValue == Color::transparent) { 71 static CSSPrimitiveValue* colorTransparent = new CSSPrimitiveValue(C SSValueTransparent);71 static CSSPrimitiveValue* colorTransparent = new CSSPrimitiveValue(Color::transparent); 72 72 return colorTransparent; 73 73 }
Note: See TracChangeset
for help on using the changeset viewer.