diff --git a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png index 407ba3d50b9..99e287e4511 100755 Binary files a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png and b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png differ diff --git a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png index 8d38871ead5..051910e15b3 100755 Binary files a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png index d8351818433..049103f2605 100755 Binary files a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png and b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png differ diff --git a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png index 302d103eebd..b7e887f800e 100755 Binary files a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png and b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png differ diff --git a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png index 8e13410ab52..31727ab5fb5 100755 Binary files a/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png and b/uitest/reference-screenshots/chrome/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png differ diff --git a/uitest/reference-screenshots/chrome/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png b/uitest/reference-screenshots/chrome/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png index a2f2119ea78..152b63d06ec 100755 Binary files a/uitest/reference-screenshots/chrome/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png and b/uitest/reference-screenshots/chrome/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png differ diff --git a/uitest/reference-screenshots/chrome/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png b/uitest/reference-screenshots/chrome/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png index fd08d0012e5..a3faa6fd827 100755 Binary files a/uitest/reference-screenshots/chrome/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png and b/uitest/reference-screenshots/chrome/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png differ diff --git a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png index 8ba5a7f2df4..065588dc767 100755 Binary files a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png index a9d157051d0..42877013215 100755 Binary files a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png differ diff --git a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png index 2f216175e18..c8c6f50b966 100755 Binary files a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png differ diff --git a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png index 6085226f880..8aeb0dbdd12 100755 Binary files a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png differ diff --git a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png index 39bbb1786c2..5fb40dfbc7d 100755 Binary files a/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/chrome/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png differ diff --git a/uitest/reference-screenshots/chrome/GridIconTest-LayoutIcon_ANY_Chrome__icon.png b/uitest/reference-screenshots/chrome/GridIconTest-LayoutIcon_ANY_Chrome__icon.png index 8af174043b0..9fc27797a3d 100755 Binary files a/uitest/reference-screenshots/chrome/GridIconTest-LayoutIcon_ANY_Chrome__icon.png and b/uitest/reference-screenshots/chrome/GridIconTest-LayoutIcon_ANY_Chrome__icon.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png index 8e5465d1876..1342c2c57a8 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png and b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png index 60d0d4dd878..cfa391874be 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png and b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png index 13e887d2455..1ef52060e7a 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png and b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png index 0df91512cf0..886534c214e 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png index d78eed4814a..55e0994837c 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png new file mode 100644 index 00000000000..57d3ce747c9 Binary files /dev/null and b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png index bb7cf900c27..e27e41ae53c 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png and b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png new file mode 100644 index 00000000000..6153d28bafc Binary files /dev/null and b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png b/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png deleted file mode 100755 index 4f8b0375fa3..00000000000 Binary files a/uitest/reference-screenshots/chrome/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png b/uitest/reference-screenshots/chrome/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png new file mode 100644 index 00000000000..d8fc04f0dde Binary files /dev/null and b/uitest/reference-screenshots/chrome/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png b/uitest/reference-screenshots/chrome/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png index 119c303fe6a..48d7459a767 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png and b/uitest/reference-screenshots/chrome/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png index 8ba5a7f2df4..e5f6fef8f75 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png index a9d157051d0..d9f4873bc60 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png deleted file mode 100755 index 4962ab58756..00000000000 Binary files a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png and /dev/null differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png new file mode 100644 index 00000000000..1fadc3b9733 Binary files /dev/null and b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png index 244582e7a6c..0d49fe084b6 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png differ diff --git a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png index 908f6492da0..d545cb2c3d1 100755 Binary files a/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/chrome/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png differ diff --git a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png index 81aaa8e9a01..6618ca39bd8 100755 Binary files a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png and b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png differ diff --git a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png index 5cbda6704c0..b2d42c7c8fe 100755 Binary files a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png index fc5f94ea206..6639e74b500 100755 Binary files a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png and b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png differ diff --git a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png index b212a6c48a7..ff1e4e4c8f8 100755 Binary files a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png and b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png differ diff --git a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png index 7b16f05e583..fd6e0c8178b 100755 Binary files a/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png and b/uitest/reference-screenshots/chrome/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png differ diff --git a/uitest/reference-screenshots/chrome/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png b/uitest/reference-screenshots/chrome/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png index 708a3177cef..b0bf3054bb0 100755 Binary files a/uitest/reference-screenshots/chrome/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png and b/uitest/reference-screenshots/chrome/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png differ diff --git a/uitest/reference-screenshots/chrome/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png b/uitest/reference-screenshots/chrome/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png index 9ab090be1d9..8aba1d52d52 100755 Binary files a/uitest/reference-screenshots/chrome/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png and b/uitest/reference-screenshots/chrome/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png differ diff --git a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png index e7add3a4335..9d99e0b2e37 100755 Binary files a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png index dff4d574b56..365878113bc 100755 Binary files a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png differ diff --git a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png index 88f7d1b7d90..407d4b5b7ae 100755 Binary files a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png differ diff --git a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png index d6b9c512198..a0bd9cc8689 100755 Binary files a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png differ diff --git a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png index e6dacf66643..9f266e3edbf 100755 Binary files a/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/chrome/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png differ diff --git a/uitest/reference-screenshots/chrome/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png b/uitest/reference-screenshots/chrome/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png new file mode 100644 index 00000000000..e2ee3b21d5f Binary files /dev/null and b/uitest/reference-screenshots/chrome/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png differ diff --git a/uitest/reference-screenshots/chrome/HIconTest-LayoutIcon_ANY_Chrome__icon.png b/uitest/reference-screenshots/chrome/HIconTest-LayoutIcon_ANY_Chrome__icon.png index 3a7164a2188..f805fec9191 100755 Binary files a/uitest/reference-screenshots/chrome/HIconTest-LayoutIcon_ANY_Chrome__icon.png and b/uitest/reference-screenshots/chrome/HIconTest-LayoutIcon_ANY_Chrome__icon.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png index 824d4a7806f..3fed295bfeb 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png and b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png index d8b837566ed..f801bf05d28 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png and b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png index f962af2b38d..d6c1c2df557 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png and b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png index 1f295b033d3..55d98e1dbf8 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png index cb18db7db6f..13061814a2f 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png new file mode 100644 index 00000000000..1a4beb85801 Binary files /dev/null and b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png index 5626e665bc1..5cc8272623c 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png and b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png new file mode 100644 index 00000000000..30bd92228d8 Binary files /dev/null and b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png b/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png deleted file mode 100755 index 4e71c21d492..00000000000 Binary files a/uitest/reference-screenshots/chrome/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png b/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png new file mode 100644 index 00000000000..7890264eab6 Binary files /dev/null and b/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png b/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png new file mode 100644 index 00000000000..aec7bb9b59d Binary files /dev/null and b/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png b/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png index aefae890da7..73e61502f4e 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png and b/uitest/reference-screenshots/chrome/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png index e7add3a4335..9d99e0b2e37 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png index dff4d574b56..562eb6e2699 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png index 88f7d1b7d90..efe19ea55fd 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png index d6b9c512198..e02e28f3092 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png differ diff --git a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png index e6dacf66643..2f34a2b88b0 100755 Binary files a/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/chrome/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png differ diff --git a/uitest/reference-screenshots/chrome/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png b/uitest/reference-screenshots/chrome/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png new file mode 100644 index 00000000000..841d2e1eadb Binary files /dev/null and b/uitest/reference-screenshots/chrome/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png differ diff --git a/uitest/reference-screenshots/chrome/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png b/uitest/reference-screenshots/chrome/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png index 609d847c61d..f4793e0f70c 100755 Binary files a/uitest/reference-screenshots/chrome/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png and b/uitest/reference-screenshots/chrome/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png differ diff --git a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png index ec1539923d7..8ab31b71aa1 100755 Binary files a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png new file mode 100644 index 00000000000..8ab31b71aa1 Binary files /dev/null and b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png differ diff --git a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png index 9c4c671cd49..8483cc42828 100755 Binary files a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png differ diff --git a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png index 148ee8a48d2..9ad4c64cd7b 100755 Binary files a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png differ diff --git a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png index be6e9e9cd80..fa317dc8f46 100755 Binary files a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png differ diff --git a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png index 8adb1bc17e0..85dfedf6f9e 100755 Binary files a/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/chrome/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png differ diff --git a/uitest/reference-screenshots/chrome/VIconTest-LayoutIcon_ANY_Chrome__icon.png b/uitest/reference-screenshots/chrome/VIconTest-LayoutIcon_ANY_Chrome__icon.png index ce677cbdf14..c35aa48a91b 100755 Binary files a/uitest/reference-screenshots/chrome/VIconTest-LayoutIcon_ANY_Chrome__icon.png and b/uitest/reference-screenshots/chrome/VIconTest-LayoutIcon_ANY_Chrome__icon.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png index 4270e4405f3..1a7a61ebe97 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png and b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png index a0527348289..1ba9c22b977 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png and b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png index b57263b3e2b..894c926f2a1 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png and b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png index fdfb51a1c84..e153773bb31 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png index 391202dc57d..a990cf08e42 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png new file mode 100644 index 00000000000..df7882e33f9 Binary files /dev/null and b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png index 91c1a7dfe39..ba76ccd6754 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png and b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png new file mode 100644 index 00000000000..9e785ecb985 Binary files /dev/null and b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png b/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png deleted file mode 100755 index d84c300f00e..00000000000 Binary files a/uitest/reference-screenshots/chrome/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/chrome/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png b/uitest/reference-screenshots/chrome/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png new file mode 100644 index 00000000000..f6759bcc102 Binary files /dev/null and b/uitest/reference-screenshots/chrome/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png b/uitest/reference-screenshots/chrome/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png index 35609948b83..9a8b8d2a4fd 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png and b/uitest/reference-screenshots/chrome/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png index ec1539923d7..02e9ad22c8d 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png index 9c4c671cd49..14fc7213167 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png index 148ee8a48d2..4c512558d7c 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png index be6e9e9cd80..8b7f4d22378 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png differ diff --git a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png index 8adb1bc17e0..81739b964f5 100755 Binary files a/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/chrome/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png differ diff --git a/uitest/reference-screenshots/firefox/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png b/uitest/reference-screenshots/firefox/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png deleted file mode 100644 index 8cdc0f99b7b..00000000000 Binary files a/uitest/reference-screenshots/firefox/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/firefox/GridLayoutSizingTest-LayoutSizing_ANY_Firefox__setSize350px.png b/uitest/reference-screenshots/firefox/GridLayoutSizingTest-LayoutSizing_ANY_Firefox__setSize350px.png deleted file mode 100644 index 0df74e69e10..00000000000 Binary files a/uitest/reference-screenshots/firefox/GridLayoutSizingTest-LayoutSizing_ANY_Firefox__setSize350px.png and /dev/null differ diff --git a/uitest/reference-screenshots/firefox/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png b/uitest/reference-screenshots/firefox/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png deleted file mode 100644 index 65b150fc113..00000000000 Binary files a/uitest/reference-screenshots/firefox/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/firefox/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png b/uitest/reference-screenshots/firefox/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png deleted file mode 100644 index ed6a00ec75b..00000000000 Binary files a/uitest/reference-screenshots/firefox/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Firefox__marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/internetexplorer/GridLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png b/uitest/reference-screenshots/internetexplorer/GridLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png deleted file mode 100755 index 433a40205bf..00000000000 Binary files a/uitest/reference-screenshots/internetexplorer/GridLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/internetexplorer/GridLayoutSizingTest-LayoutSizing_Windows_InternetExplorer_11_setSize350px.png b/uitest/reference-screenshots/internetexplorer/GridLayoutSizingTest-LayoutSizing_Windows_InternetExplorer_11_setSize350px.png deleted file mode 100755 index 826162a11d9..00000000000 Binary files a/uitest/reference-screenshots/internetexplorer/GridLayoutSizingTest-LayoutSizing_Windows_InternetExplorer_11_setSize350px.png and /dev/null differ diff --git a/uitest/reference-screenshots/internetexplorer/HLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png b/uitest/reference-screenshots/internetexplorer/HLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png deleted file mode 100755 index b14f852e3f7..00000000000 Binary files a/uitest/reference-screenshots/internetexplorer/HLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/internetexplorer/VLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png b/uitest/reference-screenshots/internetexplorer/VLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png deleted file mode 100755 index 5306cd7837b..00000000000 Binary files a/uitest/reference-screenshots/internetexplorer/VLayoutMarginSpacingTest-LayoutMarginSpacing_Windows_InternetExplorer_11_marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/phantomjs/GridLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png b/uitest/reference-screenshots/phantomjs/GridLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png deleted file mode 100644 index 4e2c8e96776..00000000000 Binary files a/uitest/reference-screenshots/phantomjs/GridLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/phantomjs/GridLayoutSizingTest-LayoutSizing_LINUX_PhantomJS_1_setSize350px.png b/uitest/reference-screenshots/phantomjs/GridLayoutSizingTest-LayoutSizing_LINUX_PhantomJS_1_setSize350px.png deleted file mode 100644 index 85e2064e31a..00000000000 Binary files a/uitest/reference-screenshots/phantomjs/GridLayoutSizingTest-LayoutSizing_LINUX_PhantomJS_1_setSize350px.png and /dev/null differ diff --git a/uitest/reference-screenshots/phantomjs/HLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png b/uitest/reference-screenshots/phantomjs/HLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png deleted file mode 100644 index 3cdd15c551d..00000000000 Binary files a/uitest/reference-screenshots/phantomjs/HLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/reference-screenshots/phantomjs/VLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png b/uitest/reference-screenshots/phantomjs/VLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png deleted file mode 100644 index 4f6ba58d5ea..00000000000 Binary files a/uitest/reference-screenshots/phantomjs/VLayoutMarginSpacingTest-LayoutMarginSpacing_LINUX_PhantomJS_1_marginOnfSpaceOn.png and /dev/null differ diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseAlignment.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseAlignment.java index 20cb15240e4..fb6c28c3522 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseAlignment.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseAlignment.java @@ -31,7 +31,7 @@ private void buildLayout() { } layout.setMargin(false); layout.setSpacing(false); - layout.setHeight("300px"); + layout.setHeight("100px"); layout.setWidth("200px"); layout.addComponent(components[i]); layout.setComponentAlignment(components[i], alignments[i]); diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutExpand.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutExpand.java index 637019c61f9..fa5aee05448 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutExpand.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutExpand.java @@ -42,8 +42,6 @@ public ExpandButton(final AbstractComponent c1, } Table t1 = getTestTable(); Table t2 = getTestTable(); - t1.setSizeFull(); - t2.setSizeFull(); l2.addComponent(t1); l2.addComponent(t2); diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutForSpacingMargin.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutForSpacingMargin.java index b122d48fe3c..2331be46fe8 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutForSpacingMargin.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutForSpacingMargin.java @@ -26,8 +26,6 @@ protected void setup(VaadinRequest request) { private void buildLayout() { Table t1 = getTestTable(); Table t2 = getTestTable(); - t1.setSizeFull(); - t2.setSizeFull(); l2.addComponent(t1); l2.setMargin(false); l2.setSpacing(false); diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutTestUI.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutTestUI.java index 7ae05f343a0..cb08992bf40 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutTestUI.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutTestUI.java @@ -28,10 +28,11 @@ public abstract class BaseLayoutTestUI extends AbstractReindeerTestUI { protected static final String CALENDAR_32_PNG = "../runo/icons/16/calendar.png"; protected static final String LOCK_16_PNG = "../runo/icons/16/lock.png"; protected static final String GLOBE_16_PNG = "../runo/icons/16/globe.png"; - public Alignment[] alignments = { Alignment.TOP_CENTER, Alignment.TOP_LEFT, - Alignment.TOP_RIGHT, Alignment.BOTTOM_CENTER, Alignment.BOTTOM_LEFT, - Alignment.BOTTOM_RIGHT, Alignment.MIDDLE_CENTER, - Alignment.MIDDLE_LEFT, Alignment.MIDDLE_RIGHT }; + public Alignment[] alignments = new Alignment[] { Alignment.TOP_LEFT, + Alignment.TOP_CENTER, Alignment.TOP_RIGHT, Alignment.MIDDLE_LEFT, + Alignment.MIDDLE_CENTER, Alignment.MIDDLE_RIGHT, + Alignment.BOTTOM_LEFT, Alignment.BOTTOM_CENTER, + Alignment.BOTTOM_RIGHT }; public final String[] CAPTIONS = { "", "VeryLongOneWordCaption", "Very long caption of 50 approximately symbols aaaaaaaaaaaa aaaaaa aaa " }; @@ -74,7 +75,8 @@ protected void init() { private void fillComponents() { for (int i = 0; i < components.length; i++) { String name = "Field" + i; - TextField field = new TextField(); + TextField field = new TextField(alignments[i].getVerticalAlignment() + + " " + alignments[i].getHorizontalAlignment()); field.setValue(name); components[i] = field; } @@ -91,9 +93,7 @@ protected void getLayoutForLayoutSizing(final String compType) { l2.setMargin(false); final AbstractComponent c1 = getTestTable(); - c1.setSizeFull(); final AbstractComponent c2 = getTestTable(); - c2.setSizeFull(); class SetSizeButton extends Button { SetSizeButton(final String size) { @@ -106,6 +106,7 @@ class SetSizeButton extends Button { } else if (compType == "component") { c2.setHeight(size); c2.setWidth(size); + c2.setCaption("Configured width"); } }); } @@ -135,11 +136,13 @@ class SetSizeButton extends Button { newLabel.setSizeUndefined(); l2.addComponent(newLabel); }); + btn2.setCaption(btn2.getCaption() + " + add Label"); } protected Table getTestTable() { Table t = new Table(); - t.setPageLength(5); + t.setSizeFull(); + t.setCaption("100% default width"); t.addContainerProperty("test", String.class, null); t.addItem(new Object[] { "qwertyuiop asdfghjköäxccvbnm,m,." }, 1); t.addItem(new Object[] { "YGVYTCTCTRXRXRXRX" }, 2); @@ -207,6 +210,12 @@ protected AbstractLayout createLabelsFields( protected void setup(VaadinRequest request) { mainLayout.setMargin(false); mainLayout.setSpacing(false); + mainLayout.setSizeUndefined(); + getLayout().setSizeUndefined(); + if (getLayout().getParent() instanceof VerticalLayout) { + ((VerticalLayout) getLayout().getParent()).setSizeUndefined(); + } + mainLayout.addComponent(l1); mainLayout.addComponent(l2); addComponent(mainLayout); @@ -226,8 +235,8 @@ protected void setLayoutMeasures(AbstractOrderedLayout l1, AbstractOrderedLayout l2, String w, String h) { l1.setWidth(w); l1.setHeight(h); - l2.setWidth(h); - l2.setHeight(w); + l2.setWidth(w); + l2.setHeight(h); } protected void setDefaultForVertical(AbstractOrderedLayout l1, diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridAlignment.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridAlignment.java index c6da40e8783..ea108c8d374 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridAlignment.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridAlignment.java @@ -8,6 +8,7 @@ public class GridAlignment extends GridBaseLayoutTestUI { protected void setup(VaadinRequest request) { buildLayout(); super.setup(request); + layout.setSizeFull(); } /** @@ -16,8 +17,6 @@ protected void setup(VaadinRequest request) { private void buildLayout() { layout.setColumns(3); layout.setRows(3); - // layout.setHeight("600px"); - // layout.setWidth("900px"); for (int i = 0; i < components.length; i++) { layout.addComponent(components[i]); layout.setComponentAlignment(components[i], alignments[i]); diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridBaseLayoutTestUI.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridBaseLayoutTestUI.java index d808b99bdcd..7c5b223d158 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridBaseLayoutTestUI.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridBaseLayoutTestUI.java @@ -21,8 +21,7 @@ public GridBaseLayoutTestUI() { @Override protected void setup(VaadinRequest request) { - layout.setMargin(true); - layout.setSizeFull(); + layout.setSizeUndefined(); getUI().setContent(layout); } @@ -33,9 +32,7 @@ protected void getLayoutForLayoutSizing(final String compType) { layout.setMargin(false); final AbstractComponent c1 = getTestTable(); - c1.setSizeFull(); final AbstractComponent c2 = getTestTable(); - c2.setSizeFull(); class SetSizeButton extends Button { SetSizeButton(final String size) { @@ -48,11 +45,12 @@ class SetSizeButton extends Button { } else if (compType == "component") { c2.setHeight(size); c2.setWidth(size); + c2.setCaption("Configured width"); } }); } } - Button btn1 = new SetSizeButton("550px"); + Button btn1 = new SetSizeButton("350px"); Button btn2 = new SetSizeButton("-1px"); Button btn3 = new SetSizeButton("75%"); Button btn4 = new SetSizeButton("100%"); @@ -74,5 +72,6 @@ class SetSizeButton extends Button { newLabel.setSizeUndefined(); layout.addComponent(newLabel); }); + btn2.setCaption(btn2.getCaption() + " + add Label"); } } diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridComponentSizing.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridComponentSizing.java index 403fc30305a..5b91b78b514 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridComponentSizing.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridComponentSizing.java @@ -8,5 +8,6 @@ public class GridComponentSizing extends GridBaseLayoutTestUI { protected void setup(VaadinRequest request) { getLayoutForLayoutSizing("component"); super.setup(request); + layout.setSizeFull(); } } diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridIcon.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridIcon.java index e9525740475..be9e36e96c7 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridIcon.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridIcon.java @@ -1,6 +1,7 @@ package com.vaadin.tests.layouts.layouttester.GridLayout; import com.vaadin.server.VaadinRequest; +import com.vaadin.ui.AbstractOrderedLayout; import com.vaadin.ui.Button; import com.vaadin.ui.Label; import com.vaadin.ui.Link; @@ -19,4 +20,13 @@ protected void setup(VaadinRequest request) { layout.addComponent(createLabelsFields(TabSheet.class, true, "")); super.setup(request); } + + @Override + protected void setLayoutMeasures(AbstractOrderedLayout l1, + AbstractOrderedLayout l2, String w, String h) { + super.setLayoutMeasures(l1, l2, "400px", "-1px"); + l1.setSpacing(true); + l2.setSpacing(true); + mainLayout.setSpacing(true); + } } diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutExpand.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutExpand.java index 8578e9f9581..bb5be728d65 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutExpand.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutExpand.java @@ -10,6 +10,7 @@ public class GridLayoutExpand extends GridBaseLayoutTestUI { protected void setup(VaadinRequest request) { buildLayout(); super.setup(request); + layout.setSizeFull(); } private void buildLayout() { @@ -27,8 +28,6 @@ public ExpandButton(final int i1, final int i2, final float e1, } Table t1 = getTestTable(); Table t2 = getTestTable(); - t1.setSizeFull(); - t2.setSizeFull(); layout.setColumns(4); layout.setRows(4); layout.addComponent(new ExpandButton(1, 2, 1.0f, 0.0f), 0, 0); diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutMarginSpacing.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutMarginSpacing.java index 1e220cbd69b..1b15b435bfa 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutMarginSpacing.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutMarginSpacing.java @@ -17,8 +17,8 @@ protected void setup(VaadinRequest request) { private void buildLayout() { Table t1 = getTestTable(); Table t2 = getTestTable(); - t1.setSizeFull(); - t2.setSizeFull(); + t1.setSizeUndefined(); + t2.setSizeUndefined(); final Button btn1 = new Button("Toggle margin on/off"); btn1.addClickListener(event -> { diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegError.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegError.java index dcd5c633108..27c82984a29 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegError.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegError.java @@ -2,6 +2,7 @@ import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.TestDateField; +import com.vaadin.ui.AbstractOrderedLayout; import com.vaadin.ui.Button; import com.vaadin.ui.CheckBox; import com.vaadin.ui.Label; @@ -31,4 +32,10 @@ private void buildLayout() { layout.addComponent(createLabelsFields(CheckBox.class, true, "")); } + + @Override + protected void setDefaultForVertical(AbstractOrderedLayout l1, + AbstractOrderedLayout l2) { + setLayoutMeasures(l1, l2, "800px", "800px"); + } } diff --git a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizing.java b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizing.java index 6074cdae525..671fdf11634 100644 --- a/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizing.java +++ b/uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizing.java @@ -1,6 +1,12 @@ package com.vaadin.tests.layouts.layouttester.GridLayout; import com.vaadin.server.VaadinRequest; +import com.vaadin.shared.ui.ContentMode; +import com.vaadin.ui.AbstractComponent; +import com.vaadin.ui.Button; +import com.vaadin.ui.Button.ClickEvent; +import com.vaadin.ui.Button.ClickListener; +import com.vaadin.ui.Label; public class GridLayoutSizing extends GridBaseLayoutTestUI { @@ -8,5 +14,63 @@ public class GridLayoutSizing extends GridBaseLayoutTestUI { protected void setup(VaadinRequest request) { getLayoutForLayoutSizing("layout"); super.setup(request); + layout.setSizeFull(); + } + + @Override + protected void getLayoutForLayoutSizing(final String compType) { + + layout.setSpacing(false); + layout.setMargin(false); + + final AbstractComponent c1 = getTestTable(); + final AbstractComponent c2 = getTestTable(); + + class SetSizeButton extends Button { + SetSizeButton(final String size) { + super(); + setCaption("Set size " + size); + addClickListener(new ClickListener() { + + @Override + public void buttonClick(ClickEvent event) { + if (compType == "layout") { + layout.setHeight(size); + layout.setWidth(size); + } else if (compType == "component") { + c2.setHeight(size); + c2.setWidth(size); + } else { + } + + } + }); + } + + } + Button btn1 = new SetSizeButton("600px"); + Button btn2 = new SetSizeButton("-1px"); + Button btn3 = new SetSizeButton("75%"); + Button btn4 = new SetSizeButton("100%"); + + layout.addComponent(btn1); + layout.addComponent(btn2); + layout.addComponent(btn3); + layout.addComponent(btn4); + layout.addComponent(c1); + layout.addComponent(new Label( + "