children-with-negative-inline-sizes.html (2259B)
1 <!DOCTYPE html> 2 <style> 3 /* These are children with negative block sizes. Absolute values are chosen 4 large enough compared to math layout constants. */ 5 span { display: inline-block; } 6 mspace, span { 7 margin-inline-start: -10em; 8 margin-inline-end: -10em; 9 } 10 /* Override display: none; from UA style sheet for the following children. */ 11 maction > :not(:first-child), 12 semantics > annotation, 13 semantics > annotation-xml { 14 display: math; 15 } 16 </style> 17 <math> 18 <mi><span></span></mi> 19 <mn><span></span></mn> 20 <mo><span></span></mo> 21 <ms><span></span></ms> 22 <mtext><span></span></mtext> 23 </math> 24 <math> 25 <semantics> 26 <mspace/> 27 <annotation><span></span></annotation> 28 <annotation-xml><span></span></annotation-xml> 29 </semantics> 30 </math> 31 <math> 32 <mtable> 33 <mtr> 34 <mtd><mspace/></mtd> 35 <mtd><mspace/></mtd> 36 <mtd><mspace/></mtd> 37 </mtr> 38 <mtr> 39 <mtd><mspace/></mtd> 40 <mtd><mspace/></mtd> 41 <mtd><mspace/></mtd> 42 </mtr> 43 </mtable> 44 </math> 45 <math> 46 <mspace/> 47 <mspace/> 48 <mspace/> 49 <mspace/> 50 </math> 51 <math> 52 <maction> 53 <mspace/> 54 <mspace/> 55 <mspace/> 56 <mspace/> 57 </maction> 58 <merror> 59 <mspace/> 60 <mspace/> 61 <mspace/> 62 <mspace/> 63 </merror> 64 <mpadded> 65 <mspace/> 66 <mspace/> 67 <mspace/> 68 <mspace/> 69 </mpadded> 70 <mphantom> 71 <mspace/> 72 <mspace/> 73 <mspace/> 74 <mspace/> 75 </mphantom> 76 <mstyle> 77 <mspace/> 78 <mspace/> 79 <mspace/> 80 <mspace/> 81 </mstyle> 82 </math> 83 <math> 84 <mfrac> 85 <mspace/> 86 <mspace/> 87 </mfrac> 88 <mfrac linethickness="0"> 89 <mspace/> 90 <mspace/> 91 </mfrac> 92 </math> 93 <math> 94 <msqrt> 95 <mspace/> 96 <mspace/> 97 <mspace/> 98 <mspace/> 99 </msqrt> 100 <mroot> 101 <mspace/> 102 <mspace/> 103 </mroot> 104 </math> 105 <math> 106 <msup> 107 <mspace/> 108 <mspace/> 109 </msup> 110 <msub> 111 <mspace/> 112 <mspace/> 113 </msub> 114 <msubsup> 115 <mspace/> 116 <mspace/> 117 <mspace/> 118 </msubsup> 119 <mmultiscripts> 120 <mspace/> 121 <mspace/> 122 <mspace/> 123 <mprescripts/> 124 <mspace/> 125 <mspace/> 126 </mmultiscripts> 127 </math> 128 <math> 129 <mover> 130 <mspace/> 131 <mspace/> 132 </mover> 133 <munder> 134 <mspace/> 135 <mspace/> 136 </munder> 137 <munderover> 138 <mspace/> 139 <mspace/> 140 <mspace/> 141 </munderover> 142 </math>