Changeset 63854 in webkit
- Timestamp:
- Jul 21, 2010 1:39:15 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r63850 r63854 1 2010-07-21 Peter Beverloo <peter@lvp-media.com> 2 3 Reviewed by Eric Carlson. 4 5 Removed support for the -khtml CSS vendor prefix and limit the 6 -apple prefix to two properties (dashboard-region and line-clamp). 7 8 Listed properties in these updated have been changed to -webkit. 9 10 * fast/block/positioning/height-change.html: -apple-box 11 * fast/block/positioning/resources/window-height-change-frame-flex.html: -apple-box 12 * fast/borders/border-image-omit-right-slice.html: -khtml-border-image 13 * fast/css/apple-prefix.html: -khtml-box-orient 14 * fast/css/legacy-opacity-styles-expected.txt: -*-opacity 15 * fast/css/legacy-opacity-styles.html: -*-opacity 16 * fast/css/limited-vendor-prefix-behavior-expected.txt: Added. 17 * fast/css/limited-vendor-prefix-behavior.html: Added. 18 * fast/flexbox/001.html: -khtml-box-flex 19 * fast/flexbox/002.html: -khtml-box, -khtml-box-align, -khtml-box-orient 20 * fast/flexbox/003.html: -khtml-box, -khtml-box-align, -khtml-box-orient 21 * fast/flexbox/004.html: -khtml-box 22 * fast/flexbox/005.html: -khtml-box 23 * fast/flexbox/006.html: -khtml-box 24 * fast/flexbox/007.html: -khtml-box 25 * fast/flexbox/008.html: -khtml-box 26 * fast/flexbox/009.html: -khtml-box 27 * fast/flexbox/010.html: -khtml-box 28 * fast/flexbox/011.html: -khtml-box, -khtml-box-flex 29 * fast/flexbox/012.html: -khtml-box, -khtml-box-orient, -khtml-box-align 30 * fast/flexbox/013.html: -khtml-box, -khtml-box-flex 31 * fast/flexbox/014.html: -khtml-box, -khtml-box-orient, -khtml-box-flex 32 * fast/flexbox/015.html: -khtml-box, -khtml-box-flex, -khtml-box-flex 33 * fast/flexbox/016.html: -khtml-box-flex, -khtml-box, -khtml-box-orient 34 * fast/flexbox/017.html: -khtml-box, -khtml-box-orient, -webkit-box-pack, -khtml-box-direction 35 * fast/flexbox/018.html: -khtml-box, -khtml-box-orient, -khtml-box-pack 36 * fast/flexbox/019.html: -khtml-box, -khtml-box-pack, -khtml-box-orient 37 * fast/flexbox/020.html: -khtml-box, -khtml-box-flex-group, -khtml-box-flex 38 * fast/flexbox/021.html: -khtml-box, -khtml-box-flex 39 * fast/flexbox/022.html: -khtml-box, -khtml-box-flex 40 * fast/flexbox/023.html: -khtml-box 41 * fast/flexbox/024.html: -khtml-box, -khtml-box-orient 42 * fast/flexbox/025.html: -khtml-box, -khtml-box-flex 43 * fast/flexbox/026.html: -khtml-box, -khtml-box-flex 44 * fast/flexbox/child-flexing.html: -khtml-box, -khtml-box-align, -khtml-box-orient 45 * fast/repaint/flexible-box-overflow-horizontal.html: -khtml-box, -khtml-box-align, -khtml-box-orient 46 * fast/repaint/flexible-box-overflow.html: -khtml-box, -khtml-box-align, -khtml-box-orient 47 1 48 2010-07-21 Sam Weinig <sam@webkit.org> 2 49 -
trunk/LayoutTests/fast/block/positioning/height-change.html
r48921 r63854 27 27 </div> 28 28 <br> 29 <div style="position: relative; display: - apple-box;">29 <div style="position: relative; display: -webkit-box;"> 30 30 <div class=articlefooter></div> 31 31 <div id="u" style="background: skyblue; height: 50px; width: 100px;"></div> -
trunk/LayoutTests/fast/block/positioning/resources/window-height-change-frame-flex.html
r12712 r63854 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" style="display: - apple-box;">2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" style="display: -webkit-box;"> 3 3 <head> 4 5 6 7 4 <style type="text/css"> 5 body { 6 background: red; 7 } 8 8 div { 9 9 background: green; 10 10 width: 100px; 11 12 top: 0; 13 14 15 11 position: absolute; 12 top: 0; 13 bottom: 0; 14 left: 0; 15 right: 0; 16 16 } 17 17 </style> 18 18 </head> 19 19 <body> -
trunk/LayoutTests/fast/borders/border-image-omit-right-slice.html
r34324 r63854 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 2 "http://www.w3.org/TR/html4/strict.dtd"> 3 3 <html lang="en-US"> 4 4 <head> 5 6 7 8 5 <title>border-image bug</title> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <meta http-equiv="Content-Style-Type" content="text/css"> 8 <style type="text/css"> 9 9 10 11 12 13 10 div { 11 width: 200px; 12 height: 200px; 13 } 14 14 15 16 17 -khtml-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAAAXNSR0IArs4c6QAAAUFJREFUGNMBNgHJ/gPcUkznH/n8lGR5YkMIIMDXFhgoVNnfqeM5dbre55MDGkF/U6tMmi12K6QBpfkB4H3NyPZAiyjm6kp//uPtAA4pZhHPJ8xbkSop4chy5ecPsVSqkC03ozAmk77SOwOHR+fDXmoF5UUJU9YsnVfehg/iLC7p3etC3w3LEA8D0eGf/DZozPPzoSSX6gTVlQ/L4Ylt4SrFiOgqNDQPAPvl/JQuLv33xK66eAgGCn+OAIUu1Fugs2hsZNIB6gPhrZ80q7sXNUEuIE7EGNC5Dc2ExcIe9tseb4r7usAAralzLgdas9URX21wGUqSgDnf/jMydhxMIEx4w9TtAfCQPsbi30EEVABXFJYnOZgfbQK3CLkwg6PDGG27KwOYF7jD+sIHhdwoUyILAF5sv/6bI6S56fbULB5OToUjFpS7UHGrVgAAAABJRU5ErkJggg==) 1 2 3;18 19 20 15 body > div { 16 -moz-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAAAXNSR0IArs4c6QAAAUFJREFUGNMBNgHJ/gPcUkznH/n8lGR5YkMIIMDXFhgoVNnfqeM5dbre55MDGkF/U6tMmi12K6QBpfkB4H3NyPZAiyjm6kp//uPtAA4pZhHPJ8xbkSop4chy5ecPsVSqkC03ozAmk77SOwOHR+fDXmoF5UUJU9YsnVfehg/iLC7p3etC3w3LEA8D0eGf/DZozPPzoSSX6gTVlQ/L4Ylt4SrFiOgqNDQPAPvl/JQuLv33xK66eAgGCn+OAIUu1Fugs2hsZNIB6gPhrZ80q7sXNUEuIE7EGNC5Dc2ExcIe9tseb4r7usAAralzLgdas9URX21wGUqSgDnf/jMydhxMIEx4w9TtAfCQPsbi30EEVABXFJYnOZgfbQK3CLkwg6PDGG27KwOYF7jD+sIHhdwoUyILAF5sv/6bI6S56fbULB5OToUjFpS7UHGrVgAAAABJRU5ErkJggg==) 1 2 3; 17 -webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAAAXNSR0IArs4c6QAAAUFJREFUGNMBNgHJ/gPcUkznH/n8lGR5YkMIIMDXFhgoVNnfqeM5dbre55MDGkF/U6tMmi12K6QBpfkB4H3NyPZAiyjm6kp//uPtAA4pZhHPJ8xbkSop4chy5ecPsVSqkC03ozAmk77SOwOHR+fDXmoF5UUJU9YsnVfehg/iLC7p3etC3w3LEA8D0eGf/DZozPPzoSSX6gTVlQ/L4Ylt4SrFiOgqNDQPAPvl/JQuLv33xK66eAgGCn+OAIUu1Fugs2hsZNIB6gPhrZ80q7sXNUEuIE7EGNC5Dc2ExcIe9tseb4r7usAAralzLgdas9URX21wGUqSgDnf/jMydhxMIEx4w9TtAfCQPsbi30EEVABXFJYnOZgfbQK3CLkwg6PDGG27KwOYF7jD+sIHhdwoUyILAF5sv/6bI6S56fbULB5OToUjFpS7UHGrVgAAAABJRU5ErkJggg==) 1 2 3; 18 border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAAAXNSR0IArs4c6QAAAUFJREFUGNMBNgHJ/gPcUkznH/n8lGR5YkMIIMDXFhgoVNnfqeM5dbre55MDGkF/U6tMmi12K6QBpfkB4H3NyPZAiyjm6kp//uPtAA4pZhHPJ8xbkSop4chy5ecPsVSqkC03ozAmk77SOwOHR+fDXmoF5UUJU9YsnVfehg/iLC7p3etC3w3LEA8D0eGf/DZozPPzoSSX6gTVlQ/L4Ylt4SrFiOgqNDQPAPvl/JQuLv33xK66eAgGCn+OAIUu1Fugs2hsZNIB6gPhrZ80q7sXNUEuIE7EGNC5Dc2ExcIe9tseb4r7usAAralzLgdas9URX21wGUqSgDnf/jMydhxMIEx4w9TtAfCQPsbi30EEVABXFJYnOZgfbQK3CLkwg6PDGG27KwOYF7jD+sIHhdwoUyILAF5sv/6bI6S56fbULB5OToUjFpS7UHGrVgAAAABJRU5ErkJggg==) 1 2 3; 19 border-width: 100px; 20 } 21 21 22 23 24 22 body > div > div { 23 background: white; 24 } 25 25 26 26 </style> 27 27 </head> 28 28 <body> -
trunk/LayoutTests/fast/css/apple-prefix.html
r11995 r63854 11 11 .content { 12 12 overflow: hidden; 13 display: - khtml-box;14 - khtml-box-orient: vertical;13 display: -webkit-box; 14 -webkit-box-orient: vertical; 15 15 } 16 16 </style> -
trunk/LayoutTests/fast/css/legacy-opacity-styles-expected.txt
r30635 r63854 5 5 6 6 PASS document.getElementById('test-opacity').style.getPropertyValue('opacity') is '0.2' 7 PASS document.getElementById('test-opacity').style.getPropertyValue('-apple-opacity') is '0.2'8 PASS document.getElementById('test-opacity').style.getPropertyValue('-khtml-opacity') is '0.2'9 7 PASS document.getElementById('test-opacity').style.getPropertyValue('-webkit-opacity') is '0.2' 10 PASS document.getElementById('test-apple-opacity').style.getPropertyValue('opacity') is '0.4'11 PASS document.getElementById('test-apple-opacity').style.getPropertyValue('-apple-opacity') is '0.4'12 PASS document.getElementById('test-apple-opacity').style.getPropertyValue('-khtml-opacity') is '0.4'13 PASS document.getElementById('test-apple-opacity').style.getPropertyValue('-webkit-opacity') is '0.4'14 PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('opacity') is '0.6'15 PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('-apple-opacity') is '0.6'16 PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('-khtml-opacity') is '0.6'17 PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('-webkit-opacity') is '0.6'18 8 PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('opacity') is '0.8' 19 PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('-apple-opacity') is '0.8'20 PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('-khtml-opacity') is '0.8'21 9 PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('-webkit-opacity') is '0.8' 22 10 PASS successfullyParsed is true -
trunk/LayoutTests/fast/css/legacy-opacity-styles.html
r25148 r63854 7 7 <body> 8 8 <div id="test-opacity" style="opacity: 0.2;"></div> 9 <div id="test-apple-opacity" style="-apple-opacity: 0.4;"></div>10 <div id="test-khtml-opacity" style="-khtml-opacity: 0.6;"></div>11 9 <div id="test-webkit-opacity" style="-webkit-opacity: 0.8;"></div> 12 10 <p id="description"></p> … … 16 14 17 15 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('opacity')", "'0.2'"); 18 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('-apple-opacity')", "'0.2'");19 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('-khtml-opacity')", "'0.2'");20 16 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('-webkit-opacity')", "'0.2'"); 21 17 22 shouldBe("document.getElementById('test-apple-opacity').style.getPropertyValue('opacity')", "'0.4'");23 shouldBe("document.getElementById('test-apple-opacity').style.getPropertyValue('-apple-opacity')", "'0.4'");24 shouldBe("document.getElementById('test-apple-opacity').style.getPropertyValue('-khtml-opacity')", "'0.4'");25 shouldBe("document.getElementById('test-apple-opacity').style.getPropertyValue('-webkit-opacity')", "'0.4'");26 27 shouldBe("document.getElementById('test-khtml-opacity').style.getPropertyValue('opacity')", "'0.6'");28 shouldBe("document.getElementById('test-khtml-opacity').style.getPropertyValue('-apple-opacity')", "'0.6'");29 shouldBe("document.getElementById('test-khtml-opacity').style.getPropertyValue('-khtml-opacity')", "'0.6'");30 shouldBe("document.getElementById('test-khtml-opacity').style.getPropertyValue('-webkit-opacity')", "'0.6'");31 32 18 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue('opacity')", "'0.8'"); 33 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue('-apple-opacity')", "'0.8'");34 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue('-khtml-opacity')", "'0.8'");35 19 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue('-webkit-opacity')", "'0.8'"); 36 20 -
trunk/LayoutTests/fast/flexbox/001.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 width: 100px; … … 19 19 background-color:green; 20 20 -moz-box-flex: 1; 21 - khtml-box-flex: 1;21 -webkit-box-flex: 1; 22 22 box-flex: 1; 23 23 width:10px; -
trunk/LayoutTests/fast/flexbox/002.html
r11995 r63854 7 7 background-color:green; 8 8 display: -moz-box; 9 display: - khtml-box;9 display: -webkit-box; 10 10 display: box; 11 11 -moz-box-align: center; 12 - khtml-box-align: center;12 -webkit-box-align: center; 13 13 box-align: center; 14 14 -moz-box-orient: vertical; 15 - khtml-box-orient: vertical;15 -webkit-box-orient: vertical; 16 16 box-orient: vertical; 17 17 } -
trunk/LayoutTests/fast/flexbox/003.html
r11995 r63854 7 7 background-color:green; 8 8 display: -moz-box; 9 display: - khtml-box;9 display: -webkit-box; 10 10 display: box; 11 11 -moz-box-align: center; 12 - khtml-box-align: center;12 -webkit-box-align: center; 13 13 box-align: center; 14 14 -moz-box-orient: horizontal; 15 - khtml-box-orient: horizontal;15 -webkit-box-orient: horizontal; 16 16 box-orient: horizontal; 17 17 } -
trunk/LayoutTests/fast/flexbox/004.html
r11995 r63854 7 7 background-color:red; 8 8 display: -moz-box; 9 display: - khtml-box;9 display: -webkit-box; 10 10 display: box; 11 11 } -
trunk/LayoutTests/fast/flexbox/005.html
r11995 r63854 6 6 background-color:green; 7 7 display: -moz-box; 8 display: - khtml-box;8 display: -webkit-box; 9 9 display: box; 10 10 width: 100%; -
trunk/LayoutTests/fast/flexbox/006.html
r11995 r63854 6 6 background-color:green; 7 7 display: -moz-box; 8 display: - khtml-box;8 display: -webkit-box; 9 9 display: box; 10 10 } -
trunk/LayoutTests/fast/flexbox/007.html
r11995 r63854 4 4 div.box { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } -
trunk/LayoutTests/fast/flexbox/008.html
r11995 r63854 4 4 div.box { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 height: 200px; -
trunk/LayoutTests/fast/flexbox/009.html
r11995 r63854 7 7 background-color:green; 8 8 display: -moz-box; 9 display: - khtml-box;9 display: -webkit-box; 10 10 display: box; 11 11 overflow:auto; -
trunk/LayoutTests/fast/flexbox/010.html
r11995 r63854 7 7 background-color:red; 8 8 display: -moz-box; 9 display: - khtml-box;9 display: -webkit-box; 10 10 display: box; 11 11 position: relative; -
trunk/LayoutTests/fast/flexbox/011.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } … … 15 15 div.flex { 16 16 -moz-box-flex: 1; 17 - khtml-box-flex: 1;17 -webkit-box-flex: 1; 18 18 box-flex: 1; 19 19 border: 2px solid purple; -
trunk/LayoutTests/fast/flexbox/012.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } … … 13 13 background-color: red; 14 14 -moz-box-orient: vertical; 15 - khtml-box-orient: vertical;15 -webkit-box-orient: vertical; 16 16 box-orient: vertical; 17 17 -moz-box-align: center; 18 - khtml-box-align: center;18 -webkit-box-align: center; 19 19 box-align: center; 20 20 position: relative; -
trunk/LayoutTests/fast/flexbox/013.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 width: 100px; … … 17 17 background-color:green; 18 18 -moz-box-flex: 1; 19 - khtml-box-flex: 1;19 -webkit-box-flex: 1; 20 20 box-flex: 1; 21 21 width:10px; -
trunk/LayoutTests/fast/flexbox/014.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 width: 100px; 9 9 height: 100px; 10 10 -moz-box-orient: vertical; 11 - khtml-box-orient: vertical;11 -webkit-box-orient: vertical; 12 12 box-orient: vertical; 13 13 } … … 20 20 background-color:green; 21 21 -moz-box-flex: 1; 22 - khtml-box-flex: 1;22 -webkit-box-flex: 1; 23 23 box-flex: 1; 24 24 width:100px; -
trunk/LayoutTests/fast/flexbox/015.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } … … 12 12 height: 100px; 13 13 -moz-box-flex: 1; 14 - khtml-box-flex: 1;14 -webkit-box-flex: 1; 15 15 box-flex: 1; 16 16 max-width: 100px; … … 19 19 div.sides { 20 20 -moz-box-flex: 1; 21 - khtml-box-flex: 1;21 -webkit-box-flex: 1; 22 22 box-flex: 1; 23 23 background-color: red; -
trunk/LayoutTests/fast/flexbox/016.html
r11995 r63854 5 5 background-color:green; 6 6 -moz-box-flex: 1; 7 - khtml-box-flex: 1;7 -webkit-box-flex: 1; 8 8 box-flex: 1; 9 9 border: 10px solid olive; … … 22 22 div.outer { 23 23 display: -moz-box; 24 display: - khtml-box;24 display: -webkit-box; 25 25 display: box; 26 26 -moz-box-orient: vertical; 27 - khtml-box-orient: vertical;27 -webkit-box-orient: vertical; 28 28 box-orient: vertical; 29 29 height: 100%; -
trunk/LayoutTests/fast/flexbox/017.html
r11995 r63854 4 4 div.box { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } … … 10 10 div.vertical { 11 11 -moz-box-orient: vertical; 12 - khtml-box-orient: vertical;12 -webkit-box-orient: vertical; 13 13 box-orient: vertical; 14 14 } … … 22 22 .rtl { 23 23 -moz-box-pack: end; 24 - khtml-box-pack: end;24 -webkit-box-pack: end; 25 25 box-pack: end; 26 26 direction: rtl; … … 29 29 .rev { 30 30 -moz-box-direction: reverse; 31 - khtml-box-direction: reverse;31 -webkit-box-direction: reverse; 32 32 box-direction: reverse; 33 33 } … … 35 35 .first { 36 36 -moz-box-ordinal-group: 1; 37 - khtml-box-ordinal-group: 1;37 -webkit-box-ordinal-group: 1; 38 38 box-ordinal-group: 1 39 39 } … … 41 41 .second { 42 42 -moz-box-ordinal-group: 2; 43 - khtml-box-ordinal-group: 2;43 -webkit-box-ordinal-group: 2; 44 44 box-ordinal-group: 2 45 45 } … … 47 47 .third { 48 48 -moz-box-ordinal-group: 3; 49 - khtml-box-ordinal-group: 3;49 -webkit-box-ordinal-group: 3; 50 50 box-ordinal-group: 3 51 51 } … … 53 53 .fourth { 54 54 -moz-box-ordinal-group: 4; 55 - khtml-box-ordinal-group: 4;55 -webkit-box-ordinal-group: 4; 56 56 box-ordinal-group: 4 57 57 } … … 59 59 .fifth { 60 60 -moz-box-ordinal-group: 5; 61 - khtml-box-ordinal-group: 5;61 -webkit-box-ordinal-group: 5; 62 62 box-ordinal-group: 5 63 63 } -
trunk/LayoutTests/fast/flexbox/018.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } … … 10 10 .strip { 11 11 -moz-box-orient: vertical; 12 - khtml-box-orient: vertical;12 -webkit-box-orient: vertical; 13 13 box-orient: vertical; 14 14 -moz-box-pack: justify; 15 - khtml-box-pack: justify;15 -webkit-box-pack: justify; 16 16 box-pack: justify; 17 17 } -
trunk/LayoutTests/fast/flexbox/019.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } … … 10 10 .strip { 11 11 -moz-box-pack: justify; 12 - khtml-box-pack: justify;12 -webkit-box-pack: justify; 13 13 box-pack: justify; 14 14 } … … 23 23 height: 350px; 24 24 -moz-box-orient: vertical; 25 - khtml-box-orient: vertical;25 -webkit-box-orient: vertical; 26 26 box-orient: vertical; 27 27 } -
trunk/LayoutTests/fast/flexbox/020.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 } … … 10 10 .first { 11 11 -moz-box-flex-group: 1; 12 - khtml-box-flex-group: 1;12 -webkit-box-flex-group: 1; 13 13 box-flex-group: 1; 14 14 background-color: green; 15 15 -moz-box-flex: 1; 16 - khtml-box-flex: 1;16 -webkit-box-flex: 1; 17 17 box-flex: 1; 18 18 } … … 20 20 .second { 21 21 -moz-box-flex-group: 2; 22 - khtml-box-flex-group: 2;22 -webkit-box-flex-group: 2; 23 23 box-flex-group: 2; 24 24 background-color: red; 25 25 -moz-box-flex: 1; 26 - khtml-box-flex: 1;26 -webkit-box-flex: 1; 27 27 box-flex: 1; 28 28 } -
trunk/LayoutTests/fast/flexbox/021.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 background-color: red; … … 14 14 visibility: collapse; 15 15 -moz-box-flex: 1; 16 - khtml-box-flex: 1;16 -webkit-box-flex: 1; 17 17 box-flex: 1; 18 18 width: 50px; … … 23 23 background-color: green; 24 24 -moz-box-flex: 1; 25 - khtml-box-flex: 1;25 -webkit-box-flex: 1; 26 26 box-flex: 1; 27 27 width: 50px; -
trunk/LayoutTests/fast/flexbox/022.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 background-color: green; … … 13 13 span { 14 14 -moz-box-flex: 1; 15 - khtml-box-flex: 1;15 -webkit-box-flex: 1; 16 16 box-flex: 1; 17 17 height: 100px; -
trunk/LayoutTests/fast/flexbox/023.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 width: 100px; -
trunk/LayoutTests/fast/flexbox/024.html
r11995 r63854 4 4 div { 5 5 display: -moz-box; 6 display: - khtml-box;6 display: -webkit-box; 7 7 display: box; 8 8 width: 100px; 9 9 height: 100px; 10 10 -moz-box-orient: vertical; 11 - khtml-box-orient: vertical;11 -webkit-box-orient: vertical; 12 12 box-orient: vertical; 13 13 } -
trunk/LayoutTests/fast/flexbox/025.html
r11995 r63854 1 <html style="display: -moz-box; display: - khtml-box; display: box; height:100%; background-color:white">2 <body style="margin: 0; display: -moz-box; display: - khtml-box; display: box; -moz-box-flex: 1; -khtml-box-flex: 1; box-flex: 1; background-color:green; color:white">1 <html style="display: -moz-box; display: -webkit-box; display: box; height:100%; background-color:white"> 2 <body style="margin: 0; display: -moz-box; display: -webkit-box; display: box; -moz-box-flex: 1; -webkit-box-flex: 1; box-flex: 1; background-color:green; color:white"> 3 3 You should see white text on a green background that fills the window. 4 4 </body> -
trunk/LayoutTests/fast/flexbox/026.html
r16184 r63854 2 2 #file { 3 3 display: -moz-box; 4 display: - khtml-box;4 display: -webkit-box; 5 5 display: box; 6 6 background-color: blue; … … 11 11 #but { 12 12 -moz-box-flex: 2; 13 - khtml-box-flex: 2;13 -webkit-box-flex: 2; 14 14 box-flex: 2; 15 15 height: 100px; … … 21 21 #name { 22 22 -moz-box-flex: 3; 23 - khtml-box-flex: 3;23 -webkit-box-flex: 3; 24 24 box-flex: 3; 25 25 height: 100px; -
trunk/LayoutTests/fast/flexbox/child-flexing.html
r58630 r63854 6 6 div.box { 7 7 display: -moz-box; 8 display: - khtml-box;8 display: -webkit-box; 9 9 display: box; 10 10 } … … 15 15 background-color: red; 16 16 -moz-box-align: top; 17 - khtml-box-align: top;17 -webkit-box-align: top; 18 18 position: relative; 19 19 overflow: auto; … … 22 22 div.vertical { 23 23 -moz-box-orient: vertical; 24 - khtml-box-orient: vertical;24 -webkit-box-orient: vertical; 25 25 box-orient: vertical; 26 26 } … … 28 28 div.horizontal { 29 29 -moz-box-orient: horizontal; 30 - khtml-box-orient: horizontal;30 -webkit-box-orient: horizontal; 31 31 box-orient: horizontal; 32 32 } -
trunk/LayoutTests/fast/repaint/flexible-box-overflow-horizontal.html
r48921 r63854 13 13 background-color: yellow; 14 14 display: -moz-box; 15 display: - khtml-box;15 display: -webkit-box; 16 16 display: box; 17 17 -moz-box-align: center; 18 - khtml-box-align: center;18 -webkit-box-align: center; 19 19 box-align: center; 20 20 } … … 22 22 div.horizontal { 23 23 -moz-box-orient: horizontal; 24 - khtml-box-orient: horizontal;24 -webkit-box-orient: horizontal; 25 25 box-orient: horizontal; 26 26 } … … 28 28 div.vertical { 29 29 -moz-box-orient: vertical; 30 - khtml-box-orient: vertical;30 -webkit-box-orient: vertical; 31 31 box-orient: vertical; 32 32 } -
trunk/LayoutTests/fast/repaint/flexible-box-overflow.html
r48921 r63854 11 11 background-color: yellow; 12 12 display: -moz-box; 13 display: - khtml-box;13 display: -webkit-box; 14 14 display: box; 15 15 -moz-box-align: center; 16 - khtml-box-align: center;16 -webkit-box-align: center; 17 17 box-align: center; 18 18 } … … 20 20 div.horizontal { 21 21 -moz-box-orient: horizontal; 22 - khtml-box-orient: horizontal;22 -webkit-box-orient: horizontal; 23 23 box-orient: horizontal; 24 24 } … … 26 26 div.vertical { 27 27 -moz-box-orient: vertical; 28 - khtml-box-orient: vertical;28 -webkit-box-orient: vertical; 29 29 box-orient: vertical; 30 30 } -
trunk/WebCore/ChangeLog
r63851 r63854 1 2010-07-21 Peter Beverloo <peter@lvp-media.com> 2 3 Reviewed by Eric Carlson. 4 5 Removed support for the -khtml CSS vendor prefix and limit the 6 -apple prefix to two properties (dashboard-region and line-clamp). 7 8 Test: fast/css/limited-vendor-prefix-behavior.html 9 10 * css/CSSParser.cpp: 11 (WebCore::cssPropertyID): 12 1 13 2010-07-21 Adam Barth <abarth@webkit.org> 2 14 -
trunk/WebCore/css/CSSParser.cpp
r63342 r63854 5611 5611 const char* name = buffer; 5612 5612 if (buffer[0] == '-') { 5613 // If the prefix is -apple- or -khtml-, change it to -webkit-.5614 // This makes the string one character longer.5615 if (hasPrefix(buffer, length, "-apple-") || hasPrefix(buffer, length, "-khtml-")) {5613 if (!strcmp(buffer, "-apple-dashboard-region") || !strcmp(buffer, "-apple-line-clamp")) { 5614 // Support two Apple-specific CSS properties previously used for 5615 // the Dashboard and Safari RSS line clamping. 5616 5616 memmove(buffer + 7, buffer + 6, length + 1 - 6); 5617 5617 memcpy(buffer, "-webkit", 7); 5618 5618 ++length; 5619 } 5620 5621 if (hasPrefix(buffer, length, "-webkit")) { 5622 if (strcmp(buffer, "-webkit-opacity") == 0) { 5623 // Honor -webkit-opacity as a synonym for opacity. 5624 // This was the only syntax that worked in Safari 1.1, and may be in use on some websites and widgets. 5625 const char* const opacity = "opacity"; 5626 name = opacity; 5627 length = strlen(opacity); 5628 } else if (hasPrefix(buffer + 7, length - 7, "-border-")) { 5629 // -webkit-border-*-*-radius worked in Safari 4 and earlier. -webkit-border-radius syntax 5630 // differs from border-radius, so it is remains as a distinct property. 5631 if (!strcmp(buffer + 15, "top-left-radius") 5632 || !strcmp(buffer + 15, "top-right-radius") 5633 || !strcmp(buffer + 15, "bottom-right-radius") 5634 || !strcmp(buffer + 15, "bottom-left-radius")) { 5635 name = buffer + 8; 5636 length -= 8; 5637 } 5619 } else if (!strcmp(buffer, "-webkit-opacity")) { 5620 // Honor -webkit-opacity as a synonym for opacity. This was the only 5621 // syntax that worked in Safari 1.1, and may be in use on some websites and widgets. 5622 const char* const opacity = "opacity"; 5623 name = opacity; 5624 length = 7; 5625 } else if (hasPrefix(buffer, length, "-webkit-border-")) { 5626 // -webkit-border-*-*-radius worked in Safari 4 and earlier. -webkit-border-radius syntax 5627 // differs from border-radius, so it remains as a distinct property. 5628 if (!strcmp(buffer + 15, "top-left-radius") 5629 || !strcmp(buffer + 15, "top-right-radius") 5630 || !strcmp(buffer + 15, "bottom-right-radius") 5631 || !strcmp(buffer + 15, "bottom-left-radius")) { 5632 name = buffer + 8; 5633 length -= 8; 5638 5634 } 5639 5635 }
Note: See TracChangeset
for help on using the changeset viewer.