Status: FAIL | Duration: 27ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/tab-size/tab-size-integer-005.html
<!DOCTYPE html> <html> <meta charset=utf-8> <title>CSS Text Test: tab-size</title> <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> <link rel="help" href="http://www.w3.org/TR/css-text-3/#tab-size"> <link rel="match" href="tab-size-integer-005-ref.html"> <meta name="assert" content="Integer tab sizes are based on the width of <space> in the block container"> <style> @font-face { /* this font-family does not support <space>, so should not be used to resolve tab-size */ font-family: without-space; src: url("/fonts/CanvasTest-nospace.ttf"); } @font-face { /* the <space> in this font is much narrower than the default/.notdef in "first" */ font-family: with-space; src: url("/fonts/GentiumPlus-R.woff"); } div { font: 40px/2 without-space, with-space, sans-serif; white-space: pre; tab-size: 8; } span { font-family: with-space, sans-serif; } </style> <p>Test passes if the two black squares below are vertically aligned. <div><span> </span>	E</div> <div><span> </span>E</div>
/css/css-text/tab-size/tab-size-integer-005-ref.html
<!DOCTYPE html> <html> <meta charset=utf-8> <title>CSS Text Reference</title> <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> <style> @font-face { /* this font-family does not support <space>, so should not be used to resolve tab-size */ font-family: without-space; src: url("/fonts/CanvasTest-nospace.ttf"); } @font-face { /* the <space> in this font is much narrower than the default/.notdef in "first" */ font-family: with-space; src: url("/fonts/GentiumPlus-R.woff"); } div { font: 40px/2 without-space, with-space, sans-serif; } span { font-family: with-space, sans-serif; } </style> <p>Test passes if the two black squares below are vertically aligned. <div><span> </span>E</div> <div><span> </span>E</div>