Changeset 91217 in webkit
- Timestamp:
- Jul 18, 2011 3:49:38 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r91211 r91217 1 2011-07-18 Tab Atkins <jackalmage@gmail.com> 2 3 Add regression tests for legacy color parsing of valid CSS colors 4 https://bugs.webkit.org/show_bug.cgi?id=64576 5 6 Reviewed by Simon Fraser. 7 8 * fast/dom/attribute-legacy-colors-expected.txt: 9 * fast/dom/script-tests/attribute-legacy-colors.js: 10 1 11 2011-07-18 Ryosuke Niwa <rniwa@webkit.org> 2 12 -
trunk/LayoutTests/fast/dom/attribute-legacy-colors-expected.txt
r90139 r91217 23 23 PASS document.body.bgColor='ff';getComputedStyle(document.body).backgroundColor; is 'rgb(240, 15, 0)' 24 24 PASS document.body.bgColor='rgb(255, 0, 0)';getComputedStyle(document.body).backgroundColor; is 'rgb(0, 85, 0)' 25 PASS document.body.bgColor='rgba(255,255,255,50%)';getComputedStyle(document.body).backgroundColor; is 'rgb(0, 80, 85)' 26 PASS document.body.bgColor='hsl(180,100%,50%)';getComputedStyle(document.body).backgroundColor; is 'rgb(0, 1, 80)' 27 PASS document.body.bgColor='hsla(180,100%,50%,50%)';getComputedStyle(document.body).backgroundColor; is 'rgb(0, 16, 5)' 28 PASS document.body.bgColor='currentColor';getComputedStyle(document.body).backgroundColor; is 'rgb(192, 224, 0)' 25 29 PASS document.body.bgColor='550000001155000000115500000011';getComputedStyle(document.body).backgroundColor; is 'rgb(17, 17, 17)' 26 30 PASS document.body.bgColor='550000000155000000015500000001';getComputedStyle(document.body).backgroundColor; is 'rgb(1, 1, 1)' -
trunk/LayoutTests/fast/dom/script-tests/attribute-legacy-colors.js
r90139 r91217 22 22 {'test':'ff', 'expected':[240, 15, 0]}, 23 23 {'test':'rgb(255, 0, 0)', 'expected':[0, 85, 0]}, 24 {'test':'rgba(255,255,255,50%)', 'expected':[0,80,85]}, 25 {'test':'hsl(180,100%,50%)', 'expected':[0,1,80]}, 26 {'test':'hsla(180,100%,50%,50%)', 'expected':[0,16,5]}, 27 {'test':'currentColor', 'expected':[192,224,0]}, 24 28 {'test':'550000001155000000115500000011', 'expected':[17, 17, 17]}, 25 29 {'test':'550000000155000000015500000001', 'expected':[1, 1, 1]},
Note: See TracChangeset
for help on using the changeset viewer.