OLD | NEW |
1 # Copyright (C) 2011 Google Inc. All rights reserved. | 1 # Copyright (C) 2011 Google Inc. All rights reserved. |
2 # | 2 # |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
11 # in the documentation and/or other materials provided with the | 11 # in the documentation and/or other materials provided with the |
12 # distribution. | 12 # distribution. |
13 # * Neither the name of Google Inc. nor the names of its | 13 # * Neither the name of Google Inc. nor the names of its |
14 # contributors may be used to endorse or promote products derived from | 14 # contributors may be used to endorse or promote products derived from |
15 # this software without specific prior written permission. | 15 # this software without specific prior written permission. |
16 # | 16 # |
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | 17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
19 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | 19 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | 20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
21 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 21 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | 28 |
29 # FIXME: Store this as a .patch file in some new fixtures directory or similar. | 29 # FIXME: Store this as a .patch file in some new fixtures directory or similar. |
30 DIFF_TEST_DATA = '''diff --git a/WebCore/layout/style/StyleFlexibleBoxData.h b/W
ebCore/layout/style/StyleFlexibleBoxData.h | 30 DIFF_TEST_DATA = '''diff --git a/WebCore/style/StyleFlexibleBoxData.h b/WebCore/
style/StyleFlexibleBoxData.h |
31 index f5d5e74..3b6aa92 100644 | 31 index f5d5e74..3b6aa92 100644 |
32 --- a/WebCore/layout/style/StyleFlexibleBoxData.h | 32 --- a/WebCore/style/StyleFlexibleBoxData.h |
33 +++ b/WebCore/layout/style/StyleFlexibleBoxData.h | 33 +++ b/WebCore/style/StyleFlexibleBoxData.h |
34 @@ -47,7 +47,6 @@ public: | 34 @@ -47,7 +47,6 @@ public: |
35 | 35 |
36 unsigned align : 3; // EBoxAlignment | 36 unsigned align : 3; // EBoxAlignment |
37 unsigned pack: 3; // EBoxAlignment | 37 unsigned pack: 3; // EBoxAlignment |
38 - unsigned orient: 1; // EBoxOrient | 38 - unsigned orient: 1; // EBoxOrient |
39 unsigned lines : 1; // EBoxLines | 39 unsigned lines : 1; // EBoxLines |
40 | 40 |
41 private: | 41 private: |
42 diff --git a/WebCore/layout/style/StyleRareInheritedData.cpp b/WebCore/layout/st
yle/StyleRareInheritedData.cpp | 42 diff --git a/WebCore/style/StyleRareInheritedData.cpp b/WebCore/style/StyleRareI
nheritedData.cpp |
43 index ce21720..324929e 100644 | 43 index ce21720..324929e 100644 |
44 --- a/WebCore/layout/style/StyleRareInheritedData.cpp | 44 --- a/WebCore/style/StyleRareInheritedData.cpp |
45 +++ b/WebCore/layout/style/StyleRareInheritedData.cpp | 45 +++ b/WebCore/style/StyleRareInheritedData.cpp |
46 @@ -39,6 +39,7 @@ StyleRareInheritedData::StyleRareInheritedData() | 46 @@ -39,6 +39,7 @@ StyleRareInheritedData::StyleRareInheritedData() |
47 , textSizeAdjust(ComputedStyle::initialTextSizeAdjust()) | 47 , textSizeAdjust(ComputedStyle::initialTextSizeAdjust()) |
48 , resize(ComputedStyle::initialResize()) | 48 , resize(ComputedStyle::initialResize()) |
49 , userSelect(ComputedStyle::initialUserSelect()) | 49 , userSelect(ComputedStyle::initialUserSelect()) |
50 + , boxOrient(ComputedStyle::initialBoxOrient()) | 50 + , boxOrient(ComputedStyle::initialBoxOrient()) |
51 { | 51 { |
52 } | 52 } |
53 | 53 |
54 @@ -58,6 +59,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRare
InheritedData& o) | 54 @@ -58,6 +59,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRare
InheritedData& o) |
55 , textSizeAdjust(o.textSizeAdjust) | 55 , textSizeAdjust(o.textSizeAdjust) |
(...skipping 15 matching lines...) Expand all Loading... |
71 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData&
o) const | 71 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData&
o) const |
72 diff --git a/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.ch
ecksum b/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checks
um | 72 diff --git a/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.ch
ecksum b/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checks
um |
73 new file mode 100644 | 73 new file mode 100644 |
74 index 0000000..6db26bd | 74 index 0000000..6db26bd |
75 --- /dev/null | 75 --- /dev/null |
76 +++ b/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checksum | 76 +++ b/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checksum |
77 @@ -0,0 +1 @@ | 77 @@ -0,0 +1 @@ |
78 +61a373ee739673a9dcd7bac62b9f182e | 78 +61a373ee739673a9dcd7bac62b9f182e |
79 \ No newline at end of file | 79 \ No newline at end of file |
80 ''' | 80 ''' |
OLD | NEW |