Changeset 63854 in webkit


Ignore:
Timestamp:
Jul 21, 2010 1:39:15 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

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):
Location:
trunk
Files:
2 added
38 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63850 r63854  
     12010-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
    1482010-07-21  Sam Weinig  <sam@webkit.org>
    249
  • trunk/LayoutTests/fast/block/positioning/height-change.html

    r48921 r63854  
    2727</div>
    2828<br>
    29 <div style="position: relative; display: -apple-box;">
     29<div style="position: relative; display: -webkit-box;">
    3030    <div class=articlefooter></div>
    3131    <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  
    11<!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;">
    33<head>
    4         <style type="text/css">
    5             body {
    6                 background: red;
    7             }
     4    <style type="text/css">
     5        body {
     6            background: red;
     7        }
    88        div {
    99            background: green;
    1010            width: 100px;
    11                         position: absolute;
    12                         top: 0;
    13                         bottom: 0;
    14                         left: 0;
    15                         right: 0;
     11            position: absolute;
     12            top: 0;   
     13            bottom: 0;
     14            left: 0;
     15            right: 0;
    1616        }
    17         </style>
     17    </style>
    1818</head>
    1919<body>
  • trunk/LayoutTests/fast/borders/border-image-omit-right-slice.html

    r34324 r63854  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    2         "http://www.w3.org/TR/html4/strict.dtd">
     2    "http://www.w3.org/TR/html4/strict.dtd">
    33<html lang="en-US">
    44<head>
    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">
     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">
    99
    10         div {
    11                 width: 200px;
    12                 height: 200px;
    13         }
     10    div {
     11        width: 200px;
     12        height: 200px;
     13    }
    1414
    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                 -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                 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         }
     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    }
    2121
    22         body > div > div {
    23                 background: white;
    24         }
     22    body > div > div {
     23        background: white;
     24    }
    2525
    26         </style>
     26    </style>
    2727</head>
    2828<body>
  • trunk/LayoutTests/fast/css/apple-prefix.html

    r11995 r63854  
    1111.content {
    1212    overflow: hidden;
    13     display: -khtml-box;
    14     -khtml-box-orient: vertical;
     13    display: -webkit-box;
     14    -webkit-box-orient: vertical;
    1515}
    1616</style>
  • trunk/LayoutTests/fast/css/legacy-opacity-styles-expected.txt

    r30635 r63854  
    55
    66PASS 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'
    97PASS 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'
    188PASS 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'
    219PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('-webkit-opacity') is '0.8'
    2210PASS successfullyParsed is true
  • trunk/LayoutTests/fast/css/legacy-opacity-styles.html

    r25148 r63854  
    77<body>
    88<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>
    119<div id="test-webkit-opacity" style="-webkit-opacity: 0.8;"></div>
    1210<p id="description"></p>
     
    1614
    1715shouldBe("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'");
    2016shouldBe("document.getElementById('test-opacity').style.getPropertyValue('-webkit-opacity')", "'0.2'");
    2117
    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 
    3218shouldBe("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'");
    3519shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue('-webkit-opacity')", "'0.8'");
    3620
  • trunk/LayoutTests/fast/flexbox/001.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  width: 100px;
     
    1919  background-color:green;
    2020  -moz-box-flex: 1;
    21   -khtml-box-flex: 1;
     21  -webkit-box-flex: 1;
    2222  box-flex: 1;
    2323  width:10px;
  • trunk/LayoutTests/fast/flexbox/002.html

    r11995 r63854  
    77  background-color:green;
    88  display: -moz-box;
    9   display: -khtml-box;
     9  display: -webkit-box;
    1010  display: box;
    1111  -moz-box-align: center;
    12   -khtml-box-align: center;
     12  -webkit-box-align: center;
    1313  box-align: center;
    1414  -moz-box-orient: vertical;
    15   -khtml-box-orient: vertical;
     15  -webkit-box-orient: vertical;
    1616  box-orient: vertical;
    1717}
  • trunk/LayoutTests/fast/flexbox/003.html

    r11995 r63854  
    77  background-color:green;
    88  display: -moz-box;
    9   display: -khtml-box;
     9  display: -webkit-box;
    1010  display: box;
    1111  -moz-box-align: center;
    12   -khtml-box-align: center;
     12  -webkit-box-align: center;
    1313  box-align: center;
    1414  -moz-box-orient: horizontal;
    15   -khtml-box-orient: horizontal;
     15  -webkit-box-orient: horizontal;
    1616  box-orient: horizontal;
    1717}
  • trunk/LayoutTests/fast/flexbox/004.html

    r11995 r63854  
    77  background-color:red;
    88  display: -moz-box;
    9   display: -khtml-box;
     9  display: -webkit-box;
    1010  display: box;
    1111}
  • trunk/LayoutTests/fast/flexbox/005.html

    r11995 r63854  
    66  background-color:green;
    77  display: -moz-box;
    8   display: -khtml-box;
     8  display: -webkit-box;
    99  display: box;
    1010  width: 100%;
  • trunk/LayoutTests/fast/flexbox/006.html

    r11995 r63854  
    66  background-color:green;
    77  display: -moz-box;
    8   display: -khtml-box;
     8  display: -webkit-box;
    99  display: box;
    1010}
  • trunk/LayoutTests/fast/flexbox/007.html

    r11995 r63854  
    44div.box {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
  • trunk/LayoutTests/fast/flexbox/008.html

    r11995 r63854  
    44div.box {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  height: 200px;
  • trunk/LayoutTests/fast/flexbox/009.html

    r11995 r63854  
    77  background-color:green;
    88  display: -moz-box;
    9   display: -khtml-box;
     9  display: -webkit-box;
    1010  display: box;
    1111  overflow:auto;
  • trunk/LayoutTests/fast/flexbox/010.html

    r11995 r63854  
    77  background-color:red;
    88  display: -moz-box;
    9   display: -khtml-box;
     9  display: -webkit-box;
    1010  display: box;
    1111  position: relative;
  • trunk/LayoutTests/fast/flexbox/011.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
     
    1515div.flex {
    1616  -moz-box-flex: 1;
    17   -khtml-box-flex: 1;
     17  -webkit-box-flex: 1;
    1818  box-flex: 1;
    1919  border: 2px solid purple;
  • trunk/LayoutTests/fast/flexbox/012.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
     
    1313  background-color: red;
    1414  -moz-box-orient: vertical;
    15   -khtml-box-orient: vertical;
     15  -webkit-box-orient: vertical;
    1616  box-orient: vertical;
    1717  -moz-box-align: center;
    18   -khtml-box-align: center;
     18  -webkit-box-align: center;
    1919  box-align: center;
    2020  position: relative;
  • trunk/LayoutTests/fast/flexbox/013.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  width: 100px;
     
    1717  background-color:green;
    1818  -moz-box-flex: 1;
    19   -khtml-box-flex: 1;
     19  -webkit-box-flex: 1;
    2020  box-flex: 1;
    2121  width:10px;
  • trunk/LayoutTests/fast/flexbox/014.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  width: 100px;
    99  height: 100px;
    1010  -moz-box-orient: vertical;
    11   -khtml-box-orient: vertical;
     11  -webkit-box-orient: vertical;
    1212  box-orient: vertical;
    1313}
     
    2020  background-color:green;
    2121  -moz-box-flex: 1;
    22   -khtml-box-flex: 1;
     22  -webkit-box-flex: 1;
    2323  box-flex: 1;
    2424  width:100px;
  • trunk/LayoutTests/fast/flexbox/015.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
     
    1212  height: 100px;
    1313  -moz-box-flex: 1;
    14   -khtml-box-flex: 1;
     14  -webkit-box-flex: 1;
    1515  box-flex: 1;
    1616  max-width: 100px;
     
    1919div.sides {
    2020  -moz-box-flex: 1;
    21   -khtml-box-flex: 1;
     21  -webkit-box-flex: 1;
    2222  box-flex: 1;
    2323  background-color: red;
  • trunk/LayoutTests/fast/flexbox/016.html

    r11995 r63854  
    55  background-color:green;
    66  -moz-box-flex: 1;
    7   -khtml-box-flex: 1;
     7  -webkit-box-flex: 1;
    88  box-flex: 1;
    99  border: 10px solid olive;
     
    2222div.outer {
    2323  display: -moz-box;
    24   display: -khtml-box;
     24  display: -webkit-box;
    2525  display: box;
    2626  -moz-box-orient: vertical;
    27   -khtml-box-orient: vertical;
     27  -webkit-box-orient: vertical;
    2828  box-orient: vertical;
    2929  height: 100%;
  • trunk/LayoutTests/fast/flexbox/017.html

    r11995 r63854  
    44div.box {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
     
    1010div.vertical {
    1111  -moz-box-orient: vertical;
    12   -khtml-box-orient: vertical;
     12  -webkit-box-orient: vertical;
    1313  box-orient: vertical;
    1414}
     
    2222.rtl {
    2323  -moz-box-pack: end;
    24   -khtml-box-pack: end;
     24  -webkit-box-pack: end;
    2525  box-pack: end;
    2626  direction: rtl;
     
    2929.rev {
    3030  -moz-box-direction: reverse;
    31   -khtml-box-direction: reverse;
     31  -webkit-box-direction: reverse;
    3232  box-direction: reverse;
    3333}
     
    3535.first {
    3636  -moz-box-ordinal-group: 1;
    37   -khtml-box-ordinal-group: 1;
     37  -webkit-box-ordinal-group: 1;
    3838  box-ordinal-group: 1
    3939}
     
    4141.second {
    4242  -moz-box-ordinal-group: 2;
    43   -khtml-box-ordinal-group: 2;
     43  -webkit-box-ordinal-group: 2;
    4444  box-ordinal-group: 2
    4545}
     
    4747.third {
    4848  -moz-box-ordinal-group: 3;
    49   -khtml-box-ordinal-group: 3;
     49  -webkit-box-ordinal-group: 3;
    5050  box-ordinal-group: 3
    5151}
     
    5353.fourth {
    5454  -moz-box-ordinal-group: 4;
    55   -khtml-box-ordinal-group: 4;
     55  -webkit-box-ordinal-group: 4;
    5656  box-ordinal-group: 4
    5757}
     
    5959.fifth {
    6060  -moz-box-ordinal-group: 5;
    61   -khtml-box-ordinal-group: 5;
     61  -webkit-box-ordinal-group: 5;
    6262  box-ordinal-group: 5
    6363}
  • trunk/LayoutTests/fast/flexbox/018.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
     
    1010.strip {
    1111  -moz-box-orient: vertical;
    12   -khtml-box-orient: vertical;
     12  -webkit-box-orient: vertical;
    1313  box-orient: vertical;
    1414  -moz-box-pack: justify;
    15   -khtml-box-pack: justify;
     15  -webkit-box-pack: justify;
    1616  box-pack: justify;
    1717}
  • trunk/LayoutTests/fast/flexbox/019.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
     
    1010.strip {
    1111  -moz-box-pack: justify;
    12   -khtml-box-pack: justify;
     12  -webkit-box-pack: justify;
    1313  box-pack: justify;
    1414}
     
    2323  height: 350px;
    2424  -moz-box-orient: vertical;
    25   -khtml-box-orient: vertical;
     25  -webkit-box-orient: vertical;
    2626  box-orient: vertical;
    2727}
  • trunk/LayoutTests/fast/flexbox/020.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88}
     
    1010.first {
    1111  -moz-box-flex-group: 1;
    12   -khtml-box-flex-group: 1;
     12  -webkit-box-flex-group: 1;
    1313  box-flex-group: 1;
    1414  background-color: green;
    1515  -moz-box-flex: 1;
    16   -khtml-box-flex: 1;
     16  -webkit-box-flex: 1;
    1717  box-flex: 1;
    1818}
     
    2020.second {
    2121  -moz-box-flex-group: 2;
    22   -khtml-box-flex-group: 2;
     22  -webkit-box-flex-group: 2;
    2323  box-flex-group: 2;
    2424  background-color: red;
    2525  -moz-box-flex: 1;
    26   -khtml-box-flex: 1;
     26  -webkit-box-flex: 1;
    2727  box-flex: 1;
    2828}
  • trunk/LayoutTests/fast/flexbox/021.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  background-color: red;
     
    1414  visibility: collapse;
    1515  -moz-box-flex: 1;
    16   -khtml-box-flex: 1;
     16  -webkit-box-flex: 1;
    1717  box-flex: 1;
    1818  width: 50px;
     
    2323  background-color: green;
    2424  -moz-box-flex: 1;
    25   -khtml-box-flex: 1;
     25  -webkit-box-flex: 1;
    2626  box-flex: 1;
    2727  width: 50px;
  • trunk/LayoutTests/fast/flexbox/022.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  background-color: green;
     
    1313span {
    1414  -moz-box-flex: 1;
    15   -khtml-box-flex: 1;
     15  -webkit-box-flex: 1;
    1616  box-flex: 1;
    1717  height: 100px;
  • trunk/LayoutTests/fast/flexbox/023.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  width: 100px;
  • trunk/LayoutTests/fast/flexbox/024.html

    r11995 r63854  
    44div {
    55  display: -moz-box;
    6   display: -khtml-box;
     6  display: -webkit-box;
    77  display: box;
    88  width: 100px;
    99  height: 100px;
    1010  -moz-box-orient: vertical;
    11   -khtml-box-orient: vertical;
     11  -webkit-box-orient: vertical;
    1212  box-orient: vertical;
    1313}
  • 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">
    33You should see white text on a green background that fills the window.
    44</body>
  • trunk/LayoutTests/fast/flexbox/026.html

    r16184 r63854  
    22  #file {
    33    display: -moz-box;
    4     display: -khtml-box;
     4    display: -webkit-box;
    55    display: box;
    66    background-color: blue;
     
    1111  #but {
    1212    -moz-box-flex: 2;
    13     -khtml-box-flex: 2;
     13    -webkit-box-flex: 2;
    1414    box-flex: 2;
    1515    height: 100px;
     
    2121  #name {
    2222    -moz-box-flex: 3;
    23     -khtml-box-flex: 3;
     23    -webkit-box-flex: 3;
    2424    box-flex: 3;
    2525    height: 100px;
  • trunk/LayoutTests/fast/flexbox/child-flexing.html

    r58630 r63854  
    66div.box {
    77  display: -moz-box;
    8   display: -khtml-box;
     8  display: -webkit-box;
    99  display: box;
    1010}
     
    1515  background-color: red;
    1616  -moz-box-align: top;
    17   -khtml-box-align: top;
     17  -webkit-box-align: top;
    1818  position: relative;
    1919  overflow: auto;
     
    2222div.vertical {
    2323  -moz-box-orient: vertical;
    24   -khtml-box-orient: vertical;
     24  -webkit-box-orient: vertical;
    2525  box-orient: vertical;
    2626}
     
    2828div.horizontal {
    2929  -moz-box-orient: horizontal;
    30   -khtml-box-orient: horizontal;
     30  -webkit-box-orient: horizontal;
    3131  box-orient: horizontal;
    3232}
  • trunk/LayoutTests/fast/repaint/flexible-box-overflow-horizontal.html

    r48921 r63854  
    1313  background-color: yellow;
    1414  display: -moz-box;
    15   display: -khtml-box;
     15  display: -webkit-box;
    1616  display: box;
    1717  -moz-box-align: center;
    18   -khtml-box-align: center;
     18  -webkit-box-align: center;
    1919  box-align: center;
    2020}
     
    2222div.horizontal {
    2323  -moz-box-orient: horizontal;
    24   -khtml-box-orient: horizontal;
     24  -webkit-box-orient: horizontal;
    2525  box-orient: horizontal;
    2626}
     
    2828div.vertical {
    2929  -moz-box-orient: vertical;
    30   -khtml-box-orient: vertical;
     30  -webkit-box-orient: vertical;
    3131  box-orient: vertical;
    3232}
  • trunk/LayoutTests/fast/repaint/flexible-box-overflow.html

    r48921 r63854  
    1111  background-color: yellow;
    1212  display: -moz-box;
    13   display: -khtml-box;
     13  display: -webkit-box;
    1414  display: box;
    1515  -moz-box-align: center;
    16   -khtml-box-align: center;
     16  -webkit-box-align: center;
    1717  box-align: center;
    1818}
     
    2020div.horizontal {
    2121  -moz-box-orient: horizontal;
    22   -khtml-box-orient: horizontal;
     22  -webkit-box-orient: horizontal;
    2323  box-orient: horizontal;
    2424}
     
    2626div.vertical {
    2727  -moz-box-orient: vertical;
    28   -khtml-box-orient: vertical;
     28  -webkit-box-orient: vertical;
    2929  box-orient: vertical;
    3030}
  • trunk/WebCore/ChangeLog

    r63851 r63854  
     12010-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
    1132010-07-21  Adam Barth  <abarth@webkit.org>
    214
  • trunk/WebCore/css/CSSParser.cpp

    r63342 r63854  
    56115611    const char* name = buffer;
    56125612    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.
    56165616            memmove(buffer + 7, buffer + 6, length + 1 - 6);
    56175617            memcpy(buffer, "-webkit", 7);
    56185618            ++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;
    56385634            }
    56395635        }
Note: See TracChangeset for help on using the changeset viewer.