CSS Values and Units Module Level 3 CR Test Suite

Functional Notations (14 tests)

Test Refs Flags Info
+ 8 Functional Notations
+ 8.1 Mathematical Expressions: calc()
calc-in-counter-001 = counter-* properties with a calc() expression
calc-interpolation Script calc interpolation
  • calc supports animation by computed value
calc-min-height = calc() function in 'min-height' and 'box-sizing: border-box' (complex)
  • This test checks how 'min-height' with calc(percentage) and 'box-sizing' are handled. The percentage in the calc() is calculated on the content box height of div#container.
calc-nesting Script nested calc() functions
font-148 = Font shorthand using calc() value for font-size
  • The 'font' shorthand property accepts and sets font-variant, font-size and font-family.
offset-supports-calc Script Motion Path Module Level 1: calc values
  • calc values are supported in offset properties.
subpixel-table-cell-height-001 =
  • When a cell has a specified calc height and a block box has the same specified calc height, their actual heights should match.
text-combine-upright-parsing-digits-002 DOM/JSScript CSS Writing Modes: parsing text-combine-upright with digits plus calc() computing to valid digits
  • User Agents support text-combine-upright with values `digits calc(...)` if the expression inside `calc()` computes to a valid integer, which is either 2, 3, or 4.
text-combine-upright-parsing-invalid-002 DOM/JSInvalidScript CSS Writing Modes: parsing text-combine-upright with digits plus calc() computing to invalid digits
  • User Agents ignore text-combine-upright with values `digits calc(...)` if the expression inside `calc()` computes to either numbers or out-of-range integers.
transforms-support-calc Script CSS Transform Module Level 2: calc values
  • calc values are supported in css-transforms properties.
+ 8.1.1 Syntax
+ 8.1.2 Type Checking
+ 8.1.3 Computed Value
calc-angle-values Script calc() function with angle values
  • This test checks that additions, substractions, multiplications and divisions in calc() function when applied to angle units.
calc-background-position-002 Script computed value of 'background-position' when specified with calc() function
  • This test verifies how 6 calc() functions are computed for 'background-position'.
calc-time-values Script calc() function with time values
  • This test checks that additions, substractions, multiplications and divisions in calc() function when applied to time units.
getcomputedstyle-border-radius-002 Script percentages in calc() and computed border-radius values
+ 8.1.4 Range Checking
+ 8.1.5 Serialization
+ 8.2 Attribute References: attr()