testing/web-platform/tests/css/css-values/calc-text-indent-intrinsic-1.html
author Duncan McIntosh <dmcintosh@mozilla.com>
Wed, 09 Jul 2025 19:42:02 +0000 (3 hours ago)
changeset 795924 9ccc6a2267cbf69c621fec973bd28573c2a45a1f
parent 606595 895e9f55c489ee2cc6e5bb3b1039f863e5b72809
permissions -rw-r--r--
Bug 1966586 - Reuse other browser windows when opening _blank links in Taskbar Tabs windows. r=nrishel This doesn't affect other tab additions, nor does it stop the tab bar from appearing altogether. The idea is that _if_ another tab is somehow made, the user should see it; but we should not create new tabs if we can avoid it. This also adds tests for opening URIs in popups and taskbar tabs to make it less likely that this breaks in future. Differential Revision: https://phabricator.services.mozilla.com/D253726
<!DOCTYPE HTML>
<html>
<head>
  <title>CSS Test: intrinsic width of text-indent: calc() on blocks</title>
  <link rel="author" title="L. David Baron" href="https://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
  <link rel="match" href="calc-text-indent-intrinsic-1-ref.html">
<style type="text/css">

body { font-size: 10px }
div { float: left; clear: left;
       margin: 0 0 1px 0; background: blue; color: white; height: 5px }
span { display: inline-block; width: 10px }

</style>
</head>
<body>

<div style="text-indent: calc(50% - 3px)"><span></span></div>
<div style="text-indent: calc(5em - 3px)"><span></span></div>
<div style="text-indent: calc(5em - 0%)"><span></span></div>
<div style="text-indent: calc(50%)"><span></span></div>
<div style="text-indent: calc(50px)"><span></span></div>
<div style="text-indent: calc(25% + 25%)"><span></span></div>
</body>
</html>