mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
1.7 KiB
1.7 KiB
layout, title, order
| layout | title | order |
|---|---|---|
| page | Test Assumptions | 13 |
The tests make a number of assumptions of the user agent, and new tests can freely rely on these assumptions being true:
- The device is a full-color device.
- The device has a viewport width of at least 800px.
- The UA imposes no minimum font size.
- The
mediumfont-sizecomputes to 16px. - The canvas background is
white. - The initial value of
colorisblack. - The user stylesheet is empty (except where indicated by the tests).
- The device is interactive and uses scroll bars.
- The device has the Ahem font installed.
- The HTML
divelement is assigneddisplay: block;and no other property declaration. - The HTML
spanelement is assigneddisplay: inline;and no other property declaration. - The HTML
pelement is assigneddisplay: block; - The HTML
lielement is assigneddisplay: list-item; - The HTML
tableelementstable,tbody,tr, andtdare assigned thedisplayvaluestable,table-row-group,table-row, andtable-cell, respectively. - The UA implements reasonable line-breaking behavior; e.g., it is assumed that spaces between alphanumeric characters provide line breaking opportunities and that UAs will not break at every opportunity, but only near the end of a line unless a line break is forced.
Tests for printing behavior make some further assumptions:
- The UA is set to print background colors and, if it supports graphics, background images.
- The UA implements reasonable page-breaking behavior; e.g., it is assumed that UAs will not break at every opportunity, but only near the end of a page unless a page break is forced.