layout/reftests/border-radius/clipping-5-ref.html
author Zack Weinberg <zweinberg@mozilla.com>, L. David Baron <dbaron@dbaron.org>
Thu, 09 Sep 2010 08:21:47 -0700
changeset 52297 c1cc7b565dc740206b5b46b613f99da334195329
parent 52295 da15f373d499380dc04e7a2d663bfabe5df359fe
child 92941 0c6adccfeb415dc4997f874e9af1efc505d9bf88
permissions -rw-r--r--
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6 This was generated with the command: LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \ 's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi; s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g; s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g; s/-moz-border-radius/border-radius/gi; s/_moz_border_radius/border_radius/g;'

<!DOCTYPE HTML>
<title>Test for clipping of border-radius</title>
<style>
div {
  display: inline-block;
  background: green;
  margin: 18px 19px 21px 25px;
  /* border + padding: 1px 2px 4px 8px */
  height: 100px;
  width: 200px;

  /* Horizontal: TL TR BR BL / Vertical: TL TR BR BL */
  /* border-radius: 25px 17px 14px 18px / 12px 15px 18px 17px; */
  border-radius: 17px 15px 12px 10px / 11px 14px 14px 13px;
}
</style>
<div></div>