forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2010-07-21 Peter Beverloo <peter@lvp-media.com>
Reviewed by Eric Carlson. Removed support for the -khtml CSS vendor prefix and limit the -apple prefix to two properties (dashboard-region and line-clamp). Listed properties in these updated have been changed to -webkit. * fast/block/positioning/height-change.html: -apple-box * fast/block/positioning/resources/window-height-change-frame-flex.html: -apple-box * fast/borders/border-image-omit-right-slice.html: -khtml-border-image * fast/css/apple-prefix.html: -khtml-box-orient * fast/css/legacy-opacity-styles-expected.txt: -*-opacity * fast/css/legacy-opacity-styles.html: -*-opacity * fast/css/limited-vendor-prefix-behavior-expected.txt: Added. * fast/css/limited-vendor-prefix-behavior.html: Added. * fast/flexbox/001.html: -khtml-box-flex * fast/flexbox/002.html: -khtml-box, -khtml-box-align, -khtml-box-orient * fast/flexbox/003.html: -khtml-box, -khtml-box-align, -khtml-box-orient * fast/flexbox/004.html: -khtml-box * fast/flexbox/005.html: -khtml-box * fast/flexbox/006.html: -khtml-box * fast/flexbox/007.html: -khtml-box * fast/flexbox/008.html: -khtml-box * fast/flexbox/009.html: -khtml-box * fast/flexbox/010.html: -khtml-box * fast/flexbox/011.html: -khtml-box, -khtml-box-flex * fast/flexbox/012.html: -khtml-box, -khtml-box-orient, -khtml-box-align * fast/flexbox/013.html: -khtml-box, -khtml-box-flex * fast/flexbox/014.html: -khtml-box, -khtml-box-orient, -khtml-box-flex * fast/flexbox/015.html: -khtml-box, -khtml-box-flex, -khtml-box-flex * fast/flexbox/016.html: -khtml-box-flex, -khtml-box, -khtml-box-orient * fast/flexbox/017.html: -khtml-box, -khtml-box-orient, -webkit-box-pack, -khtml-box-direction * fast/flexbox/018.html: -khtml-box, -khtml-box-orient, -khtml-box-pack * fast/flexbox/019.html: -khtml-box, -khtml-box-pack, -khtml-box-orient * fast/flexbox/020.html: -khtml-box, -khtml-box-flex-group, -khtml-box-flex * fast/flexbox/021.html: -khtml-box, -khtml-box-flex * fast/flexbox/022.html: -khtml-box, -khtml-box-flex * fast/flexbox/023.html: -khtml-box * fast/flexbox/024.html: -khtml-box, -khtml-box-orient * fast/flexbox/025.html: -khtml-box, -khtml-box-flex * fast/flexbox/026.html: -khtml-box, -khtml-box-flex * fast/flexbox/child-flexing.html: -khtml-box, -khtml-box-align, -khtml-box-orient * fast/repaint/flexible-box-overflow-horizontal.html: -khtml-box, -khtml-box-align, -khtml-box-orient * fast/repaint/flexible-box-overflow.html: -khtml-box, -khtml-box-align, -khtml-box-orient 2010-07-21 Peter Beverloo <peter@lvp-media.com> Reviewed by Eric Carlson. Removed support for the -khtml CSS vendor prefix and limit the -apple prefix to two properties (dashboard-region and line-clamp). Test: fast/css/limited-vendor-prefix-behavior.html * css/CSSParser.cpp: (WebCore::cssPropertyID): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
commit-queue@webkit.org
committed
Jul 21, 2010
1 parent
65865bf
commit a659cc2
Showing
40 changed files
with
247 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
LayoutTests/fast/block/positioning/resources/window-height-change-frame-flex.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
LayoutTests/fast/borders/border-image-omit-right-slice.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
LayoutTests/fast/css/limited-vendor-prefix-behavior-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Testing updated vendor-prefix behavior (bug 42093), removal of -khtml and limitation of -apple. | ||
|
||
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | ||
|
||
|
||
PASS document.getElementById('test-no-khtml').style.getPropertyValue('-khtml-line-clamp') is null | ||
PASS document.getElementById('test-no-khtml').style.getPropertyValue('-webkit-line-clamp') is null | ||
PASS document.getElementById('test-no-khtml').style.getPropertyValue('-khtml-user-drag') is null | ||
PASS document.getElementById('test-no-khtml').style.getPropertyValue('-webkit-user-drag') is null | ||
PASS document.getElementById('test-no-khtml').style.khtmlLineClamp is undefined | ||
PASS document.getElementById('test-no-khtml').style.khtmlUserDrag is undefined | ||
PASS document.getElementById('test-no-khtml').style.lineClamp is undefined | ||
PASS document.getElementById('test-no-khtml').style.userDrag is undefined | ||
PASS document.getElementById('test-limited-apple').style.getPropertyValue('-apple-line-clamp') is '10%' | ||
PASS document.getElementById('test-limited-apple').style.getPropertyValue('-webkit-line-clamp') is '10%' | ||
PASS document.getElementById('test-limited-apple').style.getPropertyValue('-apple-user-drag') is null | ||
PASS document.getElementById('test-limited-apple').style.getPropertyValue('-webkit-user-drag') is null | ||
PASS document.getElementById('test-limited-apple').style.appleLineClamp is '10%' | ||
PASS document.getElementById('test-limited-apple').style.appleUserDrag is undefined | ||
PASS successfullyParsed is true | ||
|
||
TEST COMPLETE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | ||
<html> | ||
<head> | ||
<style type="text/css"></style> | ||
<link rel="stylesheet" href="../js/resources/js-test-style.css"> | ||
<script src="../js/resources/js-test-pre.js"></script> | ||
</head> | ||
<body> | ||
<p id="description"></p> | ||
<div id="test-no-khtml" style="-khtml-line-clamp: 10%; -khtml-user-drag: none"></div> | ||
<div id="test-limited-apple" style="-apple-line-clamp: 10%; -apple-user-drag: none;"></div> | ||
<div id="console"></div> | ||
<script> | ||
description("Testing updated vendor-prefix behavior (bug 42093), removal of -khtml and limitation of -apple."); | ||
|
||
shouldBe("document.getElementById('test-no-khtml').style.getPropertyValue('-khtml-line-clamp')", "null"); | ||
shouldBe("document.getElementById('test-no-khtml').style.getPropertyValue('-webkit-line-clamp')", "null"); | ||
shouldBe("document.getElementById('test-no-khtml').style.getPropertyValue('-khtml-user-drag')", "null"); | ||
shouldBe("document.getElementById('test-no-khtml').style.getPropertyValue('-webkit-user-drag')", "null"); | ||
|
||
shouldBe("document.getElementById('test-no-khtml').style.khtmlLineClamp", "undefined"); | ||
shouldBe("document.getElementById('test-no-khtml').style.khtmlUserDrag", "undefined"); | ||
shouldBe("document.getElementById('test-no-khtml').style.lineClamp", "undefined"); | ||
shouldBe("document.getElementById('test-no-khtml').style.userDrag", "undefined"); | ||
|
||
shouldBe("document.getElementById('test-limited-apple').style.getPropertyValue('-apple-line-clamp')", "'10%'"); | ||
shouldBe("document.getElementById('test-limited-apple').style.getPropertyValue('-webkit-line-clamp')", "'10%'"); | ||
shouldBe("document.getElementById('test-limited-apple').style.getPropertyValue('-apple-user-drag')", "null"); | ||
shouldBe("document.getElementById('test-limited-apple').style.getPropertyValue('-webkit-user-drag')", "null"); | ||
|
||
shouldBe("document.getElementById('test-limited-apple').style.appleLineClamp", "'10%'"); | ||
shouldBe("document.getElementById('test-limited-apple').style.appleUserDrag", "undefined"); | ||
|
||
var successfullyParsed = true; | ||
</script> | ||
<script src="../js/resources/js-test-post.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<style> | ||
div.box { | ||
display: -moz-box; | ||
display: -khtml-box; | ||
display: -webkit-box; | ||
display: box; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.