(logo)  CSS1/CSS2 Compatibility Test

This page tests AWeb's support for CSS1 and CSS2 properties via inline styles (STYLE attribute). Each section demonstrates supported CSS properties with explanatory text describing what you should see. Note that some properties have limitations due to AWeb's layout engine architecture - see the Summary section for details.


Quick Navigation

Text Properties | Colors | Layout & Positioning | Table Cell Styles | Link Styles | List Styles | Grid Layout | External Stylesheet Tests

Text Properties

text-align - PASS

What you should see: Three paragraphs with different text alignment - left, center, and right.

Test:

This paragraph should be left-aligned. The text should start at the left edge of the container.

This paragraph should be center-aligned. The text should be centered within the container.

This paragraph should be right-aligned. The text should end at the right edge of the container.

font-family - PASS

What you should see: Text rendered in different font families. If the specified font is not available, AWeb should fall back to a default font.

Test:

This text should use Georgia font (or Times, or a serif font if neither is available). The font-family property supports comma-separated font lists.

This text should use Arial font (or Helvetica, or a sans-serif font if neither is available).

This text should use Courier font (or a monospace font if Courier is not available).

font-size - PASS

What you should see: Text in various sizes using both absolute and relative font size keywords.

Test:

This text should be extra extra small (xx-small).

This text should be extra small (x-small).

This text should be small.

This text should be medium (default size).

This text should be large.

This text should be extra large (x-large).

This text should be extra extra large (xx-large).

This text should be smaller than the base font size (relative).

This text should be larger than the base font size (relative).

font-style - PASS

What you should see: Normal and italic text styles.

Test:

This text should be in normal (non-italic) style.

This text should be in italic style. The font should appear slanted.

font-weight - PASS

What you should see: Normal and bold text weights.

Test:

This text should be in normal weight (not bold).

This text should be in bold weight. The text should appear thicker.

This text uses font-weight: 700 (equivalent to bold).

text-decoration - PASS

What you should see: Text with line-through decoration.

Test:

This text should have a line through it (strikethrough).

This text should have no decoration.

text-transform - PASS

What you should see: Text transformed to uppercase, lowercase, and capitalize.

Test:

this text should be in uppercase

THIS TEXT SHOULD BE IN LOWERCASE

this text should have the first letter of each word capitalized

white-space - PASS

What you should see: Text with nowrap preventing line breaks.

Test:

This is a very long line of text that should not wrap to multiple lines even if it extends beyond the container width because white-space is set to nowrap.

line-height - FAIL

What you should see: Text with different line heights. Higher line-height values create more space between lines.

Test:

This paragraph has line-height: 1.0 (tight spacing).
This is the second line.
This is the third line.

This paragraph has line-height: 1.5 (normal spacing).
This is the second line.
This is the third line.

This paragraph has line-height: 2.0 (loose spacing).
This is the second line.
This is the third line.

Back to top


Color Properties

color - PASS

What you should see: Text in various colors specified using hex color codes.

Test:

