Changeset 173056 in webkit
- Timestamp:
- Aug 28, 2014 12:33:55 AM (10 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 8 added
- 7 deleted
- 3 edited
- 53 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r173055 r173056 1 2014-08-28 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSS Regions] Move positioning tests into fast/regions/positioning 4 https://bugs.webkit.org/show_bug.cgi?id=136302 5 6 Reviewed by Andrei Bucur. 7 8 Moved tests, clean up tests, adjust TestExpectations files where needed. 9 10 * fast/regions/positioned-objects-block-static-in-regions-expected.html: Removed. 11 * fast/regions/positioned-objects-block-static-in-regions.html: Removed. 12 * fast/regions/positioned-objects-block-static-in-rtl-regions-expected.html: Removed. 13 * fast/regions/positioned-objects-block-static-in-rtl-regions.html: Removed. 14 * fast/regions/positioned-objects-clipped-spanning-regions-expected.html: Removed. 15 * fast/regions/positioned-objects-in-regions.html: Removed. 16 * fast/regions/positioned-objects-inline-static-spanning-regions-expected.html: Removed. 17 * fast/regions/positioning/fixed-element-transformed-parent-expected.txt: Renamed from LayoutTests/fast/regions/fixed-element-transformed-parent-expected.txt. 18 * fast/regions/positioning/fixed-element-transformed-parent.html: Renamed from LayoutTests/fast/regions/fixed-element-transformed-parent.html. 19 * fast/regions/positioning/fixed-in-named-flow-position-changed-expected.html: Renamed from LayoutTests/fast/regions/fixed-in-named-flow-position-changed-expected.html. 20 * fast/regions/positioning/fixed-in-named-flow-position-changed.html: Renamed from LayoutTests/fast/regions/fixed-in-named-flow-position-changed.html. 21 * fast/regions/positioning/fixed-inside-fixed-in-named-flow-expected.html: Renamed from LayoutTests/fast/regions/fixed-inside-fixed-in-named-flow-expected.html. 22 * fast/regions/positioning/fixed-inside-fixed-in-named-flow.html: Renamed from LayoutTests/fast/regions/fixed-inside-fixed-in-named-flow.html. 23 * fast/regions/positioning/fixed-inside-named-flow-zIndex-expected.html: Renamed from LayoutTests/fast/regions/fixed-inside-named-flow-zIndex-expected.html. 24 * fast/regions/positioning/fixed-inside-named-flow-zIndex.html: Renamed from LayoutTests/fast/regions/fixed-inside-named-flow-zIndex.html. 25 * fast/regions/positioning/fixed-pos-content-fragmented-expected.html: Renamed from LayoutTests/fast/regions/fixed-pos-content-fragmented-expected.html. 26 * fast/regions/positioning/fixed-pos-content-fragmented.html: Renamed from LayoutTests/fast/regions/fixed-pos-content-fragmented.html. 27 * fast/regions/positioning/fixed-pos-elem-in-named-flow-expected.txt: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-named-flow-expected.txt. 28 * fast/regions/positioning/fixed-pos-elem-in-named-flow.html: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-named-flow.html. 29 * fast/regions/positioning/fixed-pos-elem-in-named-flow2-expected.txt: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-named-flow2-expected.txt. 30 * fast/regions/positioning/fixed-pos-elem-in-named-flow2.html: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-named-flow2.html. 31 * fast/regions/positioning/fixed-pos-elem-in-namedflow-noregions-expected.html: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-namedflow-noregions-expected.html. 32 * fast/regions/positioning/fixed-pos-elem-in-namedflow-noregions.html: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-namedflow-noregions.html. 33 * fast/regions/positioning/fixed-pos-elem-in-region-expected.html: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-region-expected.html. 34 * fast/regions/positioning/fixed-pos-elem-in-region.html: Renamed from LayoutTests/fast/regions/fixed-pos-elem-in-region.html. 35 * fast/regions/positioning/fixed-pos-region-in-nested-flow-expected.html: Renamed from LayoutTests/fast/regions/fixed-pos-region-in-nested-flow-expected.html. 36 * fast/regions/positioning/fixed-pos-region-in-nested-flow.html: Renamed from LayoutTests/fast/regions/fixed-pos-region-in-nested-flow.html. 37 * fast/regions/positioning/fixed-pos-region-overflow-content-expected.html: Renamed from LayoutTests/fast/regions/fixed-pos-region-overflow-content-expected.html. 38 * fast/regions/positioning/fixed-pos-region-overflow-content.html: Renamed from LayoutTests/fast/regions/fixed-pos-region-overflow-content.html. 39 * fast/regions/positioning/positioned-fragmented-content-expected.html: Renamed from LayoutTests/fast/regions/positioned-fragmented-content-expected.html. 40 * fast/regions/positioning/positioned-fragmented-content.html: Renamed from LayoutTests/fast/regions/positioned-fragmented-content.html. 41 * fast/regions/positioning/positioned-object-inline-cb-crash-expected.txt: Renamed from LayoutTests/fast/regions/positioned-object-inline-cb-crash-expected.txt. 42 * fast/regions/positioning/positioned-object-inline-cb-crash.html: Renamed from LayoutTests/fast/regions/positioned-object-inline-cb-crash.html. 43 * fast/regions/positioning/positioned-objects-block-static-in-regions-expected.html: Added. 44 * fast/regions/positioning/positioned-objects-block-static-in-regions.html: Added. 45 * fast/regions/positioning/positioned-objects-block-static-in-rtl-regions-expected.html: Added. 46 * fast/regions/positioning/positioned-objects-block-static-in-rtl-regions.html: Added. 47 * fast/regions/positioning/positioned-objects-block-static-spanning-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-block-static-spanning-regions-expected.html. 48 * fast/regions/positioning/positioned-objects-block-static-spanning-regions-rtl-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-block-static-spanning-regions-rtl-expected.html. 49 * fast/regions/positioning/positioned-objects-block-static-spanning-regions-rtl.html: Renamed from LayoutTests/fast/regions/positioned-objects-block-static-spanning-regions-rtl.html. 50 * fast/regions/positioning/positioned-objects-block-static-spanning-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-block-static-spanning-regions.html. 51 * fast/regions/positioning/positioned-objects-clipped-spanning-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-in-regions-expected.html. 52 * fast/regions/positioning/positioned-objects-clipped-spanning-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-clipped-spanning-regions.html. 53 * fast/regions/positioning/positioned-objects-in-regions-expected.html: Added. 54 * fast/regions/positioning/positioned-objects-in-regions.html: Added. 55 * fast/regions/positioning/positioned-objects-in-rtl-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-in-rtl-regions-expected.html. 56 * fast/regions/positioning/positioned-objects-in-rtl-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-in-rtl-regions.html. 57 * fast/regions/positioning/positioned-objects-inline-static-in-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-inline-static-in-regions-expected.html. 58 * fast/regions/positioning/positioned-objects-inline-static-in-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-inline-static-in-regions.html. 59 * fast/regions/positioning/positioned-objects-inline-static-in-rtl-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.html. 60 * fast/regions/positioning/positioned-objects-inline-static-in-rtl-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-inline-static-in-rtl-regions.html. 61 * fast/regions/positioning/positioned-objects-inline-static-spanning-regions-expected.html: Added. 62 * fast/regions/positioning/positioned-objects-inline-static-spanning-regions-rtl-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-inline-static-spanning-regions-rtl-expected.html. 63 * fast/regions/positioning/positioned-objects-inline-static-spanning-regions-rtl.html: Renamed from LayoutTests/fast/regions/positioned-objects-inline-static-spanning-regions-rtl.html. 64 * fast/regions/positioning/positioned-objects-inline-static-spanning-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-inline-static-spanning-regions.html. 65 * fast/regions/positioning/positioned-objects-perpendicular-flows-in-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.html. 66 * fast/regions/positioning/positioned-objects-perpendicular-flows-in-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-perpendicular-flows-in-regions.html. 67 * fast/regions/positioning/positioned-objects-spanning-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-objects-spanning-regions-expected.html. 68 * fast/regions/positioning/positioned-objects-spanning-regions.html: Renamed from LayoutTests/fast/regions/positioned-objects-spanning-regions.html. 69 * fast/regions/positioning/positioned-slider-in-regions-expected.html: Renamed from LayoutTests/fast/regions/positioned-slider-in-regions-expected.html. 70 * fast/regions/positioning/positioned-slider-in-regions.html: Renamed from LayoutTests/fast/regions/positioned-slider-in-regions.html. 71 * fast/regions/positioning/positioned-vrl-in-named-flow-expected.txt: Renamed from LayoutTests/fast/regions/positioned-vrl-in-named-flow-expected.txt. 72 * fast/regions/positioning/positioned-vrl-in-named-flow.html: Renamed from LayoutTests/fast/regions/positioned-vrl-in-named-flow.html. 73 * fast/regions/positioning/positioned-vrl-in-parent-named-flow-expected.txt: Renamed from LayoutTests/fast/regions/positioned-vrl-in-parent-named-flow-expected.txt. 74 * fast/regions/positioning/positioned-vrl-in-parent-named-flow.html: Renamed from LayoutTests/fast/regions/positioned-vrl-in-parent-named-flow.html. 75 * fast/regions/positioning/positioned-with-vrl-parent-in-named-flow-expected.txt: Renamed from LayoutTests/fast/regions/positioned-with-vrl-parent-in-named-flow-expected.txt. 76 * fast/regions/positioning/positioned-with-vrl-parent-in-named-flow.html: Renamed from LayoutTests/fast/regions/positioned-with-vrl-parent-in-named-flow.html. 77 * platform/mac-wk2/TestExpectations: 78 * platform/win/TestExpectations: 79 1 80 2014-08-27 Mihnea Ovidenie <mihnea@adobe.com> 2 81 -
trunk/LayoutTests/fast/regions/positioning/fixed-pos-content-fragmented-expected.html
r173055 r173056 31 31 </body> 32 32 </html> 33 -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-block-static-spanning-regions-expected.html
r173055 r173056 2 2 <html> 3 3 <head> 4 <style>5 .grey-box1 {6 margin-left:10%;7 margin-right:10%;8 margin-top:15%;9 height:120px;10 }4 <style> 5 .grey-box1 { 6 margin-left: 10%; 7 margin-right: 10%; 8 margin-top: 15%; 9 height: 120px; 10 } 11 11 12 .grey-box2 {13 margin-left:10%;14 margin-right:10%;15 height:100%;16 }12 .grey-box2 { 13 margin-left: 10%; 14 margin-right: 10%; 15 height: 100%; 16 } 17 17 18 .grey-box3 {19 margin-left:10%;20 margin-right:10%;21 height:50px;22 }18 .grey-box3 { 19 margin-left: 10%; 20 margin-right: 10%; 21 height: 50px; 22 } 23 23 24 .green-box {25 position:absolute;26 top:0;27 width:50%;28 height:100%;29 background-color:#00a000;30 color:#ffff00;31 font: 16px/1.25 monospace;32 }24 .green-box { 25 position: absolute; 26 top: 0; 27 width: 50%; 28 height: 100%; 29 background-color: #00a000; 30 color: #ffff00; 31 font: 16px/1.25 monospace; 32 } 33 33 34 .greyColor {35 background-color:#cccccc;36 }34 .greyColor { 35 background-color: #cccccc; 36 } 37 37 38 #region1, #region2, #region3 {39 border:1px solid black;40 }38 #region1, #region2, #region3 { 39 border: 1px solid black; 40 } 41 41 42 #region1 {43 position:relative;44 width:200px;45 height:150px;46 }42 #region1 { 43 position: relative; 44 width: 200px; 45 height: 150px; 46 } 47 47 48 #region2 {49 position:relative;50 width:300px;51 height:180px;52 }48 #region2 { 49 position: relative; 50 width: 300px; 51 height: 180px; 52 } 53 53 54 #region3 {55 position:relative;56 width:120px;57 height:120px;58 }59 </style>54 #region3 { 55 position: relative; 56 width: 120px; 57 height: 120px; 58 } 59 </style> 60 60 </head> 61 61 <body> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-block-static-spanning-regions-rtl-expected.html
r173055 r173056 4 4 <style> 5 5 .grey-box1 { 6 margin-left: 10%;7 margin-right: 10%;8 margin-top: 15%;9 height: 120px;6 margin-left: 10%; 7 margin-right: 10%; 8 margin-top: 15%; 9 height: 120px; 10 10 } 11 11 12 12 .grey-box2 { 13 margin-left: 10%;14 margin-right: 10%;15 height: 100%;13 margin-left: 10%; 14 margin-right: 10%; 15 height: 100%; 16 16 } 17 17 18 18 .grey-box3 { 19 margin-left: 10%;20 margin-right: 10%;21 height: 50px;19 margin-left: 10%; 20 margin-right: 10%; 21 height: 50px; 22 22 } 23 23 24 24 .green-box { 25 position: absolute;26 top: 0;27 width: 50%;28 text-align: right;29 height: 100%;30 background-color: #00a000;31 color: #ffff00;25 position: absolute; 26 top: 0; 27 width: 50%; 28 text-align: right; 29 height: 100%; 30 background-color: #00a000; 31 color: #ffff00; 32 32 font: 16px/1.25 monospace; 33 33 } 34 34 35 35 .greyColor { 36 background-color: #cccccc;36 background-color: #cccccc; 37 37 } 38 38 … … 42 42 43 43 #region1 { 44 position: relative;45 width: 200px;46 height: 150px;44 position: relative; 45 width: 200px; 46 height: 150px; 47 47 } 48 48 49 49 #region2 { 50 position: relative;51 width: 300px;52 height: 180px;50 position: relative; 51 width: 300px; 52 height: 180px; 53 53 } 54 54 55 55 #region3 { 56 position: relative;57 width: 120px;58 height: 120px;56 position: relative; 57 width: 120px; 58 height: 120px; 59 59 } 60 60 </style> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-block-static-spanning-regions-rtl.html
r173055 r173056 8 8 9 9 #first-box { 10 margin: 11 height: 350px;12 background-color: #cccccc;10 margin: 10%; 11 height: 350px; 12 background-color: #cccccc; 13 13 } 14 14 -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-clipped-spanning-regions-expected.html
r173055 r173056 1 1 <!doctype html> 2 2 <html style="direction:rtl"> 3 <head> 3 4 <style> 4 # first-box {5 height:100%;6 width:50%;5 #green-box { 6 width:50%; 7 height:100%; 7 8 background-color:green; 8 9 } 9 10 10 11 #region1, #region2, #region3 { 11 12 border: 1px solid black; … … 16 17 height: 150px; 17 18 } 18 19 19 20 #region2 { 20 21 width: 300px; 21 22 height: 180px; 22 23 } 23 24 24 25 #region3 { 25 26 width: 120px; … … 27 28 } 28 29 </style> 29 30 </head> 30 31 <body> 31 <p>The green positioned object should only be as tall as the first region it 32 is contained in. It should fill the left half of the first region.</p> 33 34 32 <p style="direction:ltr">The green positioned object should span all the regions. It should fill the right half of every region. Its red borders should be clipped.</p> 35 33 36 34 <div id="region1"> 37 <div id="first-box"> 38 </div> 35 <div id="green-box"></div> 39 36 </div> 40 37 <div id="region2"> 38 <div id="green-box"></div> 41 39 </div> 42 40 <div id="region3"> 41 <div id="green-box"></div> 43 42 </div> 44 43 </body> 44 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-clipped-spanning-regions.html
r173055 r173056 1 1 <!doctype html> 2 3 2 <html style="direction:rtl"> 4 3 <head> … … 9 8 padding: 5px; 10 9 } 11 10 12 11 #first-box { 13 margin: 10%12 margin: 10%; 14 13 } 15 14 16 15 #second-box { 17 16 position:absolute; … … 22 21 background-color:green; 23 22 border-left:10px solid red; 24 clip:rect(0 300px 450px 10px) 23 clip:rect(0 300px 450px 10px); 25 24 } 26 25 27 26 #region1, #region2, #region3 { 28 27 border: 1px solid black; … … 34 33 height: 150px; 35 34 } 36 35 37 36 #region2 { 38 37 width: 300px; 39 38 height: 180px; 40 39 } 41 40 42 41 #region3 { 43 42 width: 120px; … … 47 46 </head> 48 47 <body> 49 <p style="direction:ltr">The green positioned object should span all the regions. It should fill the right half of every region. Its red borders should be clipped.</p>48 <p style="direction:ltr">The green positioned object should span all the regions. It should fill the right half of every region. Its red borders should be clipped.</p> 50 49 51 <div id="content"> 52 <div id="first-box"> 53 <div id="second-box"> 54 50 <div id="content"> 51 <div id="first-box"> 52 <div id="second-box"> 53 54 </div> 55 55 </div> 56 56 </div> 57 </div>58 57 59 <div id="container"> 60 <div id="region1"></div> 61 <div id="region2"></div> 62 <div id="region3"></div> 63 </div> 58 <div id="container"> 59 <div id="region1"></div> 60 <div id="region2"></div> 61 <div id="region3"></div> 62 </div> 63 </body> 64 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-in-rtl-regions-expected.html
r173055 r173056 4 4 <style> 5 5 #content { 6 7 6 text-align: justify; 8 7 padding: 5px; 9 8 } 10 9 11 10 #green-box { 12 11 background-color: green; 13 12 width: 50%; 14 13 height: 100%; 15 } 16 17 14 } 15 18 16 #region1, #region2, #region3 { 19 border: 1px solid black; 20 17 border: 1px solid black; 21 18 } 22 19 … … 25 22 height: 150px; 26 23 } 27 24 28 25 #region2 { 29 26 width: 300px; 30 27 height: 180px; 31 28 } 32 29 33 30 #region3 { 34 31 width: 120px; … … 38 35 </head> 39 36 <body> 40 <p style="direction:ltr">The green positioned object should only be as tall as the first region it 41 is contained in. It should fill the right half of the first region.</p> 42 43 44 45 37 <p style="direction:ltr">The green positioned object should only be as tall as the first region it is contained in. It should fill the right half of the first region.</p> 46 38 47 39 <div id="region1"> … … 50 42 <div id="region2"></div> 51 43 <div id="region3"></div> 52 44 </body> 45 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-in-rtl-regions.html
r173055 r173056 2 2 <html style="direction:rtl"> 3 3 <head> 4 4 <style> 5 5 #content { 6 6 -webkit-flow-into: flow1; … … 8 8 padding: 5px; 9 9 } 10 10 11 11 #first-box { 12 margin:10% 12 margin:10%; 13 13 } 14 14 15 15 #second-box { 16 16 position:absolute; … … 19 19 bottom:0; 20 20 width:100px; 21 background-color:green 21 background-color:green; 22 22 } 23 23 24 24 #region1, #region2, #region3 { 25 25 border: 1px solid black; … … 31 31 height: 150px; 32 32 } 33 33 34 34 #region2 { 35 35 width: 300px; 36 36 height: 180px; 37 37 } 38 38 39 39 #region3 { 40 40 width: 120px; … … 49 49 <div id="content"> 50 50 <div id="first-box"> 51 <div id="second-box"> 52 51 <div id="second-box"> 53 52 </div> 54 53 </div> … … 60 59 <div id="region3"></div> 61 60 </div> 61 </body> 62 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-inline-static-in-regions-expected.html
r173055 r173056 1 1 <!doctype html> 2 3 <style> 2 <html> 3 <head> 4 <style> 4 5 #first-box { 5 6 height: 100%; … … 9 10 } 10 11 11 12 12 #region1, #region2, #region3 { 13 13 border: 1px solid black; … … 17 17 width: 200px; 18 18 height: 150px; 19 20 19 } 21 20 22 21 #region2 { 23 22 width: 300px; 24 23 height: 180px; 25 24 } 26 25 27 26 #region3 { 28 27 width: 120px; … … 30 29 } 31 30 </style> 32 31 </head> 33 32 <body> 34 <p>The green positioned object should only be as tall as the first region it 35 is contained in. It should fill the right half of the first region, and no red 36 should be visible.</p> 37 38 39 33 <p>The green positioned object should only be as tall as the first region it 34 is contained in. It should fill the right half of the first region, and no red 35 should be visible.</p> 40 36 41 37 <div id="region1"> … … 45 41 <div id="region2"></div> 46 42 <div id="region3"></div> 47 43 </body> 44 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-inline-static-in-regions.html
r173055 r173056 1 1 <!doctype html> 2 3 <style> 2 <html> 3 <head> 4 <style> 4 5 #content { 5 6 -webkit-flow-into: flow1; 6 7 } 7 8 8 9 #first-box { 9 10 margin:10%; 10 11 text-align:center; 11 12 } 12 13 13 14 #second-box { 14 15 position:absolute; … … 18 19 background-color:green 19 20 } 20 21 21 22 #region1, #region2, #region3 { 22 23 border: 1px solid black; … … 28 29 height: 150px; 29 30 } 30 31 31 32 #region2 { 32 33 width: 300px; 33 34 height: 180px; 34 35 } 35 36 36 37 #region3 { 37 38 width: 120px; … … 39 40 } 40 41 </style> 42 </head> 43 <body> 44 <p>The green positioned object should only be as tall as the first region it 45 is contained in. It should fill the right half of the first region, and no red 46 should be visible.</p> 41 47 42 <body> 43 <p>The green positioned object should only be as tall as the first region it 44 is contained in. It should fill the right half of the first region, and no red 45 should be visible.</p> 48 <div id="content"> 49 <div id="first-box"> 50 <span id="second-box"> 51 </span> 52 </div> 53 </div> 46 54 47 <div id="content">48 <div id="first-box">49 < span id="second-box">50 < /span>55 <div id="container"> 56 <div id="region1"></div> 57 <div id="region2"></div> 58 <div id="region3"></div> 51 59 </div> 52 </div> 53 54 <div id="container"> 55 <div id="region1"></div> 56 <div id="region2"></div> 57 <div id="region3"></div> 58 </div> 60 </body> 61 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-inline-static-in-rtl-regions-expected.html
r173055 r173056 4 4 <style> 5 5 #green-box { 6 7 6 text-align:center; 8 7 background-color:green; … … 11 10 width:50%; 12 11 } 13 14 12 15 16 13 #region1, #region2, #region3 { 17 border: 1px solid black; 18 14 border: 1px solid black; 19 15 } 20 16 … … 23 19 height: 150px; 24 20 } 25 21 26 22 #region2 { 27 23 width: 300px; 28 24 height: 180px; 29 25 } 30 26 31 27 #region3 { 32 28 width: 120px; … … 36 32 </head> 37 33 <body> 38 <p style="direction:ltr">The green positioned object should only be as tall as the first region it39 is contained in. It should fill the left half of the first region.</p>34 <p style="direction:ltr">The green positioned object should only be as tall as the first region it 35 is contained in. It should fill the left half of the first region.</p> 40 36 41 42 43 44 45 <div id="region1"> 46 <div id="green-box"></div> 47 </div> 48 <div id="region2"></div> 49 <div id="region3"></div> 50 37 <div id="region1"> 38 <div id="green-box"></div> 39 </div> 40 <div id="region2"></div> 41 <div id="region3"></div> 42 </body> 43 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-inline-static-in-rtl-regions.html
r173055 r173056 6 6 -webkit-flow-into: flow1; 7 7 } 8 8 9 9 #first-box { 10 10 margin:10%; 11 11 text-align:center; 12 12 } 13 13 14 14 #second-box { 15 15 position:absolute; … … 19 19 background-color:green; 20 20 } 21 21 22 22 #region1, #region2, #region3 { 23 23 border: 1px solid black; … … 29 29 height: 150px; 30 30 } 31 31 32 32 #region2 { 33 33 width: 300px; 34 34 height: 180px; 35 35 } 36 36 37 37 #region3 { 38 38 width: 120px; … … 42 42 </head> 43 43 <body> 44 <p style="direction:ltr">The green positioned object should only be as tall as the first region it45 is contained in. It should fill the left half of the first region.</p>44 <p style="direction:ltr">The green positioned object should only be as tall as the first region it 45 is contained in. It should fill the left half of the first region.</p> 46 46 47 <div id="content"> 48 <div id="first-box"> 49 <span id="second-box"> 50 </span> 47 <div id="content"> 48 <div id="first-box"> 49 <span id="second-box"> 50 </span> 51 </div> 51 52 </div> 52 53 </div> 53 </div>54 54 55 <div id="container"> 56 <div id="region1"></div> 57 <div id="region2"></div> 58 <div id="region3"></div> 59 </div> 55 <div id="container"> 56 <div id="region1"></div> 57 <div id="region2"></div> 58 <div id="region3"></div> 59 </div> 60 </body> 61 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-inline-static-spanning-regions-rtl-expected.html
r173055 r173056 2 2 <html style="direction:rtl"> 3 3 <head> 4 <style> 5 4 <style> 6 5 #region1, #region2, #region3 { 7 6 border: 1px solid black; … … 12 11 height: 150px; 13 12 } 14 13 15 14 #region2 { 16 15 width: 300px; 17 16 height: 180px; 18 17 } 19 18 20 19 #region3 { 21 20 width: 120px; 22 21 height: 120px; 23 22 } 23 24 24 #gray-box1 { 25 25 height: 120px; … … 30 30 margin-top: 30px; 31 31 } 32 32 33 #gray-box2 { 33 34 height: 180px; … … 37 38 margin-left: 30px; 38 39 } 40 39 41 #gray-box3 { 40 42 height: 50px; … … 44 46 margin-left: 12px; 45 47 } 48 46 49 #green-box1 { 47 50 height:150px; … … 50 53 margin-right: 20px; 51 54 } 55 52 56 #green-box2 { 53 57 height:180px; … … 56 60 margin-right: 30px; 57 61 } 62 58 63 #green-box3 { 59 64 height:120px; … … 82 87 83 88 </body> 89 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-inline-static-spanning-regions-rtl.html
r173055 r173056 2 2 <html style="direction:rtl"> 3 3 <head> 4 4 <style> 5 5 #content { 6 6 -webkit-flow-into: flow1; 7 7 } 8 8 9 9 #first-box { 10 10 margin: 10%; … … 12 12 background-color:#cccccc; 13 13 } 14 14 15 15 #second-box { 16 16 position:absolute; … … 21 21 color:#00a000 22 22 } 23 23 24 24 #region1, #region2, #region3 { 25 25 border: 1px solid black; … … 31 31 height: 150px; 32 32 } 33 33 34 34 #region2 { 35 35 width: 300px; 36 36 height: 180px; 37 37 } 38 38 39 39 #region3 { 40 40 width: 120px; … … 45 45 46 46 <body> 47 <p style="direction:ltr">The green positioned object should go through all three regions. Its right edge should have the 48 same offset from the right side of the light grey boxes in each region.</p> 47 <p style="direction:ltr">The green positioned object should go through all three regions. Its right edge should have the same offset from the right side of the light grey boxes in each region.</p> 49 48 50 <div id="content"> 51 <div id="first-box"> 52 <span id="second-box"> 53 </span> 49 <div id="content"> 50 <div id="first-box"> 51 <span id="second-box"> 52 </span> 53 </div> 54 54 </div> 55 </div>56 55 57 <div id="container"> 58 <div id="region1"></div> 59 <div id="region2"></div> 60 <div id="region3"></div> 61 </div> 56 <div id="container"> 57 <div id="region1"></div> 58 <div id="region2"></div> 59 <div id="region3"></div> 60 </div> 61 </body> 62 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-inline-static-spanning-regions.html
r173055 r173056 1 1 <!doctype html> 2 3 <style> 2 <html> 3 <head> 4 <style> 4 5 #content { 5 6 -webkit-flow-into: flow1; 6 7 } 7 8 8 9 #first-box { 9 10 margin:10%; … … 11 12 background-color:#cccccc; 12 13 } 13 14 14 15 #second-box { 15 16 position:absolute; … … 20 21 color:#00a000 21 22 } 22 23 23 24 #region1, #region2, #region3 { 24 25 border: 1px solid black; … … 30 31 height: 150px; 31 32 } 32 33 33 34 #region2 { 34 35 width: 300px; 35 36 height: 180px; 36 37 } 37 38 38 39 #region3 { 39 40 width: 120px; … … 41 42 } 42 43 </style> 43 44 </head> 44 45 <body> 45 <p>The green positioned object should go through all three regions. Its left edge should have the 46 same offset from the left side of the light grey boxes in each region.</p> 46 <p>The green positioned object should go through all three regions. Its left edge should have the same offset from the left side of the light grey boxes in each region.</p> 47 47 48 48 <div id="content"> … … 57 57 <div id="region3"></div> 58 58 </div> 59 </body> 60 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-perpendicular-flows-in-regions-expected.html
r173055 r173056 31 31 </head> 32 32 <body> 33 <p style="direction:ltr">The green positioned object should only be as tall as the first region it 34 is contained in. It should fill the left half of the first region.</p> 35 36 33 <p style="direction:ltr">The green positioned object should only be as tall as the first region it is contained in. It should fill the left half of the first region.</p> 37 34 38 35 <div id="region1"> … … 42 39 <div id="region2"></div> 43 40 <div id="region3"></div> 41 </body> 42 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-perpendicular-flows-in-regions.html
r173055 r173056 8 8 padding: 5px; 9 9 } 10 10 11 11 #first-box { 12 margin:10% 12 margin:10%; 13 13 } 14 14 15 15 #second-box { 16 16 position:absolute; … … 22 22 background-color:green 23 23 } 24 24 25 25 #region1, #region2, #region3 { 26 26 border: 1px solid black; … … 32 32 height: 150px; 33 33 } 34 34 35 35 #region2 { 36 36 width: 300px; 37 37 height: 180px; 38 38 } 39 39 40 40 #region3 { 41 41 width: 120px; … … 45 45 </head> 46 46 <body> 47 <p style="direction:ltr">The green positioned object should only be as tall as the first region it 48 is contained in. It should fill the left half of the first region.</p> 47 <p style="direction:ltr">The green positioned object should only be as tall as the first region it is contained in. It should fill the left half of the first region.</p> 49 48 50 <div id="content"> 51 <div id="first-box"> 52 <div id="second-box"> 53 49 <div id="content"> 50 <div id="first-box"> 51 <div id="second-box"></div> 54 52 </div> 55 53 </div> 56 </div>57 54 58 <div id="container"> 59 <div id="region1"></div> 60 <div id="region2"></div> 61 <div id="region3"></div> 62 </div> 55 <div id="container"> 56 <div id="region1"></div> 57 <div id="region2"></div> 58 <div id="region3"></div> 59 </div> 60 </body> 61 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-spanning-regions-expected.html
r173055 r173056 1 1 <!doctype html> 2 3 <style>4 2 <html> 3 <head> 4 <style> 5 5 #first-box, #second-box, #third-box { 6 6 background-color: green; 7 7 } 8 8 9 9 #first-box { 10 10 height:100%; 11 11 width:50%; 12 12 } 13 13 14 14 #second-box { 15 15 height:100%; 16 16 width:50%; 17 17 } 18 18 19 19 #third-box { 20 20 height:100%; 21 21 width:50%; 22 22 } 23 23 24 24 #region1, #region2, #region3 { 25 25 border: 1px solid black; … … 30 30 height: 150px; 31 31 } 32 32 33 33 #region2 { 34 34 width: 300px; 35 35 height: 180px; 36 36 } 37 37 38 38 #region3 { 39 39 width: 120px; … … 41 41 } 42 42 </style> 43 43 </head> 44 44 <body> 45 <p>The green positioned object should span all the regions. It should fill the left half of every region.</p>45 <p>The green positioned object should span all the regions. It should fill the left half of every region.</p> 46 46 47 47 <div id="region1"> … … 57 57 </div> 58 58 </div> 59 59 </body> 60 </html> -
trunk/LayoutTests/fast/regions/positioning/positioned-objects-spanning-regions.html
r173055 r173056 1 1 <!doctype html> 2 3 <style> 2 <html> 3 <head> 4 <style> 4 5 #content { 5 6 -webkit-flow-into: flow1; … … 7 8 padding: 5px; 8 9 } 9 10 10 11 #first-box { 11 12 margin:10% 12 13 } 13 14 14 15 #second-box { 15 16 position:absolute; … … 20 21 background-color:green 21 22 } 22 23 23 24 #region1, #region2, #region3 { 24 25 border: 1px solid black; … … 30 31 height: 150px; 31 32 } 32 33 33 34 #region2 { 34 35 width: 300px; 35 36 height: 180px; 36 37 } 37 38 38 39 #region3 { 39 40 width: 120px; … … 41 42 } 42 43 </style> 44 </head> 45 <body> 46 <p>The green positioned object should span all the regions. It should fill the left half of every region.</p> 43 47 44 <body> 45 <p>The green positioned object should span all the regions. It should fill the left half of every region.</p> 46 47 <div id="content"> 48 <div id="first-box"> 49 <div id="second-box"> 50 48 <div id="content"> 49 <div id="first-box"> 50 <div id="second-box"></div> 51 51 </div> 52 52 </div> 53 </div>54 53 55 <div id="container"> 56 <div id="region1"></div> 57 <div id="region2"></div> 58 <div id="region3"></div> 59 </div> 54 <div id="container"> 55 <div id="region1"></div> 56 <div id="region2"></div> 57 <div id="region3"></div> 58 </div> 59 </body> 60 </html> -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r172800 r173056 290 290 webkit.org/b/118925 compositing/overlap-blending/children-opacity-no-overlap.html [ Pass ImageOnlyFailure ] 291 291 webkit.org/b/118925 fast/layers/no-clipping-overflow-hidden-added-after-transition.html [ Pass ImageOnlyFailure ] 292 webkit.org/b/118925 fast/regions/ fixed-pos-elem-in-region.html [ Pass ImageOnlyFailure ]292 webkit.org/b/118925 fast/regions/positioning/fixed-pos-elem-in-region.html [ Pass ImageOnlyFailure ] 293 293 webkit.org/b/118925 svg/repaint/buffered-rendering-static-image.html [ Pass ImageOnlyFailure ] 294 294 -
trunk/LayoutTests/platform/win/TestExpectations
r173000 r173056 2675 2675 fast/multicol/negativeColumnWidth.html [ Pass Timeout ] 2676 2676 fast/parser/xhtml-close-while-parsing.xhtml [ Pass Timeout ] 2677 fast/regions/ fixed-pos-elem-in-region.html [ Pass Timeout ]2677 fast/regions/positioning/fixed-pos-elem-in-region.html [ Pass Timeout ] 2678 2678 fast/regions/hover-single-flow-into-none.html [ Pass Timeout ] 2679 2679 fast/regions/intrinsic-sized-regions.html [ Pass Timeout ] 2680 fast/regions/position ed-objects-inline-static-in-regions.html [ Pass Timeout ]2680 fast/regions/positioning/positioned-objects-inline-static-in-regions.html [ Pass Timeout ] 2681 2681 fast/regions/overflow/overflow-scrollable-unsplittable-fragment.html [ Pass Timeout ] 2682 2682 fast/regions/auto-size/autoheight-floatright-region.html [ Pass Timeout ]
Note: See TracChangeset
for help on using the changeset viewer.