Pass | Canvas width and height attributes are used as the surface size with contain:size | Asserts runPass | assert_approx_equals(2.5, 2.5, 0.001)
at assert_ratio ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html:18:3) |
|
Pass | Canvas width and height attributes are used as the surface size | Asserts runPass | assert_approx_equals(2.5, 2.5, 0.001)
at assert_ratio ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html:18:3) |
|
Pass | Computed style test: canvas with {"width":"10","height":"20"} | Asserts runPass | assert_equals("auto 10 / 20", "auto 10 / 20")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"0","height":"1"} | Asserts runPass | assert_equals("auto 0 / 1", "auto 0 / 1")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"1","height":"0"} | Asserts runPass | assert_equals("auto 1 / 0", "auto 1 / 0")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"0","height":"0"} | Asserts runPass | assert_equals("auto 0 / 0", "auto 0 / 0")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"0.5","height":"1.5"} | Asserts runPass | assert_equals("auto 0 / 1", "auto 0 / 1")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"10%","height":"20"} | Asserts runPass | assert_equals("auto 10 / 20", "auto 10 / 20")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":null,"height":null} | Asserts runPass | assert_equals("auto", "auto")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"10","height":null} | Asserts runPass | assert_equals("auto", "auto")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":null,"height":"20"} | Asserts runPass | assert_equals("auto", "auto")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"xx","height":"20"} | Asserts runPass | assert_equals("auto", "auto")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|
Pass | Computed style test: canvas with {"width":"20","height":"xx"} | Asserts runPass | assert_equals("auto", "auto")
at Test.<anonymous> ( /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/resources/aspect-ratio.js:11:5) |
|