This text should be red (#ff0000).

This text should be green (#00ff00).

This text should be blue (#0000ff).

This text should be a brown/tan color (#8B7355).

This text should be gray (#666666).

background-color - PASS

What you should see: Text with different background colors. Each paragraph should have a distinct background color.

Test:

This paragraph should have a light red background (#ffcccc).

This paragraph should have a light green background (#ccffcc).

This paragraph should have a light blue background (#ccccff).

This paragraph should have a beige/cream background (#F0EDEA).

This paragraph should have a tan background (#E8E0D8).

Back to top


Layout & Positioning Properties

padding - FAIL

What you should see: Paragraphs with different padding amounts. More padding should create more space around the text.

Test:

This paragraph has 5 pixels of padding. There should be a small amount of space around the text.

This paragraph has 15 pixels of padding. There should be more space around the text.

This paragraph has 30 pixels of padding. There should be a large amount of space around the text.

position, top, left - FAIL

What you should see: Elements positioned using absolute, relative, static, or fixed positioning. Note: Full positioning support may be limited.

Test:
This DIV uses position: static (default positioning).
This DIV uses position: relative.
This DIV uses position: absolute with top: 0px and left: 0px.
This DIV uses position: fixed.

margin shorthand - FAIL

What you should see: Paragraphs with margin shorthand property. The margin property can accept 1-4 values to set all margins at once.

Test:

This paragraph has margin: 10px (all sides).

This paragraph has margin: 10px 20px (top/bottom: 10px, left/right: 20px).

This paragraph has margin: 10px 20px 30px (top: 10px, left/right: 20px, bottom: 30px).

This paragraph has margin: 10px 20px 30px 40px (top: 10px, right: 20px, bottom: 30px, left: 40px).

This paragraph has margin: 0 (no margins).

margin-right, margin-left, margin-top, margin-bottom - FAIL

What you should see: Paragraphs with different margin values creating space around elements.

Test:

This paragraph has margin-right: 50px. There should be extra space on the right side.

This paragraph has margin-left: 50px. There should be extra space on the left side.

This paragraph has margin-top: 30px. There should be extra space above.

This paragraph has margin-bottom: 30px. There should be extra space below.

This paragraph has margin-left: 1em and margin-right: 1em (using em units).

background-image

What you should see: Elements with background images. Note: Requires a valid image URL to test.

Test:

This paragraph has a background image (1x1 transparent GIF). If the image loads, you should see it tiled behind the text.

This paragraph has no background image for comparison.

Back to top


Table Cell Styles

width and height - FAIL

What you should see: Table cells with different widths and heights. Cells should be sized according to the CSS width and height properties.

Test:
Width: 100px Width: 200px Width: 50%
Height: 50px Height: 80px Height: 30px

text-align in table cells - PASS

What you should see: Table cells with different text alignment - left, center, and right.

Test:
Left-aligned text in table cell
Center-aligned text in table cell
Right-aligned text in table cell

vertical-align in table cells - FAIL

What you should see: Table cells with different vertical alignment - top, middle, bottom, and baseline.

Test:
Top-aligned cell Middle-aligned cell Bottom-aligned cell Baseline-aligned cell

background-color in table cells - PASS

What you should see: Table cells with different background colors. Each cell should have a distinct background color.

Test:
Cell with tan background (#E8E0D8) Cell with beige background (#F0EDEA)
Cell with light red background (#ffcccc) Cell with light green background (#ccffcc)

Combined table cell styles - FAIL

What you should see: Table cells with multiple CSS properties applied simultaneously - width, height, alignment, background color, and padding.

Test:
Combined styles: width, height, center alignment, middle vertical alignment, background color, padding, and text color.

border-color - PASS

What you should see: Tables with different border colors specified via CSS.

Test:
Table with red border color

Table with green border color

Back to top


Link Styles

text-decoration: none - PASS

What you should see: Links without underlines. The links should be clickable but not have the typical underline decoration.

Test:

Normal link (underline depends on user setting): Click me

Link without underline: Click me (no underline)

Link without underline and custom color: Click me (no underline, brown color)

color on links - PASS

What you should see: Links with custom text colors. The link text should appear in the specified color instead of the default link color.

Test:

Red link

Green link

Blue link

Brown link (#8B7355)

Back to top


List Styles

list-style-type for unordered lists - PASS

What you should see: Unordered lists with different bullet styles - disc, circle, square, and none.

Test:
  • Disc bullet (default for UL)
  • Second item with disc
  • Circle bullet
  • Second item with circle
  • Square bullet
  • Second item with square
  • No bullet (none)
  • Second item with no bullet

display: inline for horizontal lists - PASS

What you should see: Unordered lists displayed horizontally (inline) instead of vertically. List items should appear on the same line with spacing between them, and bullets should be removed.

Test:
  • Home
  • About
  • Contact

Note: The list items should appear horizontally on one line, with spacing between them (using margin-left and margin-right with em units). No bullets should be visible.

list-style-type for ordered lists - PASS

What you should see: Ordered lists with different numbering styles - decimal, lower-alpha, upper-alpha, lower-roman, upper-roman, and none.

Test:
  1. Decimal numbering (1, 2, 3...)
  2. Second item
  1. Lower alpha (a, b, c...)
  2. Second item
  1. Upper alpha (A, B, C...)
  2. Second item
  1. Lower roman (i, ii, iii...)
  2. Second item
  1. Upper roman (I, II, III...)
  2. Second item
  1. No numbering (none)
  2. Second item with no number

Back to top


Grid Layout Properties

display: grid

What you should see: Definition lists (DL) displayed as a grid layout. The DT (term) elements should appear in the first column, and DD (description) elements with grid-column-start: 2 should appear in the second column.

Test:
Term 1
Description for term 1. This should appear in the second column, aligned with the term.
Term 2
Description for term 2. This should also appear in the second column.
Longer Term Name
Description for the longer term. The grid layout should handle varying term lengths.

Note: The grid layout creates a two-column structure where terms are in the first column and descriptions are in the second column, with spacing between them (grid-gap).

grid-gap

What you should see: Grid layouts with different gap spacing between rows and columns.

Test:
Small Gap
This grid has grid-gap: 2px 8px (small row gap, small column gap).
Medium Gap
This grid has grid-gap: 4px 16px (medium row gap, medium column gap).
Large Gap
This grid has grid-gap: 8px 32px (large row gap, large column gap).

grid-template-columns

What you should see: Grid layouts with different column template definitions. The max-content value sizes columns based on their content.

Test:
Short
Description with max-content column sizing.
Much Longer Term Name
The first column should size to fit the longest term.

Note: grid-template-columns: max-content sizes the first column to fit the widest content.

grid-column-start, grid-column-end, grid-row-start, grid-row-end

What you should see: Grid items positioned using grid-column-start and grid-row-start properties. grid-column-start: 2 places items in the second column.

Test:
Column 1
This DD starts at column 2 (grid-column-start: 2).
Another Term
This DD also starts at column 2.

Note: grid-column-start: 2 positions the element in the second column of the grid. grid-column-end, grid-row-start, and grid-row-end are parsed but may have limited rendering support.

Back to top


Back to top


Last Updated: 2025 - AWeb 3 CSS1/CSS2 Compatibility Test

External Stylesheet Tests | Back to AWeb documentation index