layout/reftests/border-radius/clipping-3.html
author Petru Lingurar <petru.lingurar@softvision.ro>
Fri, 21 Jun 2019 06:24:43 +0000
changeset 539442 819d3061b8fb3cbc3143ac68e8f521b7e32f362c
parent 52297 c1cc7b565dc740206b5b46b613f99da334195329
permissions -rw-r--r--
Bug 1551614 - Call BrowserApp's onCreate() before finish(); r=VladBaicu Fix for the following scenario: - "Don't keep activities" checked - Change system language Upon detecting a locale change in BrowserApp's onCreate() we would call finish() and then return before calling super.onCreate(). This patch introdues the call to super.onCreate() before returning and ensures that the app will die cleanly so that upon restarting Gecko can reinit add-ons that touch the UI. Differential Revision: https://phabricator.services.mozilla.com/D35402

<!doctype html>
<html><head>
<title>Border clipping</title>
<style>
.div1 { width: 50px; height: 50px;
      border: 10px solid blue; 
      position: fixed;
      background: blue;
      left: 50px;
      top: 50px;
}

.div2 { width: 50px; height: 50px;
      border: 10px solid red; 
      position: fixed;
      background: red;
      left: 80px;
      top: 80px;
      border-radius: 10px;
}

</style>
</head>
<body>
  <div class="div1"/>
  <div class="div2"/>
</body></html>